HomeSelenium

New Selenium IDE – Executing Tests on Firefox browser using the command line runner

New Selenium IDE – Executing Tests on Firefox browser using the command line runner

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:

Configuring SIDE Runner - recorded test

Save the project having this Test into any folder in your machine as shown below:

Configuring SIDE Runner - save project

2) If not configured, configure the Command Line Runner (i.e. SIDE Runner) using the steps provided at the below link:

New Selenium IDE – Configuring Command Line Runner (SIDE Runner) 

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:

Firefox Browser Selenium IDE - executing

Once the Selenium IDE test is executed completely on Firefox browser, the test results will be displayed as shown below:

Firefox Browser Selenium IDE - results

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)

Next Steps:

  • > Check complete Selenium Tutorial Contents here (Click here)

Please leave your questions/comments/feedback below.

Happy Learning ?

About Me > Arun Motoori

On a mission to contribute to the Software Testing Community in all possible ways.

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

For FREE Testing Tutorials & Videos

X
Open chat
Contact Us on Whatsapp