MAQS 9.0 Update - Selectors Not Working #136
Unanswered
bobbyislamtoro
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Most of the existing css selectors are not working (same code works for MAQS 5.0 implementation)
OpenQA.Selenium.NoSuchElementException: Cannot locate option with value:
TestCleanup method Tests.UI.Enrollment.Teardown threw exception. System.ComponentModel.Win32Exception: System.ComponentModel.Win32Exception: The file exists..
Stack Trace:
SelectElement.SelectByValue(String value)
ElementHandler.SelectDropDownOptionByValue(IWebElement element, String value)
ElementHandler.SelectDropDownOptionByValue(ISearchContext searchContext, By by, String value)
Message:
Test method Tests.UI.Login.LoginIncorrectPassword threw exception:
System.TimeoutException: Timed out waiting for b__0 to return ---> System.NullReferenceException: Object reference not set to an instance of an object.
TestCleanup method Tests.UI.Login.Teardown threw exception. System.ComponentModel.Win32Exception: System.ComponentModel.Win32Exception: The file exists..
Stack Trace:
<>c__DisplayClass54_0.b__0()
GenericWait.Wait[T](Func
1 waitFor, TimeSpan retryTime, TimeSpan timeout) --- End of inner exception stack trace --- GenericWait.Wait[T](Func
1 waitFor, TimeSpan retryTime, TimeSpan timeout)AbstractLazyIWebElement.SendKeys(String text)
LoginPageModel.EnterCredentials(String userName, String password) line 155
LoginPageModel.LoginWithInvalidCredentials(UserInfo testUser) line 229
Login.LoginIncorrectPassword() line 96
TestCleanup Stack Trace
BaseUiTests.Copy(String fromPath, String toPath, Boolean deleteExisting) line 286
BaseUiTests.Teardown() line 234
BaseUiTests.Teardown() line 249
Standard Output:
text cannot be null (Parameter 'text')
at OpenQA.Selenium.WebElement.SendKeys(String text)
at OpenQA.Selenium.Support.Events.EventFiringWebDriver.EventFiringWebElement.SendKeys(String text)
at CognizantSoftvision.Maqs.BaseSeleniumTest.Extensions.AbstractLazyIWebElement.<>c__DisplayClass54_1.b__1()
at CognizantSoftvision.Maqs.BaseSeleniumTest.Extensions.AbstractLazyIWebElement.ExecuteEvent(Action elementAction, String caller)
Object reference not set to an instance of an object.
at CognizantSoftvision.Maqs.BaseSeleniumTest.Extensions.AbstractLazyIWebElement.<>c__DisplayClass54_0.b__0()
at CognizantSoftvision.Maqs.Utilities.Helper.GenericWait.Wait[T](Func`1 waitFor, TimeSpan retryTime, TimeSpan timeout)
Timed out waiting for b__0 to return
at CognizantSoftvision.Maqs.Utilities.Helper.GenericWait.Wait[T](Func
1 waitFor, TimeSpan retryTime, TimeSpan timeout) at CognizantSoftvision.Maqs.BaseSeleniumTest.Extensions.AbstractLazyIWebElement.SendKeys(String text) at Models.WebPage.LoginPageModel.EnterCredentials(String userName, String password) in C:\Source\MyTurf_Selenium_MAQS_Latest\MyTurf_Selenium_MAQS_Latest\PageModel\WebPage\Login\LoginPageModel.cs:line 155 at Models.WebPage.LoginPageModel.LoginWithInvalidCredentials(UserInfo testUser) in C:\Source\MyTurf_Selenium_MAQS_Latest\MyTurf_Selenium_MAQS_Latest\PageModel\WebPage\Login\LoginPageModel.cs:line 229 at Tests.UI.Login.LoginIncorrectPassword() in C:\Source\MyTurf_Selenium_MAQS_Latest\MyTurf_Selenium_MAQS_Latest\Tests\UI\Account\Login.cs:line 96 Object reference not set to an instance of an object. at CognizantSoftvision.Maqs.BaseSeleniumTest.Extensions.AbstractLazyIWebElement.<>c__DisplayClass54_0.<SendKeys>b__0() at CognizantSoftvision.Maqs.Utilities.Helper.GenericWait.Wait[T](Func
1 waitFor, TimeSpan retryTime, TimeSpan timeout)Beta Was this translation helpful? Give feedback.
All reactions