Running Web UI tests as an AFT Suite on BrowserStack Cloud

After you create an AFT Suite for Web UI tests, you can run the AFT Suite on devices connected to the BrowserStack Cloud to accelerate the test efforts.

Before you begin

You must have completed the following task:

Procedure

  1. Open the UI Test perspective in Test UI if it is not already open.
  2. Select the project that contains the AFT Suite in the Test Navigator pane.
    The AFT Suite that you created for the Web UI tests is located in the Accelerated Functional Tests folder.
  3. Expand the contents of the Accelerated Functional Tests folder to view the AFT XML that is displayed with the name you provided.
  4. Right-click the XML file of the AFT Suite, and then click Run Distributed Tests.
    The Run Accelerated Functional Test dialog is displayed.
    Note: If you repeat the AFT Suite run because the previous run failed, the Re-run failed tests only from the last playback option is available for selection. When you select this option, the AFT Suite is run on the devices and location on which it previously failed.
  5. Click OK.

Results

You have run the Web UI tests that are in an AFT Suite. The tests run on mobile devices that are connected to the cloud from the location you configured.

The test result is displayed as a unified report in Test UI.

What to do next

You can view the unified report and choose to export the report. See Unified reports.