background image
<< Excluding Controls from Testing | Restoring the Default Property Values >>
<< Excluding Controls from Testing | Restoring the Default Property Values >>

The ExerciseDuringTesting property

Automatically Generating Scripts
5-56
To exclude a control from testing during all Pilot runs, you can modify the value of
the ExerciseDuringTesting property for the UI object mapped for the control.
To exclude a control from all testing:
1. In the application map, click the UI object mapped for the control that you do
not want to test.
2. In the Properties view, click Pilot.
3. Click the Value field for ExerciseDuringTesting, and then select Never.
4. If the UI object mapped for the control that you want to exclude from testing
has been added as a component to one or more interaction objects, do one of the
following for every interaction object that contains the component:
­
Exclude the component from testing.
­
Exclude the interaction object that contains the component from testing.
If the project contains a UI script or best script that touches a control that you
exclude from testing, and you run the script while the exclusion is in effect, the run
will fail. We recommend that you do not run scripts such as these as long as the
control is excluded from testing. If you plan to permanently exclude a control from
testing, then delete or edit the scripts that exercise the control.