Can QTP capture only portion of the object bitmap?
I had been using CaptureBitmap and able to capture the object bitmap and then verify the actuals against the stored (expected) bitmaps programmatically. My tests are parameterized as well.
I am looking for a utility like CaptureBitmap, but with
an added functionality such that i can specify a region/portion of the object bitmap to be captured, instead of currently the entire bitmap of the object. Is QTP capable of doing this?
With a bitmap checkpoint, i can specify that only certain region of the image to be verified. However, i didn't find way to parameterize a bitmap checkpoint, when it comes to the point where the test have different expected (bitmap) results for each iteration.
I doubt it's not feasible to do this, at least with my version of QTP(8.2).
Could anyone shed lights on this?
Re: Can QTP capture only portion of the object bit
My real issue with bitmap checkpoint for this purpose is that, i only know how to create a bitmap checkpoint manually, can it be created programmatically? Since there are a huge number of bitmap checkpoints to be created, if using the checkpoint approach.