background image
<< Inserting a Call to Another Script | To insert a File Comparison >>
<< Inserting a Call to Another Script | To insert a File Comparison >>

Inserting Verification Points

Adding Features to GUI Scripts
3-6
2. Click the Call Script button on the GUI Insert toolbar.
3. Select a GUI script from the list.
4. Do one of the following:
­
Select Run Now if the script being recorded depends on the state in which
the called script leaves the application-under-test. If this check box is
selected, Robot adds the script call to the recording script and immediately
plays back the called script when you click OK.
­
Clear Run Now if the called script starts and ends at the same point in the
application-under-test, so that the script being recorded does not depend on
the called script. If this check box is cleared, Robot adds the script call to the
recording script but does not play back the called script when you click OK.
5. Click OK to continue recording or editing.
You can also group your scripts into a shell script. For information, see Creating Shell
Scripts to Play Back Scripts in Sequence
on page 2-25.
Inserting Verification Points
A verification point is a point in a script that you create to confirm the state of an
object across builds. During recording, the verification point captures object
information and stores it as the baseline. During playback, the verification point
recaptures the object information and compares it with the baseline.
Select the
script to call.
Select to run the
called script when
you click OK.
NOTE: This section gives an overview of how to insert a verification point. For
detailed information about verification points, see Chapter 4, Creating Verification
Points in GUI Scripts
.