background image
<< Timing Events for a Class or Subclass | Reclassifying a Generic Object >>
<< Timing Events for a Class or Subclass | Reclassifying a Generic Object >>

Timing Events for a Single Control

Developing and Working with the Application Map
4-62
Timing Events for a Single Control During Mapping
To control the timing of events for a single control in the AUT during mapping,
you can set the WaitInterval property for the corresponding UI object in the
application map.
To set the WaitInterval property for a single control in the AUT:
1. In the application map, click the UI object mapped for the control in the AUT.
2. In the Properties view, click Shared.
3. Click the Value field for WaitInterval, and then type in the number of seconds
for TestFactory to wait after it exercises the control.
4. To use the WaitInterval value as the absolute wait time, instead of the minimum
wait time, click Application Mapper in the Properties view, and then change the
UseWaitForIdle property value to No.
You can also change the timing of events for a single control by setting a WaitInterval
value for the action used to exercise the control. For example, after a user left-clicks
a command button in the AUT, a dialog box opens, but only after a 15-second delay.
To adjust the timing for this delay during mapping, you could either set a
WaitInterval value for the control button UI object, or you could set a WaitInterval
value for the LeftClick action object mapped just above the dialog box object.
The following table shows how TestFactory imposes the wait interval based on
whether you set the value for a UI object or action object in the application map, or
for an object class or action class in the UI library.
WaitInterval property value set for
Affects
A UI object in the application map
Only the specific UI object
An action object in the application map
The specific action object and its top-level
child UI object in the application map
A UI object class in the UI library
All UI objects in the application map that
belong to the object class
An action object class in the UI library
All top-level child UI objects in the application
map that respond to the action