Refer the article New Selenium IDE – Commands (Selenese), for the complete list of Selenium IDE commands and their practical demonstrations.
echo is one of the commands in Selenium IDE.
The purpose of echo command in Selenium IDE, is to print the messages given in Selenium IDE.
Let’s get started.
New Selenium IDE – ‘echo’ command
Follow the below steps for practicing echo 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 2 in the above screen and select ‘Insert new command’ option as shown below:
3) In the inserted row, type the ‘echo’ command into the Command field and the text ‘Application opened’ into the ‘Target’ field as shown below:
4) As explained in the above two steps, insert new commands and enter ‘echo’ commands with proper messages a shown below:
5) Click on ‘Run current test’ option and observe that the execution got passed and the given echo message got printed under the Log tab as shown below:
Here concludes the practical demonstration of echo 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.
in https://ui.vision/rpa/docs/selenium-ide/echo there is color option for echo, is it applicable? i am able to use ‘echo’ in selenium command line runner, no colored though…
also, if i inject ‘echo’ command in .side file, Selenium IDE refuses to export such file to js(mocha)… any ideas?
thanks
Sorry, no idea on this.
export to js/mocha works after adding “`”targets”: [],“` to json
Sorry, no idea on this.