To Create a Bitmap Checkpoint While Recording in QTP in Testing


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

    Inserting-Bitmap-Checkpoint.jpg

  2. Click an object to check in your Web page or application. If the location you click is associated with more than one object, the object selection-Bitmap Checkpoint properties dialog box opens.

    Bitmap-Checkpoint-Properties.jpg

  3. Select an object from the tree on which to create a bitmap checkpoint.
  4. Click OK. The Bitmap Checkpoint properties dialog box opens.

    Checkpoint-Properties.jpg

  5. In the Name box, either accept the name that QuickTest assigns to the checkpoint or specify another name for it. By default, the checkpoint name is the name of the test object on which the checkpoint is being performed. You can rename it.

    rename-checkpoint-name.jpg

  6. If you want to check a specific area of the object, click the Select Area button. Use the cross-hairs pointer to specify the area you want to select. This instructs QuickTest to check only a selected area.

    check-only-selected-area.jpg

  7. If you want to save only the selected area of the object with your test, select the Save only selected area check box.

    save-only-selected-area.jpg

  8. Specify the Checkpoint Timeout if you want to define the time interval during which QuickTest attempts to perform the checkpoint successfully.

    Checkpoint-Timeout.jpg

  9. Click OK to add the bitmap checkpoint to your test. A checkpoint statement is added for the selected object in the keyword view and Expert view.


Similar Articles