Share
Go down
avatar
marc.ferguson
Posts : 3
Join date : 2013-03-29

waitForPageToLoad, not really waiting...

on Fri Mar 29, 2013 11:41 pm
Hi,

I'm new to Selenium IDE so this could possibly be a User issue. I have a clickAndWait command followed by a waitForPageToLoad with 6000 in the target. If I understand correctly this should have sIDE wait for 6 seconds before executing the next command. If that's the case then it's not working. Thanks for any help.

I'm running OS X (mountain lion), Firefox 19.0.2, and Selenium IDE 1.10.0. I also tried it in my Windows 7 VM running Firefox 19.0.2.
nb3003
Active particpant
Active particpant
Posts : 11
Join date : 2013-03-12
Location : chennai

Re: waitForPageToLoad, not really waiting...

on Mon Apr 01, 2013 4:41 pm
Though it s given as millisecond, it wil work only if v give one zero extra. lik selenium.waitForPageToLoad("60000"); Im nt sure of reason
avatar
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA
http://radical-qa.blogspot.in/

Re: waitForPageToLoad, not really waiting...

on Mon Apr 01, 2013 4:44 pm
6000 is timeout period..till this time, if page doesn't load then it will return error..
If page load within 1 sec then next command will execute..It will not wait for 6 sec for next command to execute.

_________________
Radical QA
http://radical-qa.blogspot.in/
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 33
Location : Denver, CO

Re: waitForPageToLoad, not really waiting...

on Mon Apr 01, 2013 9:26 pm
If you want it to wait 6 seconds use the Pause command instead
avatar
marc.ferguson
Posts : 3
Join date : 2013-03-29

Re: waitForPageToLoad, not really waiting...

on Tue Apr 02, 2013 4:37 am
ccox wrote:If you want it to wait 6 seconds use the Pause command instead
Thank you; the "pause" command did exactly what I wanted it to do.
Sponsored content

Re: waitForPageToLoad, not really waiting...

Back to top
Permissions in this forum:
You cannot reply to topics in this forum