As part of explaining all the new features in the latest Selenium IDE, I will explain performing Cross-Browser Testing using Command Line Runner in Selenium IDE. (i.e. Executing the Tests in Selenium IDE in different supported browsers)
Let’s get started.
New Selenium IDE – Cross Browser Testing using Command Line Runner
Follow the below steps for executing the Selenium IDE tests in different browsers using the Command Line Runner (i.e. SIDE Runner)
1) Let’s record a sample test in Selenium IDE as shown below:
Save the project having this Test into any folder in your machine as shown below:
2) Configure the Command Line Runner (i.e. SIDE Runner) using the steps provided at the below link:
3) We can execute the following commands in the command line to specify the browser on which we want to execute our Selenium IDE tests.
selenium-side-runner -c "browserName=chrome"
selenium-side-runner -c "browserName=firefox"
selenium-side-runner -c "browserName='internet explorer'"
selenium-side-runner -c "browserName=edge"
selenium-side-runner -c "browserName=safari"
4) Let’s say if you want to execute your Selenium IDE tests on chrome browser, follow the steps provided in the below article.
5) In order to execute the Selenium IDE Tests on firefox browser, follow the steps provided in the below article.
6) In order to execute the Selenium IDE Tests on the Internet Explorer browser, follow the steps provided in the below article.
Here concludes the practical demonstration of Cross Browser Testing using Command Line Runner.
In the next article, I will practically demonstrate another new feature in the latest Selenium IDE. (new features in the latest Selenium IDE)
- > 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.