Understanding the Text Checkpoint Properties Dialog Box in QTP in Testing

In the Text Checkpoint dialog box, you can specify the text to be changed as well as which text is displayed before and after the checked text. These configuration options are particularly helpful when the text string to check appears several times or when it could change in a predictable way during run sessions.

1.jpg

For example, suppose you want to check the third occurrence of a particular text string in a page or defined text area. To check for this string, you can specify which text precedes and/or follows it and to which occurrence of the specified text string you are referring.

4.jpg

The Checkpoint summary pane at the top of the dialog box summarizes the selected text for the checkpoint. For text checkpoints in web-based environments, it displays the text you selected when creating the checkpoint, plus some text before and after it.

3.jpg

For text and text area checkpoints in Windows-based environments, it displays the text you selected when creating the checkpoint.

2.JPG

Up Next
    Ebook Download
    View all
    Learn
    View all