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:
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:
3) Click on ‘Run current test’ option as shown below:
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:
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 ?
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.