I have the following problem...
For a while now i noticed a bug in isElementPresent function in selenium RC 2.0a5.
It works only half of the time or so.
I have wait before it i have pageload before it and i made sure that the id is NOT dynamically generated. Still...
I do a waitForElementToAppear which is implemented using the Waiter in Selenium... http://release.seleniumhq.org/selenium-remote-control/0.9.0/doc/java/com/thoughtworks/selenium/Wait.html
And then when i开发者_开发问答'm trying to use the element OR doing an isElementPresent check... It sometimes fails to use that element although i do have a screenshot of it being there..
Also i tried using Thread.sleep to wait out. It sometimes works, sometimes not.
So do you guys encountered the same problem too?
Current Selenium RC version is 1.0.3. What you are using is a WebDriver remote server, so you shouldn't use it with your Selenium RC tests - stay on RC 1.0.3. Selenium Server 2.0a5 is for the RemoteWebDriver. And also 2.0a5 is Alpha release, so you should expect bugs
精彩评论