TestingWhiz


Get Community


  • Solutions
    • Web Test Automation
    • Mobile Testing
    • Cross-Browser Test Automation
    • Regression Test Automation
    • Web Services Testing
    • Data-Driven Testing
    • Database Testing
    • Big Data Testing
  • Features
  • Integrations
  • Pricing
  • Resources
    • Webinars
    • White Papers
    • Infographics
    • Case Studies
    • User Manual
    • Release Notes
    • Download Center
    • User Forum
    • FAQs
  • Blog
  • Company
    • About
    • News & Events
    • Whiz Consulting
    • Partners
    • Contact Us
User Manual
  • General Information
    • About TestingWhiz
    • TestingWhiz Architecture
    • System Requirements
    • Browser and Device Support
  • Understanding TestingWhiz Tool
    • Menu Bar
    • Tool Configuration Settings
    • Third Party Integrations
    • Menu Tab
    • Test Editor Tab
    • Test Commands, Methods and Variables
  • Create and Manage Test Projects
    • Create, Record and Import Test Scripts
    • Create Test Suites
    • Create Test Cases
    • Execute Test Scripts
  • Test Reports
  • Methods Accessing Data Table Values Without Loop
  • Generating Test Data Table
  • Importing Data from Other Test Projects
  • Types of Testing Supported by TestingWhiz
  • Mobile Test Execution
  • Desktop Test Automation
  • Image Comparison
  • Forking & Data Validation
  • Test Execution via CI Plugin
  • Integration with Test Management Tools
  • Integration with Version Control
  • Test Commands & Corresponding Actions
  • Test Commands Reference
    • Web App Commands
    • Mobile App Commands
    • Desktop App Commands
    • Conditional Commands
    • Database Commands
    • Web Service Commands
    • File Operation Commands
    • Script Optimization Commands
    • Desktop Commands

Image Comparison

TestingWhiz helps users to compare two images and records the difference at the pixel level. TestingWhiz automatically converts a particular web page into an image to carry out the comparison.

Targeted images show the difference in (%) value

TestingWhiz only supports Image File formats – PNG, JPG, BMP, and GIF.
Image comparison of the same file extension will be possible.
It will only compare the color between two source files.

There are 3 ways to compare an image in Pixel by Pixel format

1. Image to Image Comparison

2. Image to URL Comparison

3. URL to URL Comparison

Steps & Configurations

1. Create a New Test Case under a Test Suite

2. Add a New Test Step as Loop Start in the Test Editor tab

3. Click from Value column and select Data Table as Google

4. Choose between Standard Loop and Custom Loop

5. In Custom Loop option, the user has to define Start and End Index

6. Click Save

Image Comparison

7. Add a New Test Step as Check and add Action as Image in the Test Editor tab

8. Click from Value column and enter Source 1, Source 2 and Tolerance details in “Compare Image Test Command” dialog box

9. Enter ${Google.URL} in Source 1 box

10. Enter http://google.com in Source 2 box

11. Setup Tolerance level which a user wants to check the similarities in Tolerance box

Tolerance level will be in (%) value.

12. Click Save

Enter Details

13. Add a Next Test Step as Loop End in the Test Editor tab

14. Execute Test Script in any browser

15. After execution, the user can view detailed logs in the generated report

Project Summary

16. Click to view the Image Comparison Report

Image Comparison Details

17. Click to Zoom In

18. Click to Zoom Out

19. Click to view Original Image

20. Click to view images

22. Click on to view the compared images

Source & Target Image Comparison

22. The user can also view Target images in whiz folder C:\Users\testingwhiz\.whiz

PREVIOUS
NEXT
cygnetinfotech

About

TestingWhiz is committed to provide an innovative and automated software testing solution to the global enterprises and software companies for their web, mobile and cloud applications.

location

Cygnet Infotech LLC,
125 Village Boulevard,
Suite 315, Princeton,
NJ 08540, USA

PHONE | EMAIL

1-855-699-6600
info@testing-whiz.com

Get Started

Download Trial
Demo
Pricing
Contact Us
  • Privacy Policy
  • Terms of Use
 
TestingWhiz Capterra Ratings

Copyright© 2021, TestingWhiz. All Rights Reserved.

This website uses Cookies to improve site’s functionality & provide you with better browsing experience. Detailed information on the use of cookies on this website, and how you can decline them, is provided in our Cookie Policy. If you don't agree, kindly disable cookies from browser settings.