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

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

v1.jpg

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

v6.jpg 

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.

v2.jpg

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:

v3.jpg

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

v4.jpg

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

v5.jpg

Up Next
    Ebook Download
    View all
    Learn
    View all