Refer the article New Selenium IDE – Commands (Selenese), for the complete list of Selenium IDE commands and their practical demonstrations.
Debugging in simple terms is the process of identifying and fixing the issues in any Software Code (Example: Development code, Test Automation code, etc.).
debugger is one of the commands in Selenium IDE.
The purpose of debugger command in Selenium IDE, is to pause the execution of the Selenium IDE Automation script for debugging purpose (i.e. for identifying the root cause of any problem and rectifying it)
Let’s get started.
New Selenium IDE – ‘debugger’ command
Follow the below steps for practicing debugger command in Selenium IDE along with me:
1) Record any test in Selenium IDE say searching for QAFox in http://omayo.blogspot.com/ and stop the recording to the get the below steps recorded in Selenium IDE:
2) Right-click on any step say step 4 in the above screen and select ‘Insert new command’ option as shown below:
3) In the inserted row, type the ‘debugger’ command as shown below and click on the ‘Run current test’ option:
4) Observe that the execution will pause during the ‘debugger’ step as shown below:
5) Once you are done with your investigation, you can click on ‘Run current test’ command’ option to continue the execution:
Here concludes the practical demonstration of debugger command in Selenium IDE.
In the next article, I will practically demonstrate another Selenium IDE command.
Next Steps:
- > To learn more about Selenium, continue to the next post (Click on Next Post link below)
- > 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.