Home / Companies / Sauce Labs / Blog / Post Details
Content Deep Dive

How To Add Visual Testing To Existing Selenium Tests

Blog post from Sauce Labs

Post Details
Company
Date Published
Author
Dave Haeffner
Word Count
1,617
Company Posts That Month
4
Language
English
Hacker News Points
-
Summary

This article explains how to integrate automated visual testing into existing Selenium tests using Applitools Eyes. The goal is to add a layer of visual checks to the test, ensuring that the application's UI matches expectations across different browsers and platforms. By leveraging Applitools Eyes, developers can easily capture screenshots and perform visual checks at specific points in the test workflow. The article provides an example of how to modify an existing Selenium test to include these visual checks, using Java as the programming language. It also discusses how to run the test against other browsers and operating systems using Sauce Labs, a cloud-based platform for cross-browser testing. The expected outcome is that the test will execute successfully, performing visual checks at specified points and returning URLs to failed jobs in either Applitools Eyes or Sauce Labs.

Trends Found in this Post

No tracked trend matches for this post yet.