As a part of my Selenium Tests I'm expected to compare 2 images.
Using 'Selenium Webdriver' and Scripting Language as 'Java.
However, the properties of the image undergo some changes.
Image 1 Properties -
Resolution = 1024 * 768 pixels.
Size = 105 Kb.
Image 2 Properties -
Resolution - 666 * 500 pixels.
Size = 50.4 Kb
Please suggest me techniques using which this image comparison can be carried out.
P.S. - I have clear understanding of the fact that this will have to be handled using the Scripting Language and Selenium will not play any role in this comparison.
Thanks and Regards,
Maybe the images are taken on different machines? The resolution of these machines must match. Also, operating system may be crucial as can differ with ClearType settings.
Lukasz Morawski, QA Engineer
Cognifide testing blog