Here is a post about the problem.

http://exploretesting.blogspot.com/2008/09/seleniumopen-timeout-of-30000ms.html

---------------------------------------------------
If like me you've had to run your selenium tests over a slow corporate
network, then no doubt you've needed to adjust the timeouts accordingly. You
may also of noticed that the Selenium server argument of -timeout didn't fix
all your problems.

That's because this value is ignored for some operations, namely .open(*
your_url*). So even if you set the server to start with a timeout of
50000ms, Selenium will ignore this when you call the open method. By default
Selenium will use a 30000ms timeout for open unless you override it with
set_timeout(your_timeout).
----------------------------

As a result, please try to call

void setTimeout(long timeoutInMilliseconds)

before the connectUrl() command and see if it works for you.

Thanks,

Jian

On Wed, Jun 16, 2010 at 2:59 PM, super fan 911 <[email protected]>wrote:

> I thought this setting in the Tellurium.config file was supposed to
> increase the time out for the DSL commands,
>
>        //an integer number of seconds before we should give up
>        timeoutInSeconds = 30
>
> I changed it to 180 but still uses 30.
>
> One of my pages is taking more than 30secs to load  and my script
> fails when it hits connectUrl giving this error
>
> com.thoughtworks.selenium.SeleniumException: Timed out after 30000ms
>
> Where do i increase the timeout for tellurium api commands?
>
> --
> You received this message because you are subscribed to the Google Groups
> "tellurium-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<tellurium-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/tellurium-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to