Back to QMetry All Products Help Page
How to execute a test cases on multiple browser in a parallel session?
This article aims to explain how users can execute test cases on multiple browsers in a parallel session. Please follow the below-mentioned steps to achieve the same:
Step 1: You need to add/update the following tags in the config/web_config.xml file in your QAS project. Find an attached example of web_config.xml for your use case below:
Modify Tag1: Add parallel="tests"
attribute to suite
tag.
Modify Tag 2: Define the driver name of the browser using tag <parameter name="driver.name" value="driver name"/>
inside test
tag. For each browser, there should be a separate test tag.
Refer QAF help link to check the possible values for the 'driver.name' property and attached web_config.xml for example.
For all the above browsers, the webdriver path should be mentioned in the resources/application.properties file of your project. Refer to the attached screenshot below.
Step 4: Save the file and navigate to your scenarios > test_case.feature file and execute the code using the terminal or the Execute code button as shown below:
For any further queries, please contact QMetry Support.
Back to QMetry All Products Help Page