Overview
A "Pilot" is the Rational TestFactory tool that you can use to generate test scripts. A Pilot generates scripts that
test the functionality of the controls in the application-under-test (AUT) that are represented by UI objects in an
area of the application map. For information about developing the application map, see Tool Mentor: Setting Up the Test Environment in Rational TestFactory.
This tool mentor is applicable when running Windows 98/2000/NT 4.0.
To use Rational TestFactory to generate test scripts automatically:
-
Add a Pilot to the application map
-
Set up and run the Pilot
You can add a Pilot object at any location in the application map. From there, the Pilot automatically generates test
scripts that focus on the specific functional area of the AUT corresponding to that portion of the application map.
To determine a part of the application that you want to test, see the first task in Tool Mentor: Capturing the Results of Test Design for Automated
Testing.
Refer to the following
topics in Rational TestFactory online Help:
-
Pilots: What they are and how they work
-
Effective Pilot placement
-
Add a Pilot
When you set up the Pilot, you indicate the values and options that control how the Pilot runs. The setup information
that you can specify includes:
-
The depth in the application map to which the Pilot must test.
-
The criteria that Rational TestFactory uses to stop the Pilot run.
-
Additional UI objects in the application map that you want to include in the test.
-
UI objects under the Pilot's control that you want to exclude from testing.
During a Pilot run, a Pilot builds an optimized "best script" that provides extensive code-based test coverage and
contains no redundant script code.
A Pilot also generates a "UI script" that is optimized for UI-based test coverage. In successive builds of the AUT, you
can run UI scripts as a simple smoke test to check controls in the user interface.
Every time you run a Pilot, Rational TestFactory adds a new "run" folder under the Pilot in the application map. The
run folder contains the test scripts that the Pilot generates. If the Pilot encounters defects during its run,
TestFactory places the defect test scripts in a "defects" subfolder under the run folder.
Refer to the following
topics in Rational TestFactory online Help:
-
Pilot view
-
Set up a Pilot run
-
Run a single Pilot
|