timeouts for strange reasons

Have you ever been in situations when your selenium RC test times out after the command, the page is loaded but selenium just tells you that it has timed out after 30000ms.

I had same problem in Java today when i got the selenium RC 1.0.3 and i fixed the problem by setting the selenium timeout to be “0”. so i have done

public void setUp(){
selenium = new DefaultSelenium(“localHost”, 4444, “*iexplore”, url);

and then i have used a waitForPageToLoad in each of the selenium methods that needs to wait - open, click …..;

Hopefully you find this useful.

You Might Also Like
comments powered by Disqus