Reputation
Top tag
Next privilege 20 Rep.
Talk in chat
Badges
3
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Aug
10
comment Selenium error in NUnit C#
Great, your method work. However I need a better/more reliable solution. For example, to be able to "detect" the new ajax page. e.g: check if (IsElementPresent("link=ajaxLink")) is true, if FALSE, then loop back around and try again. if TRUE, we know that the new ajax page is loaded, then we break the loop and then we can assertTrue(selenium.IsTextPresent("openqa.org)". BUT the PROBLEM is how do we know the "ajaxLink" in the first place? Please refer to my edited post (edit #3).
Aug
7
comment Selenium error in NUnit C#
I tried your suggestion but I still got the same error message. I need to MANUALLY refresh the page to get pass "selenium.WaitForPageToLoad("60000")" in order to be successful.