Configuring the Text Selection in Text Area Checkpoint in QTP in Testing

First insert a Text Area Checkpoint by Insert > Checkpoint> Text Area Checkpoint.


Select the Area where you want to insert the Text Area Checkpoint. It displays the Text Area Checkpoint Properties box, as in:


Click on the Configure button and it displays the Configure text selection box. 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 one of the following buttons.

Checked Text- Sets the highlighted text as the checked text. Quick Test displays their text in red and the remainder in black; see:


Text Before: Sets the highlighted text as the text before the checked text.


Text After: Sets the highlighted text as the text after the checked text.