Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I'm using the selenium ide to create test cases.

Will the "AndWait" commands wait for an ajax operation to complete? Is there a specific command that can help with this?

I prefer to use the selenium ide to create the tests as much as possible, I've seen How do you wait for jQuery Ajax calls to complete in Selenium 2 which is similar to what I'm asking but I'm not using c# at this point.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Explicit and Implicit Waits

  • wait.until(condition)
  • waitForElementPresent(locator)
  • driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

More information here: Advanced Webdriver Usage with "implicit waits"

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.