background image
<< Specifying a Delay Interval | Specifying a Required String Case >>
<< Specifying a Delay Interval | Specifying a Required String Case >>

Specifying a Wait Interval

Automatically Generating Scripts
5-50
Specifying a Wait Interval to Apply to an Object During Testing
If a functional area of the AUT requires some lag time to respond after a control is
exercised, you can use the WaitInterval property to force TestFactory to wait a
specified number of seconds after exercising the control before it continues testing.
To force a wait interval after a Pilot exercises a control in the AUT:
1. In the Properties view or Property list dialog box, expand the Shared
properties group.
2. Click the Value field for WaitInterval, and then type a value, in seconds, for
Pilots to wait after exercising the control before continuing to test.
After a Pilot exercises a control, TestFactory waits until the number of seconds
specified for the WaitInterval property elapses, or until the Timeout after value set
in Robot elapses--whichever is greater--before it continues. If you specify a
WaitInterval value that is higher than the 30-second default Timeout after value in
Robot, then TestFactory sets the Robot Timeout after value to the higher value
when a script that exercises the object is played back. Otherwise, the default
Timeout after value is used.
Value field for the WaitInterval property
NOTE: Unlike the DelayInterval value, the WaitInterval value is not encoded in
Pilot-generated scripts. If you start Robot and open and play back a script that
includes UI objects for which you have specified a WaitInterval, Robot cannot
apply the wait interval.For information about specifying a wait interval value for
an object in the application map, see TestFactory Help.