How to verify images on different platforms/browse
Please see my QTP information in my signature.
My problem and situation:
My client has a website that shows contents in 7 different languages. We have automated some portion of test cases using QTP. My client has wide user base who use various computers with different hardware and various browsers(e.g.: IE 6.0,7.0, Fire Fox, etc..). As part of our automation testing, we capture a set of images (this is actually a huge number) and by using an automated script, we verify if AUT(Application Under Test) shows correct images, by comparing AUT images with the images we have captured. We are doing perfectly fine up to this point.
But as I have mentioned my client has diverse user base who use distinct hardware/computers and browsers. So we have a need to test the display of our images on different platforms and browsers to ensure the correctness of the website. Since we have captured our image set on one platform/browser combination, the scripts are failing when they are run on a different platform/browser. May be this is happening because the VGA/SVGA cards, graphics drivers of the computer used for image capture is different than those of the computer used for script run.
To get around this issue, we are as of now, maintaining various sets of images wherein each set is captured from each distinct combination of Platform and browsers, then using this image-set to verify the images of the website running on that particular platform/browser. But with this route we ended up having huge maintenance effort.
Is there any way that we could run our scripts without having to recapture our image-sets on every platform/browser
in order to make sure scripts wont fail. Is there anyway we could use the same image-set on every platform/browser we are going to run our script
Did anybody of you had any past experience with this kind of issue. Any inputs you could give would be greatly appreciated.
Re: How to verify images on different platforms/br
Hi Tarun -
We dont use Bit map check points, instead we use a vb script to capture all the images that needs to be verified; we have a C# program that compares each captured image against the actual image on the application. The reason we took this approach is that we will have more control on the images that will be verified, and also this is fabricated within the Framework we have developed. Just incase if you wonder why not QTP bitmap check point?