As part of explaining all the new features in the latest Selenium IDE, I will explain executing Tests on Firefox browser using Command Line Runner in Selenium IDE.
Let’s get started.
New Selenium IDE – Executing Tests on Firefox browser using the command line runner
Follow the below steps for executing the Selenium IDE tests in firefox browser 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) If not configured, configure the Command Line Runner (i.e. SIDE Runner) using the steps provided at the below link:
Note1: We have to install the gecko driver in the command line as explained in the above article.
3) If we have to execute Selenium IDE Tests on Firefox browser, we have to execute the below command in command line runner:
selenium-side-runner -c "browserName=firefox" C:\Users\arunm\Desktop\Projs\Project1.side
Note: The above command provides the browser on which the test to be executed (i.e. Firefox), followed by the Path of the Selenium IDE saved Test file to be executed.
Observe that the Selenium IDE Test will be executed in the Firefox browser as shown below:
Once the Selenium IDE test is executed completely on Firefox browser, the test results will be displayed as shown below:
Here concludes the practical demonstration of executed Selenium IDE tests on Firefox Browser 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.