How To Add Checkpoints in UFT

In my previous post, I have discussed the types of checkpoints available in UFT.In this article, we will get to know how we can add the following most frequently used checkpoint in UFT.

How to add CheckPoints in UFT

First, let us understand how we can add the checkpoint. To add a checkpoint you can go to Design>Checkpoint and select the required checkpoint as mentioned above.

add CheckPoints in UFT

The other option to add a checkpoint is to use the Recording Session GUI. When we start the recording session a small recording session window is displayed. Click on the balloon icon, it will display a menu to add the required checkpoints.

add-checkpoints-in-uft-1

Adding Standard Checkpoint

Select the Standard Checkpoint option, the mouse pointer will turn into a hand, click on any object like a hyperlink, Textbox, radio button, or on any text of the page, the Checkpoint property window will be displayed. You can select the properties of the object that you want to validate at runtime and click the OK button.

Standard-CheckPoint-UFT-2

UFT will automatically add a step in the current action of the Test.

Standard-CheckPoint-UFT-3

Adding Image checkpoint

Select the Standard Checkpoint option, the mouse pointer will turn into a hand, click on an image displaying on the web page. A Standard Checkpoint window will be displayed with the default selection of the image objects. Click on the OK button.

Image-CheckPoint-UFT-1

The Image Checkpoint Properties window will be displayed with all the properties of the image. Click on the OK button. The image checkpoint will be added to the script.

Image-CheckPoint-UFT-2

Adding Table Checkpoint

Select the Standard Checkpoint option, the mouse pointer will turn into a hand, click on the grid or table displaying in the application. A Standard Checkpoint window will be displayed with the default selection of the object on which you have clicked. Select the Table object one level above it in the object hierarchy as shown in the snapshot and click on the OK button.

able-CheckPoint-UFT

The Table Checkpoint Properties window will be displayed with all the values currently displaying on the table. It also has two square boxes on the top right one as checked and another as unchecked. If you want to ignore the value of a particular cell, select the required cell, and click on the unchecked cell. You can also double-click on a cell to check or uncheck it. Click on the OK button. The table checkpoint will be added.

Table-CheckPoint-UFT-2

Recommended Posts

Leave a Reply