Monday, July 7, 2008

What is bitmap checkpoint in QTP?

You can check an area of a Web page or application as a bitmap. While creating a test or component, you specify the area you want to check by selecting an object. You can check an entire object or any area within an object. QuickTest captures the specified object as a bitmap, and inserts a checkpoint in the test or component.

You can create bitmap checkpoints for all supported testing environments (as long as the appropriate add-ins are loaded).

The results of bitmap checkpoints may be affected by factors such as operating system, screen resolution, and color settings.

To create a bitmap checkpoint while recording:

Choose Insert > Checkpoint > Bitmap Checkpoint > Click an object to check in your Web page or application. > Select an object from the tree on which to create a bitmap checkpoint. > Click OK. The Bitmap Checkpoint Properties dialog box opens.

If you want to check a specific area of the object, click the Select Area button.

If you want to save only the selected area of the object with your test or component (to save disk space), select the Save only selected area check box.

Specify the Checkpoint Timeout, and click OK.




When you run the test or component, QuickTest compares the object or selected area of the object currently displayed on the Web page or application with the bitmap stored when the test or component was recorded. If there are differences, QuickTest captures a bitmap of the actual object and displays it with the expected bitmap in the details portion of the Test Results window.


No comments: