Lesson 2: Adding a verification point

In this lesson, you will learn how to add a verification point to a test step.

Before you begin

Before you start creating verification points, please see you need to see how to work with the Test Editor.

About this task

Verification points verify that an expected behavior occurred during a run, or verify the state of a control or an object. When you create a verification point, you capture information about a control or an object in the application to establish that as baseline information for comparison during playback. When you run a test, the property is compared to see whether any changes have occurred in the application.

Verification points are useful for identifying possible defects when an application has been upgraded. An error is reported if the expected behavior did not occur. You can create verification points for any object properties, such as label, color, and count, and you can verify that an object property is enabled, that it has focus, whether it is clickable, and other such states.

There are many ways to create a verification point. You can create it from the Test Contents area of the editor, from the screen capture in the Mobile and Web UI Data view, or from the Properties area in the Mobile and Web UI Data view. This tutorial shows how to create a verification point by dragging the content from the Properties area to the Test Contents area of the editor.

Procedure

To create a verification point:
  1. Select Click on Hyperlink whose content is Pricing test step in the test editor. The corresponding screen capture and its properties are displayed in the Mobile and Web UI Data view.
  2. In the Properties area, right-click the Content name with the value of 'Pricing', and select 'Create verification point for Content'. Alternatively, you can create the verification point from Pricing image in the Screen capture area.Properties for test step
  3. To save the changes, click File > Save.

Results

The verification step is created. Verification step

In this lesson, you have learned how to create a verification point. The test will verify that the value of the product added to the shopping cart is equal to the value in this verification point.