On Jun 29, 2007, at 8:13 AM, Simon McLean wrote:
Hi All -
I have some selenium tests that work when I "walk" through them,
but fail when i "run" through them.
Has anyone else seen this behavior ? Any known workarounds ?
Thanks, Simon
ps. i am using Selenium IDE with chuck's wolocators.js IDE
extensions, not ERSelenium
The problem you are seeing is that when running the tests, it can go
much faster that you can as a person and much faster than the IDE
walkthrough. What this does is to expose concurrency bugs and lack
of synchronization in your tests. Adding a waitFor... step in the
tests or the occaisional sleep command will avoid these. If your app
is slow, you might also get timeout errors. Use setTimeout to set a
realistic amount of time to wait.
Post some real examples and I will show you how I would fix them.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]