Share
View previous topicGo downView next topic
rtan
Posts : 1
Join date : 2009-09-17

selenium does not pause

on Thu Sep 17, 2009 10:19 pm
Hi there
I have everything working in my Selenium RC. I am also using a simple HTML suite and test cases. I am trying to use Selenium pause command but it is not working as it should. Here is my resulting HTML file which shows it is executing the command properly:


nfo: Executing: |click | agreementPart3 | |
info: Executing: |click | submitButton | |
info: Executing: |pause | 3000000 | |

As said, the Test Runner does not pause as you would expect. I have used all browser modes including firefox, chrome, firefoxchrome, all explorer options, safari, and opera. None work. I have tested against Firefox 3.5.3 under Windows.

Thanks
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: selenium does not pause

on Fri Sep 18, 2009 12:06 pm
hi,

try to use clickAndWait command instead of simple click and remove pause command from script. Then see will it work, If not then don't worry. Try this new user extension in your IDE and sure it will gone a work.

http://seleniumforum.forumotion.net/user-extensions-to-extend-selenium-f9/new-user-extension-regarding-wait-and-traverse-in-browser-t103.htm

You get some new command in your ide like sleep and use that to resolve the problem .

best of luck.

Bye
walidus
Posts : 1
Join date : 2010-08-16

Same problem

on Mon Aug 16, 2010 3:29 pm
Hi, I have the same problem with pause and sleep from this extension.
Selenium IDE 1.0.7
angeloce
Posts : 2
Join date : 2010-08-18

Re: selenium does not pause

on Wed Aug 18, 2010 2:37 pm
Here is my test:

type| p| 111111|
pause | 30000||
type| p| 222222|
pause | 30000||

The first pause, it works correctly. but the last pause, I found it didn't work because "play" button of selenium IDE can be clicked immediately.
I convert html format into other formats, such as Java, python, there are still two pause functions. If you would run Java or other scripts on the RC, I think there will not be such problems.

of course you'd better use "**AndWait" or "waitFor**" methods.

Smile

amaouada
Posts : 1
Join date : 2012-02-22

Re: selenium does not pause

on Wed Feb 22, 2012 4:11 pm
pause command can not be the last one performed.
Add an extra command echo to do so.
Sponsored content

Re: selenium does not pause

View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum