Text Checkpoint and Text Area Checkpoint in UFT

In my previous article, I have discussed what are checkpoint and what kind of checkpoints are available in UFT.In this article, I will show how to add text checkpoint and text area checkpoint in UFT.

Text checkpoint in UFT

Adding a Text checkpoint is quite an easy thing in UFT. By adding a text checkpoint you can validate static as well as dynamic text in UFT. To add a Text CheckPoint, select the Text Checkpoint option from the recording session wizard.

Text Checkpoint in UFT

The mouse pointer will turn into a hand, click on the object for which you want to validate the text. UFT will capture the text and the same will be displayed in the Text Checkpoint Properties window.

Text-Checkpoint-UFT-76246

By default, UFT ignores the cases of the text string to be validated. You can check and uncheck required checkboxes and click on the OK button. The checkpoint will be added to the test script.

Text-Checkpoint-UFT-90076

If the text is dynamic in nature it varies each time the test is run based on certain conditions and the required values are known to you in advance (must be mentioned in the requirement document or Functional Design document) in that case you can parametrize the text checkpoint with UFT DataTable.To parameterize the Text checkpoint with UFT DataTable by selecting the Parametrize radio button and then click on “Parameter Options”.

Text-Checkpoint-UFT-094567

The Parameter Options window will be displayed. Provide the name the parameter in the Name field. Select the sheet name. You can either select the Global sheet or Local sheet of the action and click on the “OK” button.

Text-Checkpoint-UFT-511205

The Text Checkpoint Properties window will be displayed. Click on the “OK” button.

Text-Checkpoint-UFT-510605

The parameter will be added to the UFT Datatable.

Text Area Checkpoint in UFT

The Text Area Checkpoint enables you to check that a text string appears within a defined area in a Test application, according to specified criteria.

Adding Text Area Checkpoint is quite an easy thing. By adding Text Area Checkpoint in UFT you can validate static as well as dynamic texts in UFT. To add a Text Area Checkpoint, select the Text Area Checkpoint option from the recording session wizard.

Text Area CheckPoint UFT

The mouse pointer will be changed into a cross icon to let you select the required text under the specific area of application and leave the mouse pointer.Text Area CheckPoint in UFT

The Text Area Checkpoint Properties window will be displayed with the text string that was selected within the defined area. Click on the “OK” button.Text-Area-CheckPoint-UFT-3007653

The Text Area Checkpoint will be added to the test script.

Text-Area-CheckPoint-UFT-3002953

Recommended Posts

Leave a Reply