Modifying the Text Area Checkpoint in QTP in Testing

First run a new test and Insert a Text Area Checkpoint by Insert > Checkpoint > Text Area Checkpoint. It displays a Text Area Checkpoint Properties dialog box.

Textareacheckpoint1.jpg

Configure the Text selection by clicking on the configure button.

Textareacheckpoint2a.jpg

For Text Area Checkpoints, you can designate parts of the captured text as checked text and other parts as text before and text after.

Textareacheckpoint3.jpg

You can specify the parts of the displayed text for the checkpoint by highlighting them and clicking on the Checked Text, Text Before and Text After. After configuring you will see the checkpoint under the Expert View.

Textareacheckpoint4.jpg

Now, you can modify an existing text checkpoint. To modify a text checkpoint, in the Keyword View right-click the checkpoint that you want to modify.

Textareacheckpoint5.jpg

Select Checkpoint Properties. The Text Area Checkpoint Properties dialog box opens.

Textareacheckpoint6.jpg

Modify the settings and click on OK button. The checkpoint is modified.


Similar Articles