Add new Checkpoints in Qtp test script
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.
No comments:
Post a Comment