5

I want my Selenium IDE case test to wait 10 secs for the element id = "successed" to appear, and fail the test if it won't happen within 10 secs

This is what I wrote;

Selenium.prototype.doWaitForElementIdToAppear = function(){
    selenium.doWaitForCondition("selenium.assertElementNotPresent(\"id=successed\")", "10000");
}

...but it never fails. Any help will be appreciated.

Artur Stary
  • 724
  • 2
  • 13
  • 30

1 Answers1

7

Solved this way, using Selenium in-build function

Selenium IDE - this is working

Artur Stary
  • 724
  • 2
  • 13
  • 30