background image
<< To insert a File Comparison | Uses for Timers >>
<< To insert a File Comparison | Uses for Timers >>

Inserting Timers

Adding Features to GUI Scripts
3-8
4. Optionally, set the Wait state options.
The wait state specifies how often Robot should retry the verification point until
it passes or times out, and how long Robot should keep trying the verification
point before it times out. (For more information, see Setting a Wait State for a
Verification Point
on page 4-8.
)
5. Optionally, set the Expected result option.
When you create a verification point, the expected result is usually that the
verification point will pass -- for example, that a window does exist during
playback. However, you can also indicate that you expect the verification point
to fail -- for example, that a window does not exist during playback. (For more
information, see Setting the Expected Result for a Verification Point on page 4-9.)
6. Click OK.
Inserting Timers
Robot lets you insert start timer and stop timer commands to record and write to the
log the duration of events in a script. A timer measures the time it takes to perform
an activity. For example, you may want to record the time required to perform a
database transaction on a remote server or how long it takes the same verification
point to execute on client machines with different hardware configurations.