Bitmap Checkpoint:
————————-
This checkpoint checks the content of the bitmap in the application.Bitmap checkpoints can be placed for any area of the application.Bitmap checkpoint are also applicable for buttons,text boxes and tables.
Steps to insert a Bitmap Checkpoint:
—————————————–
1)In recording mode select Insert>Checkpoint>Bitmap Checkpoint.
2)Click an object to be checked and select the object from the object selection dialog.
3)Select the image and click OK.
After this , Bitmap Checkpoint properties Dialog will appear and in that we have various options:
>Check entire bitmap/Check only selected area: This option allows the user to select if a specific area or entire area of bitmap is compared.
>Save only selected area: This option will save the selected area of the bitmap within the test to save the disk space.
Bitmap Checkpoint Tolerance Options:
——————————————–
1)RGB tolerance: This option is limited to bitmaps with a color depth of 24bits.The RGB(Red,Green,Blue) tolerance determines the percent by which the RGB values of the pixels in the actual bitmap can differ from those of the expected bitmap and allow the checkpoint to pass..
2)Pixel tolerance: The Pixel tolerance determines the number or Percentage of pixels in the actual bitmap that can differ from those in the expected bitmap and allow the checkpoint to pass.
Select the check box, selct either the percent or the pixels radio button,and modify the value manually or by using the up and down arrows.100% is the total number of pixels in the expected bitmap or selected area.