Adding Features to GUI Scripts
4. Optionally, set the Wait state options.
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.
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.