background image
<< Inserting a Test Suite Object | Results of a Test Suite Run >>
<< Inserting a Test Suite Object | Results of a Test Suite Run >>

Running a Test Suite

Running a Test Suite
6-5
4. To remove a script or Test Suite from the run sequence, click its name in the
Script Name column, and then click Delete.
Running a Test Suite
You can start a Test Suite run from the Test Suite Status tab or from the AutoPilot
dialog box. This section describes how to use the Status tab to start a Test Suite run
locally. For information about running a Test Suite using the AutoPilot, see Chapter
7, Using the AutoPilot.
If you run a Test Suite against an object code-instrumented AUT, TestFactory does
not automatically calculate code coverage values for the Robot scripts included in the
Test Suite. To get code coverage values for a Robot script, you must first insert the
Robot script in a customized TestFactory script, and then remove the script code that
was recorded in Robot to start the AUT.
Running a Test Suite on Your Local Machine
To start a local Test Suite run from the Status tab:
1. In the application map, click the Test Suite object.
2. In the Status tab, click Start.
3. To stop the Test Suite run before it finishes, click Stop in the Script progress bar,
or press
ALT
+
F12
.
After the Test Suite run ends, the Status tab displays summary run results for
individual scripts and Test Suites.
NOTE: If you delete a test object in the Status tab, you delete only the
pointer to the object, and not the test object itself.
NOTE: In order for TestFactory to calculate code coverage for every script in a
Test Suite, each script must start and quit the AUT. For example, if the first script
in a Test Suite starts the AUT but does not quit it, and the next script exercises a
dialog box and then quits the AUT, TestFactory only calculates code coverage for
the first script.