Using an Existing GUI Checklist in a GUI Checkpoint - WinRunner

You can create a GUI checkpoint using an existing GUI checklist. This is useful when you want to use a GUI checklist to create new GUI checkpoints, either in your current test or in a different test. For example, you may want to check the same properties of certain objects at several different points during your test. These object properties may have different expected values, depending on when you check them.

Although you can create a new GUI checklist whenever you create a new GUI checkpoint, it is expedient to “reuse” a GUI checklist in as many checkpoints as possible. Using a single GUI checklist in many GUI checkpoints facilitates the testing process by reducing the time and effort involved in maintaining the GUI checkpoints in your test.

In order for WinRunner to locate the objects to check in your application, you must load the appropriate GUI map file before you run the test.

For information about loading GUI map files, see “Loading the GUI Map File”.

To use an existing GUI checklist in a GUI checkpoint:

  1. Choose Insert > GUI Checkpoint > For Multiple Objects or click the GUI Checkpoint for Multiple Objects button on the User toolbar.
  2. The Create GUI Checkpoint dialog box opens.

  3. Click Open. The Open Checklist dialog box opens.
  4. To see checklists in the Shared folder, click Shared.
  5. To use an existing GUI checklist in a GUI checkpoint

  6. Select a checklist and click OK.
  7. The Open Checklist dialog box closes and the selected list appears in the Create GUI Checkpoint dialog box.

  8. Open the window in the application being tested that contains the objects shown in the checklist (if it is not already open).
  9. Click OK.

WinRunner captures the current property values and a win_check_gui statement is inserted into your test script.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

WinRunner Topics