Display results as :

Rechercher Advanced Search


selenium does not pause

View previous topic View next topic Go down

selenium does not pause

Post by rtan 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.



Posts : 1
Join date : 2009-09-17

Back to top Go down

Re: selenium does not pause

Post by Adviser on Fri Sep 18, 2009 12:06 pm


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.

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

best of luck.



Posts : 379
Join date : 2009-07-30
Location : India

Back to top Go down

Same problem

Post by walidus 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


Posts : 1
Join date : 2010-08-16

Back to top Go down

Re: selenium does not pause

Post by angeloce 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.



Posts : 2
Join date : 2010-08-18

Back to top Go down

Re: selenium does not pause

Post by amaouada 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.


Posts : 1
Join date : 2012-02-22

Back to top Go down

Re: selenium does not pause

Post by Sponsored content Today at 1:41 pm

Sponsored content

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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