Running suites on multiple browsers and devices
You can now configure a test suite to run across multiple web browsers and supported devices in one consolidated run. Instead of managing separate test runs for each browser and device, you can define all of your target browsers and devices within the configuration of the test suite. This simplifies cross-browser validation, saves time, and provides comprehensive report.
Before you begin
You must have completed the following tasks:
- Ensured that you are assigned a Team Space Owner, Project Owner, or Member with a Tester role to create or edit a test resource.
- Ensured that a suite is available in your project.
- Added tests or other suites to the suite.
About this task
You can select the following browsers that are supported for cross-browser
testing:
- Chrome
- Firefox
- Edge
- Safari
Also, you can select the following device profiles that are supported:
When the suite runs, all the tests in the suite run sequentially for each
selected browser or device.
| Device profile | Default browser |
|---|---|
| Phone (Small) | Edge |
| Phone (Medium) | Chrome |
| Phone (Large) | Edge |
| Phone (X-Large) | Chrome |
| Tablet (Small) | Edge |
| Tablet (Medium) | Chrome |
| Tablet (Large) | Edge |
| Tablet (X-Large) | Chrome |
Procedure
-
Log in to Test Hub.
The Projects page of the initial team space is displayed.
-
Click to open the project that contains the test assets.
The Overview page of the project is displayed.
-
Click .
The Test Editor page and the test navigator panel are displayed.
-
Click the .dts.yaml file in the list of Suites to open the
suite.
The tests or suites are displayed on the Suite Editor page.
-
Click the Configure settings and data step.
The Settings pane is displayed.
- Select the required browser and device profiles from the Profile drop-down list.
-
Click
to close the step details pane.
-
Click
to save the changes.
-
Click the Try Now icon
, and then select the Run all option.
The Results tab displays the progress of the test run. After the test run is complete, the tab displays the verdict and links to view the functional report, test log, and results page.Alternatively, you can select the Run with option to choose specific browsers. You can select one or multiple browsers. The suite runs only on the selected browser for that run.
-
Click the Functional Report
icon to open the report in a separate window.
The functional report displays the results of the test run for each configured browser.