Image Comparisons
Comparing images
β Don't: Implement image comparison features before reading the documentation
βοΈ Do: Use the Image Processor
Visual equivalence
β Don't: Do a full-screen screenshot
βοΈ Do: Avoid image comparison if possible
βοΈ Do: Validate the controls relevant to the test
Saving images on tests
β Don't: Save images on disk temporarily for comparisons
βοΈ Do: Use the control's image directly
Image formats
β Don't: Compare images with different formats (extensions)
βοΈ Do: Use the easiest format to work with
Using AreEquals
β Don't: Use images with different resolutions
βοΈ Do: Ensure the images are very similar before committing to them
Last updated
Was this helpful?