One more thing.

We also have a problem with tests hanging on clickAndWait or typeAndWait.

The problem is that our pages have javascript validation. These actions only result in a post if the javascript validates. We have tests that hang because the data fails the validation. The clickAndWait is waiting for a page load that will never happen.

Any suggestions on how to handle this problem?

One idea we are considering is to add a timeout to these commands, probably to be controlled by a specially named Selenium variable. Any suggestions regarding naming conventions? Any other ideas?

Bret

P.S. This is not a problem with Watir. It only has one click command and it automatically waits when it should.


_____________________
 Bret Pettichord
 www.pettichord.com

_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel

Reply via email to