Print Page | Close Window

How Do You Check a Bitmap?

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: Rational Robot @ OneStopTesting
Forum Discription: General-purpose test automation tool for QA teams who want to perform functional testing of client/server applications.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=3469
Printed Date: 09Jan2025 at 6:39pm


Topic: How Do You Check a Bitmap?
Posted By: tanushree
Subject: How Do You Check a Bitmap?
Date Posted: 31Oct2007 at 3:22am

How Do You Check a Bitmap?
If your application contains bitmap areas, such as drawings or graphs, you can
check these areas using a bitmap checkpoint. A bitmap checkpoint compares
captured bitmap images pixel by pixel.
To create a bitmap checkpoint, you indicate an area, window, or object that you
want to check. For example:

WinRunner captures a bitmap image and saves it as expected results. It then
inserts an obj_check_bitmap statement into the test script if it captures an
object, or a win_check_bitmap statement if it captures an area or window.
When you run the test on a new version of the application, WinRunner compares
the expected bitmap with the actual bitmap in the application. If any differences
are detected, you can view a picture of the differences from the Test Results
window.




Print Page | Close Window