"wait For Page To Load For" every time trow exception?

25 views
Skip to first unread message

xeranas

unread,
Jan 5, 2011, 8:18:14 AM1/5/11
to Fitnium
Hello i'm new so it is strange on result page see exception for every
"wait For Page To Load For". Do I do something wrong?
I use simple line:
|wait For Page To Load For | 5 | seconds |

And I get:

wait For Page To Load For
----------------------------------------------
com.thoughtworks.selenium.SeleniumException: Timed out after 5000ms at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:
97) at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:
91)
...

Test not breaks (they running further after exception) but it still
confuse me. Anyone can help or explain why this happens?

Keith Sterling

unread,
Jan 6, 2011, 12:20:11 AM1/6/11
to Fitnium
Hi There, can you post more of your tests for me to look at, what are
the actions you are doing before the 'wait for page to load' command

Have you tried extending the time out period to 10 or 15 seconds just
to see if it doesn't throw an exception

Keith

Margot

unread,
Mar 4, 2011, 12:44:34 PM3/4/11
to Fitnium
Hi,
First of all, let me apologize if my English is not quite well.
I am new here. Today i started experimenting with Fitnium.
I downloaded the zip file at sourceforge.com and just unzipped it.
When i run the First Test using Slim it failed on the first check of
the title magnetic reason
I have changed the browser to iexplore, and than it works fine.

|click element |
btnG |
|wait For Page To Load For|15 |
seconds |
After i have changed wait for page to load from 5 to 15 it works also
in firefox.

For now i have 2 questions:
1. When i change the browse to iexplore, my browsers isn't closing
when the test ends. With firefox it is ok.
do i have to change anything?
2. Is there some way to put the information about the setting up the
browser in a setup page or in a suitepage.

thx in advance.
Reply all
Reply to author
Forward
0 new messages