The Top 21 FREE Visual Validation Tools for Testers

Automation Testing Published on:
Visual Validation Tools

Last Updated on

All About Free Visual Testing Tools

I've been a big fan of visual validation testing ever since I talked to Adam Carmi the co-founder and CTO of Applitools on my TestGuild Automation Podcast.

But for folks on a small team that doesn't have a budget a question that came up more than once was “Are there any FREE open-source visual validation tools options? “

Based on this question, I decided to compile a list of 21 free tools you can use for your visual validation testing efforts.

If you don’t know what visual validation testing is, check out my video on Visual Validation Testing using Selenium & Java – Mini Course.

FREE Visual Validation Tools

Except for FBSnapshotTestCase, as far as I can tell all these tools only work for websites and not mobile apps. That’s another reason why I like using a paid solution like Applitools that works with everything.

Although all the tools share the same workflow, they come in two flavors:

  1. Code/Script Based
  2. Configuration Based

What are the Top Visual Validation Tools for Testers?

Most of you are probably wondering what the top automaton frameworks for Visual Validation testing actually are. Here’s what I found.

This list is broken up into the two main approaches used for visual validation testing: code-based and configuration based.

Code/Script Based Visual Validation Tools:

 

1. AyeSpy

AyeSpy is a high-performance visual regression tool to catch UI regressions. According to their Github page “With the correct setup, you can expect 40 comparisons running under a minute.”

¤ 137 Github Stars

2. FBSnapshotTestCase (Uses XCTest)

FBSnapshotTestCase uses a “snapshot test case” that takes a configured UIView or CALayer and uses the renderInContext: method to get an image snapshot of its contents. It compares this snapshot to a “reference image” stored in your source code repository and fails the test if the two images don't match. Check out Writing your first FBsnapshot testcase from TestTalks alumni Andy Obusek.

¤2,222 Github stars

3. Gemini (Uses JS DSL)

Gemini is a utility for regression testing the visual appearance of web pages. Check it out on Getting Started with Gemini

¤784 Github stars

4.Needle (Uses Python)

Needle is a tool for testing visuals with Selenium and nose.

It checks that visuals (CSS/fonts/images/SVG/etc.) render correctly by taking screenshots of portions of a website and comparing them against known good screenshots. It also provides tools for testing calculated CSS values and the position of HTML elements.

See an example in the Visual Regression Testing post.

¤463 Github stars

5.  Rspec Page Regression  (Uses Capibara)

Rspec-page-regression is an RSpec plugin that makes it easy to heedlessly regression test your web application pages to make sure the pages continue to look the way you expect them to look, taking into account HTML, CSS, and JavaScript. It provides an RSpec matcher that compares the test snapshot to an expected image, and facilitates management of the images.

Rspec-page-regression uses PhantomJS to heedlessly render web page snapshots, by virtue of the Poltergeist driver for Capybara. You can also use the Selenium driver to test against real browsers.

¤64 Github stars

protractor-46461_1280

6. Pix-Diff  (Uses JS and Protractor)

Pix-Diff is a lightweight Protractor plugin for image comparisons on (mobile/desktop) browsers and hybrid app screens or screen regions. 24 Github stars

7. Selenium Visual Diff

(Uses Java and WD)

With Selenium Visual Diff the goal is a better integration of screenshots taking in maven executed selenium2 functional tests, storing and versioning of screenshots to get a report of visual differences between two application versions.

¤17 Github stars

8.Vizregress

(Uses .NET and WD)

Vizregress is used to spot visual regression in your web application by comparing screen-shots against an approved set of screen-shots. This was created as a  research project where they used TDD (Test Driven Development) to support visual regression testing. They also used SpecFlow as their BDD (Behavior Driven Development) tool to perform browser-based tests.

¤5 Github stars

9. VisualCeption (Uses PHP and CodeCeption)

VisualCeption uses a combination of the “make a screenshot” feature in webdriver, imagick and jquery to compare visual elements on a website.

¤2 Github stars

10.Specter

(Uses a JS DSL)

Specter is a Node.js wrapper for PhantomJS. PhantomJS is a headless browser which enables developers to load pages that rely on Javascript. Specter was made to easily access these dynamically and asynchronously created HTML pages using Node.js.

¤1 Github star

Configured Based Visual Validation Tools:

Backstop

11. BaskstopJS

BackstopJS automates visual regression testing of your responsive web UI by comparing DOM screenshots over time. A good place to get started with BackstopJs would be css-tricks article on automating CSS regression tests.

¤5.4k Github stars

12. Visual Regression Tracker

This is a new one to the list. Visual Regression Tracker is an open-source, self-hosted solution for visual testing and managing results of visual testing. It currently supports Cypress and Playwright. At the time of this post, it's very new but something worth keeping an eye on.

¤32 Github stars

13. CSSCritic

CSSCritic is a lightweight tool for regression testing of Cascading Style Sheets. Video and examples

¤394 Github stars

GruntPhotoboxGruntPhotobox

14. Grunt Photobox

Grunt Photobox is a plugin to prevent your project of broken layout via screenshot photo sessions of your site.

¤277 Github stars

15. VIFF

VIFF helps you to find visual differences between web pages in different environments (developing, staging, production) and browsers.

¤183 Github stars

16. GreenOnion

GreenOnion helps solve the issue of having to catch regression bugs and solve the testing of HTML and CSS issues of having to be such a back and forth between designers and devs. It also helps you to follow TDD and BDD against the presentation layer? GreenOnion helps you get the same results on testing front-end styling that you've enjoyed in your unit and integration tests up to now.

GreenOnion records ‘skins', which are snapshots of the current state of a view (or any page that a browser can navigate to). The first time that it is run on a view, it saves the skin; the second time that it is run, it will compare the first skin to the fresh (new) skin. You can either compare with a diff image that is automatically created or by an outputted percentage of difference.

¤168 Github stars

17. Kobold (No Linger Maintained)

Kobold is a visual regression testing framework, comparing screenshots from multiple builds.

¤138 Github stars

18. Wraith-Selenium

The original Wraith is a screenshot comparison tool, created by developers at BBC News, for headless browser url-based comparison of responsive web sites.
Wraith-Selenium uses either PhantomJS or SlimerJS to create screen-shots of different environments and then creates a diff of the two images, the affected areas are highlighted in blue.

¤83 Github stars

19. CSS Visual Test

CSS Visual Test helps you to test your front end components visually. Currently supports components built with react and commonjs / browserify.

¤10 Github stars

20. Snap And Compare

SnapAndCompare is an easy to use screenshot comparison tool used for CSS Visual Regression Testing built using NodeJS.

¤8 Github stars

21. Grunt-Vigo

Grunt-Vigo is a simple visual regression testing tool using phantomJS 2

For more Visual Validation Tool Testing Awesomeness

Check out Adam Carmi and Peter Kim's Automation Guild sessions on Using Visual Validation Testing.

Sorry, you missed the LIVE event. But due to demand, I decided to keep registration open. So you can still get all pre-recorded sessions and recorded Q&A. These recordings will be available forever so register now to get access now.

6 responses to “The Top 21 FREE Visual Validation Tools for Testers”

  1. I am surprised to not see Galen either – something that you may add is if the tool is integrated with Sauce Labs or Browser stack as Visual Testing is interesting when you are across different platform and browsers

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Visual Validation Tools