These two steps are quite useful when your tests are not running and you want to execute a specific command.
Highlight a command.
Press the X key: This will make the command execute in the Selenium IDE.
When a test is running, you can click on the Pause button to pause the test after the step that is currently being run. Once the test has been paused, the Step button is no longer disabled and you can click on it to step through the test as if you were stepping through an application.
If you are having issues with elements on the page, you can type in their location and then click on the Find button. This will surround the element that you are looking for with a green border that flashes for a few seconds.
The echo
command is also a good way to write something from your test to the log. This is equivalent to Console.log
in JavaScript.