Home » Basics

Adding new checkpoints in test scripts in QTP

28 October 2009 944 views No Comment

You can add checkpoints while creating or editing your QTP test script. It is generally more convenient to define checkpoints after creating the initial test.

To add new checkpoints while editing or recording your test: Use the commands in the Insert > Checkpoint menu, or click the Insert Checkpoint buttonĀ  in the toolbar. This displays a menu of checkpoint options that are relevant to the selected step.

To add new checkpoints while editing only:

  • Right-click the step where you want to add the checkpoint and select the relevant checkpoint option.
  • Select the step where you want to add the checkpoint, select Insert > Checkpoint, and then select the relevant checkpoint option.
  • Right-click any object in the Active Screen and select the relevant checkpoint option. These options can be used to create checkpoints for any object in the Active Screen (even if the object is not part of any step in the Keyword View of QTP). Please note that if you use the Active Screen option in QTP, ensure that the Active Screen contains sufficient data for the object you want to check.

Popularity: 23% [?]

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 4.50 out of 5)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.