Understanding the GUI Checkpoint Dialog Boxes - WinRunner

When creating a GUI checkpoint to check your GUI objects, you can specify the objects and properties to check, create new checklists, and modify existing checklists. Three dialog boxes are used to create and maintain your GUI checkpoints: the Check GUI dialog box, the Create GUI Checkpoint dialog box, and the Edit GUI Checklist dialog box.

Note that by default, the toolbar at the top of each GUI Checkpoint dialog box displays large buttons with text. You can choose to see dialog boxes with smaller buttons without titles. Examples of both kinds of buttons are illustrated below.

To display the GUI Checkpoint dialog boxes with small buttons:

  1. Click the top-left corner of the dialog box.
  2. Clear the Large Buttons option.

Messages in the GUI Checkpoint Dialog Boxes

The following messages may appear in the GUI Checkpoint dialog boxes:
Messages in the GUI Checkpoint Dialog Boxes
The Check GUI Dialog Box

You can use the Check GUI dialog box to create a GUI checkpoint with the checks you specify for a single object or a window. This dialog box opens when you choose Insert > GUI Checkpoint > For Object/Window or click the GUI Checkpoint for Object/Window button on the User toolbar, and doubleclick an object or a window.

The Check GUI Dialog Box

The Objects pane contains the name of the window and objects that will be included in the GUI checkpoint. The Properties pane lists all the properties of a selected object. A checkmark indicates that the item is selected and is included in the checkpoint.

When you select an object in the Objects pane, the Highlight Selected Object option highlights the actual GUI object if the object is visible on the screen.

The Check GUI dialog box includes the following options:

The Check GUI Dialog Box

When you click OK to close the dialog box, WinRunner captures the current property values and stores them in the test’s expected results folder. The WinRunner window is restored and a GUI checkpoint is inserted in the test script as an obj_check_gui or a win_check_gui statement.

The Create GUI Checkpoint Dialog Box

Icon You can use the Create GUI Checkpoint dialog box to create a GUI checklist with default checks for multiple objects or by specifying which properties to check. To open the Create GUI Checkpoint dialog box, choose Insert > GUI Checkpoint > For Multiple Objects or click the GUI Checkpoint for Multiple Objects button on the User toolbar.

The Create GUI Checkpoint Dialog Box

The Objects pane contains the name of the window and objects that will be included in the GUI checkpoint. The Properties pane lists all the properties of a selected object. A checkmark indicates that the item is selected and is included in the checkpoint.

When you select an object from the Objects pane, the Highlight Selected Object option highlights the actual GUI object if the object is visible on the screen.

The Create GUI Checkpoint dialog box includes the following options:

The Create GUI Checkpoint Dialog Box

When you click OK to close the dialog box, WinRunner saves your changes, captures the current property values, and stores them in the test’s expected results folder. The WinRunner window is restored and a GUI checkpoint is inserted in the test script as a win_check_gui statement.

The Edit GUI Checklist Dialog Box

You can use the Edit GUI Checklist dialog box to modify your checklist. A checklist contains a list of objects and properties. It does not capture the current values for those properties. Consequently you cannot edit the expected values of an object’s properties in this dialog box.

To open the Edit GUI Checklist dialog box, choose Insert > Edit GUI Checklist.

Edit GUI Checklist dialog box,

The Objects pane contains the name of the window and objects that are included in the checklist. The Properties pane lists all the properties for a selected object. A checkmark indicates that the item is selected and will be checked in checkpoints that use this checklist.

When you select an object from the Objects pane, the Highlight Selected Object option highlights the actual GUI object if the object is visible on the screen.

The Edit GUI Checklist dialog box includes the following options:

When you click OK to close the dialog box, WinRunner prompts you to overwrite your checklist. Note that when you overwrite a checklist, any expected results captured earlier in checkpoints using the edited checklist remain unchanged.

A new GUI checkpoint statement is not inserted in your test script.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

WinRunner Topics