I need to do some cross-browser rendering compatibility testing on a non-standards-compliant site. There are around sixteen different combinations of browser and OS to test within.

I don't currently have any browser-automation tests (but am working on it). The idea we had was to get our automation to take screenshots at steps during tests, and then compare the screenshots.

However, I don't know any automate-able image-diff utilities that I can wire into the build. Are there any?

  • Are you talking about a site like this? http://browsershots.org/ Mottie about 7 years ago

1 answer

o.k.w 2355

Have you tried Perceptual Image Diff? It's an image diff library/tool which makes use of FreeImage.

The source codes are provided along with the binary files for OSX and Windows. As a standalone utility, you can run it to check any visible difference between 2 images (of the same size) by looking at/interpreting the text output or generate a diff image (PPM format).

You can of course incorporate it into the automated tester which you are building.

I'm not sure if it is suitable but do check out the sites for more detailed information.

Answered about 7 years ago by o.k.w