Monday, March 12, 2007

GUI Checkpoint Tips

GUI Checkpoint Tips
• You can create a single GUI checkpoint in your test that checks several or all
objects in a window. Choose Create > GUI Checkpoint > For Multiple Objects.
The Create GUI Checkpoint dialog box opens, which enables you to add objects
to the GUI checkpoint and to specify the checks you want to perform on those
objects. When you finish creating the checkpoint, WinRunner inserts a
win_check_gui statement into the test script, which includes a checklist for the
selected objects.
• For overnight test runs, you can instruct WinRunner not to display a message
when a GUI mismatch is detected. Choose Settings > General Options. In the
General Options dialog box, click the Run tab, and clear the Break when
verification fails check box. This enables the test to run without interruption.

For more information on setting test run options, refer to the "Setting Global
Testing Options" and "Setting Testing Options from a Test Script" chapters in the
WinRunner User’s Guide.
• If you want to create new expected results for a GUI checkpoint, run the test in
Update mode. WinRunner overwrites the existing expected GUI data with new
data captured during the Update run.