Running multiple Web UI and compound tests simultaneously

To maximize test coverage in the shortest possible time, you can set up distributed testing and run several Web UI tests and compound tests simultaneously on several remote computers, for several operating systems and browsers.

Before you begin

See Accelerating the test effort with distributed testing for requirements for testing on remote agents.

About this task

Any tests that you select for test execution using this feature must meet the following requirements: ​

  • Only Web UI tests and compound tests containing Web UI tests are supported.
  • Web UI tests must always start with a Launch application (not In Application) command.

    Launch application

  • The first test in the compound test must also start with a Launch application.​

Procedure

  1. In the Test Navigator, right-click a folder that contains multiple Web UI tests, compound tests, or both, and click Run Distributed Tests. (Only Web UI tests can be included in the compound tests.) If the tests reside in different folders, use multi-select to select the individual tests before right-clicking. You can also right-click a Project to select all of the Web UI tests in that project.

    Run distributed tests menu item

  2. In the Run Distribution window, review the lists of tests that are queued up for the test run. In the example below, one single test and one compound test are selected. Add or remove any other tests to run and click Next.

    Run distributed tests

    If necessary, click Configure Web UI Playback preferences to modify the Accelerated Functional Testing (AFT) preferences.

    Playback preferences

  3. Select the browser that will be used for test playback, either Google Chrome or Mozilla Firefox, and click Finish.

    Run distributed tests: Select browser

    The selected web browsers open and the test is played back. Do not do any action on the web browsers while the test is playing back. The statistical and live reports show the live data as the test is played back. You do not need to choose the same browser that was used to record the test.

Results

After the test run completes, there is a single Mobile and Web UI report for all the tests. To view a functional report, you must generate it manually by right-clicking a report in the Results folder and clicking Generate Functional Test Report. The Resources tab in the statistical report is empty because a Web UI test does not monitor resources.

Feedback