Forum Discussion
Could it be considered an improvement for future versions, to have the possibility to do an image comparison that adapts to the zoom of the browser?
That is... for example.. I take the benchmark with 100% of zoom, then I would like to be able to compare it also if the browser is resized.
I've understand the way around; the issue still become if the machines resolution is different, because if I maximize the browser window on a release machine (a different machine comparing to the one used for the test automation development), the test will fail if it has got a different resolution.
I did it a few years ago with checking and clicking things on maps in .NET/desktop.
I set the size of the screen to known zoom levels before doing a comparisons. Also having reference markers of known size and reducing the zoom in steps until found using a find-image function. Once found panning the image to make it central then using that as reference for other elements being tested, eg map icons etc. It was extremely slow!
Related Content
- 8 years ago
- 5 years ago
- 12 years ago
Recent Discussions
- 15 hours ago
- 16 hours ago
- 4 days ago