Search code examples
testingautomationselenium-rc

waitfornottext not present in selenium rc


I am testing using Selenium RC but most of the waitforNottext etc are not present in it. Any idea why?

Am I missing something


Solution

  • If you use java and Selenium RC then can change condition to negation i.e. -

    while(count>0)
     if(!selenium.isTextPresent("text")) {
      Thread.Sleep(1000)[
     }
     count--;
    }