Creating a Text Checkpoint in QTP in Testing

You can add a text checkpoint while recording a test or component in all environments. You can also add a text checkpoint on a web page or frame from the Active Screen while editing your test or component.

To add a text checkpoint while recording:

  1. Display the page, window, or screen containing the text you want to check.

  2. Choose Insert > Checkpoint > Text Checkpoint, or click the Insert Checkpoint button and choose Text Checkpoint. The QuickTest window is minimized and the mouse pointer turns into a pointing hand.

    Clipboard04.jpg

  3. Click the text string for which you want to create the checkpoint. The "Text Checkpoint Properties" dialog box opens, see:

    Clipboard03.jpg

  4. Specify the checkpoint settings.

  5. Click OK to close the dialog box. A checkpoint statement is added for the selected object in the Keyword View and Expert View.

    Keyword view displaying Text Checkpoint appears as in the following image:


    Clipboard01.jpg

    Expert View displaying Text Checkpoint appears as in the following image:


    Clipboard02.jpg


Similar Articles