User Guide
10 Working with QuickTest Professional
The following example shows a Flex Button control in the QTP Repository Editor:
When you run a test and interact with a Flex control, QTP does the following:
1. Identifies the test object class that your Flex object maps to.
2. Reads the current state of the object and stores its list of description properties and values.
3. Assigns a unique ID to use to identify the object in the scripts. QTP can use one or more
of the description properties that might be based on the appearance of the Flex control
(such as a Button’s label) or on the Flex
id of the control.
4. Records operations that you perform on the object by using the appropriate test object
method.
When a test runs, QTP stores component properties as name-value pairs. QTP only stores
properties that are needed for identification in the object repository. These properties include
id and index. You can use checkpoints, data tables, and other methods to store and retrieve
other object properties, such as the value of a TextInput control’s text or the color of a Button
control’s background.
Test object name
Test object
model class
Flex properties
used to identify
this object
Application hierarchy