Testing Your Support for Creating Checkpoints

After implementing the methods required for UFT One to retrieve test object identification property run-time values, you can test how your Testing Agent supports checkpoints.

To test your support for creating checkpoints:

  1. Make sure that the application is open to the correct context so that the object on which you want to create the checkpoint is visible.

  2. Do the following, as described in Testing Your Support for Running Tests:

    1. Ensure that the Testing Agent and UFT One are closed and upgrade the Testing Agent.

    2. Open UFT One and run the Testing Agent.

    3. Create a UFT One GUI test with objects from your environment.

  3. Right-click the step where you want to add the checkpoint and select Insert Standard Checkpoint. The Checkpoint Properties dialog box opens.

    Verify that the identification properties for which you specified a ForVerification attribute in the testing environment XML are displayed in the dialog box.

    Verify that the identification properties for which you specified a ForDefaultVerification attribute in the testing environment XML are selected by default.

  4. Define your checkpoint details and click OK to insert the checkpoint. For more information on checkpoint options, see the UFT One User Guide.

  5. Run the test you created and verify that it performs the checkpoint correctly. Check the run results report and verify that the icon used for the test object class is the one that you defined in the testing environment XML.

To test your support for creating table checkpoints perform the test above, adding a checkpoint to a step with a table object, and verify that the table content and properties are displayed properly in the Checkpoint Properties dialog box.