You can create an accelerated functional test asset while running tests by using the
distributed test option. When you create an accelerated functional test asset, an XML file is
generated that contains the selected tests along with the browsers. You can also add more tests,
browsers, devices, and agents to extend the tests.
Before you begin
You must have created one or more Web UI tests or compound tests.
About this task
Accelerated functional testing supports two types of parallel execution. The executions are
as follows:
- Execution of a single Web UI or compound test on multiple browsers: This execution is supported
on all installed browsers such as Microsoft Internet Explorer, Microsoft Edge, Google Chrome,
Mozilla Firefox, and Apple 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 the remote agents in the XML file.
- Execution of multiple tests on multiple browsers: This execution is supported only on Mozilla
Firefox and Google Chrome browsers. It is also supported on Chrome device mode.
Procedure
- From your test navigator, select and right-click the required Web UI or compound tests for
which you want to run the distributed tests.
- Right-click the selected tests and click Run Distributed Tests. The
Run Accelerated Functional Test dialog box containing the selected tests is
displayed. which has the selected tests.
- Click Add to add more tests to the distributed test. Click
Remove to remove the required tests.
- Click Save as to rerun the same set of tests that you have selected. The
tests are saved as an accelerated functional test asset and generate an XML file that you can use to
run the distributed tests later.
Note: If you do not select the Save as check box, then the tests are not
saved as an accelerated functional asset and the distributed tests run only once.
- Click Browse to select a location to save the test asset and provide a
name for the test asset.
- Click Next.
- In the Select browser(s) dialog box, select the required browser and
click Finish.
The accelerated functional test asset starts running the XML file is now created. To execute the
accelerated functional test asset by using the XML file, complete the following steps:
- From the test navigator, right-click the accelerated functional asset XML file and click
Run Distributed Tests. The Run Accelerated Functional
Test dialog box is displayed.
- Select Re-run failed tests only the from last playback if you want to
rerun only the failed tests from the previous playback.
Note: If this option is enabled, the failed tests are rerun only on the browsers and location on
which the test failed previously.
- Click OK.
Results
The tests are distributed on the agents and these tests are executed on the specified browsers
and devices.