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:
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
When the suite runs, all the tests in the suite run sequentially for each selected browser or device.

Procedure

  1. Log in to Test Hub.
    The Projects page of the initial team space is displayed.
  2. Click My projects > project_name to open the project that contains the test assets.
    The Overview page of the project is displayed.
  3. Click Author > Test Editor.
    The Test Editor page and the test navigator panel are displayed.
  4. 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.
  5. Click the Configure settings and data step.
    The Settings pane is displayed.
  6. Select the required browser and device profiles from the Profile drop-down list.
  7. Click Close to close the step details pane.
  8. Click Save to save the changes.
  9. Click the Try Now icon 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.

  10. Click the Functional Report 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.

Results

You have run the test suite on multiple browsers and devices.