HomeSelenium

New Selenium IDE – Parallel Execution of Tests using Command Line Runner

New Selenium IDE – Parallel Execution of Tests using Command Line Runner

As part of explaining all the new features in the latest Selenium IDE, I will explain performing parallel execution of Tests using Command Line Runner in Selenium IDE.

In Selenium IDE, if we have to execute the tests in a suite in parallel, you cannot directly perform parallel execution using the Selenium IDE. Instead, parallel execution of Selenium IDE tests is only possible when we execute them from the Command Line Runner (i.e. SIDE Runner).

In this article, I will explain practically the steps for parallel execution of Selenium IDE tests using Command Line Runner (i.e. SIDE Runner).

Let’s get started.

New Selenium IDE – Parallel Execution of Tests using Command Line Runner

Follow the below steps for executing the Selenium IDE tests in parallel using the Command Line Runner (i.e. SIDE Runner)

1) Create a Project in Selenium IDE say ‘Project1’, add a Test Suite say ‘Suite1’  and add multiple tests under the Test Suite say ‘Test1’ and ‘Test2’ with recorded steps as shown below:

Parallel Execution Selenium IDE - Complete Suite

2) Hover the mouse on the ‘Suite1’ Test Suite, select three dots and select the ‘Settings’ option as shown below:

Parallel Execution Selenium IDE - Suite Settings

3) In the displayed ‘Suite Properties’ dialog, select ‘Run in parallel’ checkbox option as shown below and click on ‘Submit’ button:

Parallel Execution Selenium IDE - Suite Properties

Note: Under the above-selected checkbox option, it clearly states that ‘Running in parallel works only in the runner’ (i.e. Selenium IDE Command Line Runner – SIDE Runner)

4) Save the Project in your machine as shown below:

Parallel Execution Selenium IDE - Saved Project

5) If not configured already, 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) 

5) Execute the above-saved project using the SIDE Runner as shown below:

selenium-side-runner C:\Users\arunm\Desktop\Projs\Project1.side

 

Observe that two tests inside the executed Project got executed parallelly as shown below:

Parallel Execution Selenium IDE - executed parallely

Once the Tests got completed execute, the results will be displayed in the command line as shown below:

Parallel Execution Selenium IDE - execution result

Here concludes the practical demonstration of Parallel Execution of Tests 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