Deleting UI Object Components
Developing and Working with the Application Map
Pilot creates a UAW script to indicate that it encountered an unexpected active
window. (For information about UAW scripts, see Viewing a UAW Script on page
Deleting UI Object Components Associated with a Deleted
If you try to delete a UI object that has been added as a component to one or more
interaction objects, you must also delete the interaction object components.
To delete a UI object that has been added to one or more interaction objects:
1. In the application map, click the UI object to delete, and then press
If you have left the Prompt on object deletion check box selected on the
General tab of the Options dialog box, TestFactory displays a message listing up
to ten interaction objects in the application map that contain the component.
2. To delete the IU object and all of the components derived from it, click Yes.
In each interaction object that contained the component, the name of the deleted
component is displayed in gray text and Strikethrough font style. The Interaction
Method value is set to Deleted. The location of a deleted component is marked in
this way so that you can easily find it and, if necessary, replace it with a different
component. Leaving the name of a deleted component in an interaction object does
not affect mapping or testing.
If deleting a component changes the user interface exposed by an interaction object,
be sure to remap the interaction object after the deletion and before you test the
affected area of the AUT.
Running the Application Mapper from the Command Line
You can run the Application Mapper from the command line. TestFactory accepts
Application Mapper command-line arguments that let you specify the path to the
AUT, the starting object for mapping, single-level or full-depth mapping, arguments
to pass to the AUT, and the working directory for the AUT. For information about
how to run the Application Mapper from the command line, see the Appendix, Using
TestFactory Command-Line Arguments or see the topic Mapping command line arguments
in TestFactory Help.