Modifying GUI Checklists - WinRunner

You can make changes to a checklist you created for a GUI checkpoint. Note that a checklist includes only the objects and properties that need to be checked. It does not include the expected results for the values of those properties.

You can:

  • make a checklist available to other users by saving it in a shared folder
  • edit a checklist

Saving a GUI Checklist in a Shared Folder

By default, checklists for GUI checkpoints are stored in the folder of the current test. You can specify that a checklist be placed in a shared folder to enable wider access, so that you can use a checklist in multiple tests.

The default folder in which WinRunner stores your shared checklists is WinRunner installation folder/chklist. To choose a different folder, you can use the Shared checklists box in the Folders category of the General Options dialog box.

To save a GUI checklist in a shared folder:

  1. Choose Insert > Edit GUI Checklist.
  2. The Open Checklist dialog box opens. Note that GUI checklists have the .ckl extension, while database checklists have the .cdl extension. For information on database checklists, see “Modifying a Standard Database Checkpoint,”.

  3. Select a GUI checklist and click OK.
  4. The Open Checklist dialog box closes. The Edit GUI Checklist dialog box displays the selected checklist.

  5. Save the checklist by clicking Save As.
  6. The Save Checklist dialog box opens.

    To save a GUI checklist in a shared folder

  7. Under Scope, click Shared.
  8. Type a name for the shared checklist. Click OK to save the checklist and close the dialog box.

  9. Click OK to close the Edit GUI Checklist dialog box.

Editing GUI Checklists

You can edit an existing GUI checklist. Note that a GUI checklist includes only the objects and the properties to be checked. It does not include the expected results for the values of those properties.

You may want to edit a GUI checklist if you add a checkpoint for a window that already has a checklist.

When you edit a GUI checklist, you can:

  • change which objects in a window to check
  • change which properties of an object to check
  • change the arguments for an existing property check
  • specify the arguments for a new property check

Note that before you start working, the objects in the checklist must be loaded into the GUI map.

To edit an existing GUI checklist:

  1. Choose Insert > Edit GUI Checklist. The Open Checklist dialog box opens.
  2. A list of checklists for the current test is displayed. If you want to see checklists in a shared folder, click Shared.
  3. To edit an existing GUI checklist

  4. Select a GUI checklist.
  5. Click OK.
  6. The Open Checklist dialog box closes. The Edit GUI Checklist dialog box opens and displays the selected checklist.

    Checklist dialog box closes

  7. To see a list of the properties to check for a specific object, click the object name in the Objects pane. The Properties pane lists all the properties for the selected object. To change the viewing options for the properties for an object, use the Show Properties buttons.
    • To check additional properties of an object, select the object in the Objects pane. In the Properties pane, select the properties to be checked.
    • To delete an object from the checklist, select the object in the Objects pane. Click the Delete button and then select the Object option.
    • To add an object to the checklist, make sure the relevant window is open in the application being tested. Click the Add button. The mouse pointer becomes a pointing hand and a help window opens.
  8. Click each object that you want to include in your checklist. Click the right mouse button to stop the selection process. The Edit GUI Checklist dialog box reopens.

    In the Properties pane, select the properties you want to check or accept the default checks.

    • To add all objects or menus in a window to the checklist, make sure the window of the application you are testing is active. Click the Add All button and select Objects or Menus.
    • To add a check in which you specify arguments, first select the property for which you want to specify arguments. Next, either click the Specify Arguments button, or double-click in the Arguments column. Note that if an ellipsis appears in the Arguments column, then you must specify arguments for a check on this property. (You do not need to specify arguments if a default argument is specified.) When checking standard objects, you only specify arguments for certain properties of edit and static text objects.

    You also specify arguments for checks on certain properties of nonstandard objects.

  9. Save the checklist in one of the following ways:
    • To save the checklist under its existing name, click OK to close the Edit GUI Checklist dialog box. A WinRunner message prompts you to overwrite the existing checklist. Click OK.
    • To save the checklist under a different name, click the Save As button. The Save Checklist dialog box opens. Type a new name or use the default name. Click OK. Note that if you do not click the Save As button, WinRunner automatically saves the checklist under its default name when you click OK to close the Edit GUI Checklist dialog box.

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