With Leapwork users can run multiple flows at the same time in different machines by executing them in parallel or users can run the test pairwise where each flow will run on all selected environments to test all possible discrete combinations, here is how parallel and pairwise testing can be conducted using Leapwork.
To incredibly cut down on overall test execution time, we can run these flows in parallel. for that, you need to select "Run Flow once" from the Environments drop-down menu. For detailed steps, refer the below screenshots:-
Step 1: Make sure you have multiple similar agents created under the Agents tab.
Step 2: Create a new Run Lists, enter its title, and click on Add flows to select multiple flows to run.
Step 3: Then click on Schedule and Navigate to the 'Agents' tab and select more than 1 agent where we want the execution of flows to take place and select the flow sequence as "Run In Order" from the Flow Sequence drop-down menu
In a schedule, if more than one agent is selected, then Agent distribution drop-down menu is enabled which allows you to select the option 'Divide flows' With this option selected it will execute all flows only once in selected agents and these flows will be executed in parallel.
For example, if you have 2 flows selected along with 2 available agents, then one flow will be executed in each of the 2 agents resulting in a total of 2 flows getting executed.
To run flows as part of pairwise testing you need to select "All Flows" from the Agent Distribution drop-down menu. For detailed steps, refer the below screenshots:-
Step 1: Make sure you have multiple similar Agents created under the Agents tab.
In a Schedule, if more than one Agent is selected, then the Agent distribution drop-down menu is enabled which allows you to select the option 'All flows'. With this option selected Leapwork will execute all flows only once in selected Agents and these flows will be executed in parallel.
For example, if you have 3 flows selected along with 3 available Agents, then each of the flows will be executed on each Agent, which results in a total of 9 flows executed.
For any clarification, please contact our Priority Support.