Joseph Moore says there's a pretty cool user extension somewhere out there:

http://www.josephmoore.net/2005/11/using-seleniums-waitforvalue.html

Luckily, Selenium has a feature that is horribly documented: waitForValue, which you can use in the test case directly, and waitForCondition, callable in a JavaScript-based extension. Using a combination of these, you can make your Ajax call and wait for any condition that should happen, such as the DOM changing or values updating. Why the Selenium folks don't have bright red "hey, use this for your Ajax testing!" flag on these two items is beyond me.

Does anybody know where I can find it? waitForValue is OK, but I'd love to wait for other more interesting conditions if I could...?

-Dan

      -unless you love someone-
    -nothing else makes any sense-
           e.e. cummings
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to