Creating accelerated functional test asset

While running tests using the distributed test option, you can create an accelerated functional test asset. When you create an accelerated functional test asset, an XML file is generated which contains the selected tests along with the browsers. Further, you can add more tests, browsers, devices, and agents to extend the tests.

Before you begin

You must have created one or more WebUI tests.

Procedure

To create accelerated functional test asset, perform the following steps:

  1. Select one or more WebUI or compound tests for which you want to run the distributed tests.
  2. Right-click the tests and click Run Distributed Tests. In the Run Accelerated Functional Test dialog box, the selected tests are displayed.
    Note: You can also add or remove tests from the list. To add a test, click Add. To remove tests, select the test and click Remove.
  3. To add more tests, click Add. To remove tests, select the test and click Remove.
  4. Select the Save as check box to rerun the same set of tests that you have selected. This generates an XML file which you can use to run the distributed tests.
    Note: If you do not select the Save as check box, then the tests will not be saved as accelerated functional asset and the distributed tests will run only once.
  5. Click Browse to select a location to save the test asset and provide a name for the test asset. Click Finish.
  6. In the Select browser(s) dialog box, select one or more browsers and click Finish.

What to do next

You must execute the accelerated functional test asset by performing the following steps:
  1. Right-click the accelerated functional test asset and click Run Distributed tests.
  2. In the Run Accelerated Functional Test dialog box, click Yes. The tests are distributed on the agents and these tests are executed on the specified browsers and devices.
    Note: Accelerated functional testing supports two types of parallel execution . The executions are as follows:
    • Execution of single WebUI or compound test on multiple browsers - This execution is supported on all the installed browsers such as Microsoft Internet Explorer, Edge, Chrome, FireFox, Safari simultaneously. This combination can be specified in the XML file to execute the tests locally as well as remotely. If you want to execute the tests remotely, you must specify remote agents in the XML file.
    • Execution of multiple tests on multiple browsers - This execution is supported on Firefox and Chrome browser (includes device mode) only.
Note: To run an accelerated functional test from command line, see Running a Test or Schedule from the Command Line.
Feedback