Pause And Break Commands In Selenium IDE
Break command will halt the currently running test case, and wait for the use to press (Pause/resume) or step button to continue the execution process. It is very useful for debugging the test case, but we should be careful while using this command because it will force automated test cases to hang until a user click on (Pause/resume) or step to continue the test execution
Command | Target | Value |
open | https://www.google.co.in/ | |
pause | 3000 | |
assertElementPresent | id=gbqfq |
In the above example open command will open the google page after that pause command will stop the execution for 3 seconds, after that
break command will get executed and halts the test case execution until user press (Pause/resume) or step button
Learn More
No comments:
Post a Comment