background image
<< Inserting an Interaction Object | Interaction Object toolbar >>
<< Inserting an Interaction Object | Interaction Object toolbar >>

Adding UI Object Components

Developing and Working with the Application Map
4-26
After you insert an interaction object in the application map, the Interaction Object
view in the top right pane lists the parent component that you selected in the
application map.
You cannot move the parent component that you select for the interaction object.
The parent component is always the last component listed and the last component
that TestFactory exercises as it maps and tests the interaction object.
Adding UI Object Components to an Interaction Object
The components that you add to an interaction object must meet the following two
requirements:
þ
A UI object that you add as a component to an interaction object must be located
in the same window as the parent UI object for the interaction object.
þ
UI object components within the same interaction object must not lead to
different paths in the AUT. If you add two UI object components that represent
controls that lead to different areas of the AUT, an error occurs after you start
mapping the interaction object, and mapping stops.
The following figure illustrates part of the application map for the Classics sample
application. The interaction object inserted at the Place Order button object can
include components for any of the controls mapped under the Make an Order
window object on this branch of the map.
To add a UI object component to an interaction object, do one of the following:
1. To add a component from the Image view in the bottom right portion of the
window, use the scroll bars in the Image view to display the image of the
component that you want to insert.
2. In the Interaction Object view, click the component above which you want to
add a new component.
The Interaction Object view lists the
parent of the interaction object as the
first component.
Make An Order window object
Possible interaction object components
The Place Order button object is the parent of the
interaction object.