HomeSelenium

New Selenium IDE – Using ‘pause’ command

New Selenium IDE – Using ‘pause’ command

Refer the article New Selenium IDE – Commands (Selenese), for the complete list of Selenium IDE commands and their practical demonstrations.

pause is one of the commands in Selenium IDE.

The purpose of the pause command is to pause the execution of Selenium Test for the required time.

In this article, I am going to practically demonstrate pause commands in Selenium IDE for pausing the execution for the required period of time as shown below:

pause Selenium IDE - demo

Let’s get started.

New Selenium IDE – pause command

Follow the below steps for practicing pause command in Selenium IDE along with me:

1) Let’s write the below code in Selenium IDE to pause the executed for 10 seconds (i.e. 10000 milliseconds) before Searching for QAFox in http://omayo.blogspot.com/

[su_table alternate=”no”]

Command Target Value
open http://omayo.blogspot.com/
type name=q QAFox
pause 10000
click xpath=//input[@value=’Search’]

[/su_table]

After incorporating the commands in the above table, Our Selenium IDE should look like below:

pause Selenium IDE - typing

3) Click on ‘Run current test’ option as shown below:

pause Selenium IDE - run

4) Observe that the test will be passed and the test execution will be paused for 10 seconds before performing the search operation as shown below:

pause Selenium IDE - executed

Here concludes the practical demonstration of pause command in Selenium IDE for pausing the execution in Selenium IDE for the required period of time.

In the next article, I will practically demonstrate another Selenium IDE command.

Next Steps:

  • > Check complete Selenium Tutorial Contents here (Click here)

Please leave your questions/comments/feedback below.

Happy Learning ?

About Me > Arun Motoori

On a mission to contribute to the Software Testing Community in all possible ways.

Refer the article New Selenium IDE – Commands (Selenese), for the complete list of Selenium IDE commands and their practical demonstrations.

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

For FREE Testing Tutorials & Videos

X
Open chat
Contact Us on Whatsapp