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.


Configure the Text selection by clicking on the configure button.


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


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.


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.


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


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