Quantcast
Channel: Intense Testing » Text CheckPoint
Viewing all articles
Browse latest Browse all 2

Bitmap Checkpoint in QTP

$
0
0

A checkpoint used as Verification and compares the actual Results from the   expected results in a test plan. If two values in a checkpoint gets matched then the checkpoint passes or else it will get fail .This enables you to identify whether your Web site or application is functioning correctly.   Checkpoints are stored in Local Object Repository.

Bitmap Checkpoint:

Bitmap Checkpoint

It is nothing but  checking  an area of a Web page or application as a bitmap. When we create a test ,then we need to specify the area that to be  checked. Here QTP captures the specified object as bitmap and inserts the checkpoint .Here it compares the selected areas of the object displayed in the application when recorded. After we select the bitmap, the image can be viewed in Bitmap checkpoint properties. These are dependent on factors like screen resolution, Operating systems and RGB settings.  So any changes to any of these factors will cause the checkpoint to fail. While capturing  if another app gets overlap  then that part of the screen is also captured.

Bitmap Checkpoint Properties

 

In the Bitmap properties we have two options as Check entire bitmap and check only selected area. In Check entire bitmap the whole image  will be displayed where as in check only selected area can be edited there itself .

The other options in the screen are:

RGB Tolerance:
When this option is selected then this determines the percentage by which the RGB values of the pixels in the actual bitmap can differ from  the expected bitmap and allow the checkpoint to pass..

Pixel Tolerance:
When this option is selected then user need to select percentage(% Radio button) or pixels(radio button) and modify the value manually.100%  is the total number of pixels in the expected bitmap or selected area.

Select “Check only selected area” then the image will be captured  in the grid and we can edit it .

Pixel Tolerance

Specify the checkpoint timeout and click OK then a statement will displayed in expert view. Ex:Browser(“xyz”).Page(“xyz”).image(“Google”).Check CheckPoint(“Google”)

 

Written By: – Susangeet Kanungo, QA Engineer, Mindfire Solutions



Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images