- Reveal expert tips on how to successfully perform large-scale automated visual testing
- Show how to leverage visual testing to increase coverage, while reducing maintenance efforts
- Run a live cross-browser visual test with Sauce Labs and Applitools
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Sauce Labs+Applitools - Automated Visual Testing in the Cloud
1. Adam Carmi
Co-Founder and VP R&D
at Applitools
AUTOMATED VISUAL
TESTING IN THE CLOUD
Enhance Your Cross-browser
Coverage
Chris Broesamle
Sales Engineer at Sauce
Labs
6. WHY SHOULD IT BE AUTOMATED?
THE TEST MATRIX IS TOO BIG TO
APPROXIMATE MANUALLY
Webbrowsers
Devices
Operating systems
Screen resolutions
Responsive designs
L10n
8. WHY SHOULD IT BE AUTOMATED?
NATIVE / HYBRID MOBILE APPS
Harder to roll back changes
Can’t pushdaily
Updates take battery and data
Higherquality bar
9. WHY SHOULD IT BE AUTOMATED?
Many are already doing it…
PhantomCSS Fighting Layout Bugs
CSS Critc
Wraith
Needle
Grunt PhotoBox
dpdxt
WebdriverCSS
Eyes
Huxley
FBSnapshotTestCase
GeminiSelenium Visual Diff
VisualCeption
Specter
Snap And Compare
29. We’ve built the worlds largest grid for
executing Selenium & Appium tests. We’re
open-source at heart and contribute to both
projects.
30. Selenium Grid
• A local test script is created using Remote
WebDriver, which sends test commands to a grid
• A grid consists of a hub server that directs requests
and node servers that host OS/browser
configurations for execution
• Your local hub might be “gridhub.qa.mypage.com”
• All you need to do is change that to
“ondemand.saucelabs.com”
31. Local Selenium Grid
Hub
Receives test
requests and
relays them
to Desired
Node
Nodes
Execute
commands
on browsers
as directed
by the hub
34. Sauce Labs Infrastructure
• Environments are kept up to date by our engineering
team
• Early access to browsers depends on browser
developers
• Browsers are retired as OS no longer supports it or
WebDriver versions are deprecated
• Selenium versions are chosen at run time based on
compatibility with desired browser
35. Integrations
• Plugins for Jenkins, Bamboo, TeamCity, and
Travis CI
• Manual testers can open defects in Jira from
Sauce
• Plugins handle authentication with Sauce,
launching Sauce Connect, OS/browser selection
in a build, and integration of results
36. Sauce Labs REST API
• Authentication
• Provisioning
• Jobs (including test results)
• Information
• Usage
• Tunnels
• Storage
Most tools are for web apps except for FBSnapshotTestCase which is for IOS and Eyes which is platform agnostic.
* Does not apply to fighting layout bugs.
* Does not apply to fighting layout bugs.
Like Boromir said…
Open Source
The Selenium project was started in 2004 by Jason Huggins (a Sauce Labs co-founder). It’s open source software released under the Apache 2.0 license. Huggins joking refereed to Selenium as the antidote to Mercury (no Hewlett Packard) poisoning a competitor to Selenium. We also have one of the creators of Appium which much like Selenium allows teams to create an automation scripts in any programing language then have those scripts automate Hybrid and Native mobile applications.
Automation is faster and more accurate than manual
Development cycles continually becoming faster and more agile. If organizations do not choose to automated eventually they will fall behind and no longer be able to compete with a high quality product.
Supports all major programing languages
With Selenium and Appium scripts can be created in an common programming language (Java, .NET, PHP, Pyhon, Ruby, Perl and JavaScript)
Supports all major browsers
This includes both mobile web and web.
The de facto web automation tool
Everyone uses it. 30% of fortune 500 use Selenium.
.
Why should customers care about out product? Sell the dream of a better future
1. Deliver a story or statement that arouses the audience’s interest
Sauce Labs was founded 4 years ago by Jason Huggins (inventor of Selenium), Steve Hazel and John Dunham, with the goal of making testing awesome.
2. Pose a problem or question that has to be solved or answered
Cross browser lab maintenance. How much time and money will it take you to setup and maintain on internal grid
3. Offer a solution to the problem you raised
Sauce’s client cloud
4. Describe specific benefits for adopting the course of action set forth in your solution
Time sand money savings
5. State a call to action
Open Source
The Selenium project was started in 2004 by Jason Huggins (a Sauce Labs co-founder). It’s open source software released under the Apache 2.0 license. Huggins joking refereed to Selenium as the antidote to Mercury (no Hewlett Packard) poisoning a competitor to Selenium. We also have one of the creators of Appium which much like Selenium allows teams to create an automation scripts in any programing language then have those scripts automate Hybrid and Native mobile applications.
Automation is faster and more accurate than manual
Development cycles continually becoming faster and more agile. If organizations do not choose to automated eventually they will fall behind and no longer be able to compete with a high quality product.
Supports all major programing languages
With Selenium and Appium scripts can be created in an common programming language (Java, .NET, PHP, Pyhon, Ruby, Perl and JavaScript)
Supports all major browsers
This includes both mobile web and web.
The de facto web automation tool
Everyone uses it. 30% of fortune 500 use Selenium.
Open Source
The Selenium project was started in 2004 by Jason Huggins (a Sauce Labs co-founder). It’s open source software released under the Apache 2.0 license. Huggins joking refereed to Selenium as the antidote to Mercury (no Hewlett Packard) poisoning a competitor to Selenium. We also have one of the creators of Appium which much like Selenium allows teams to create an automation scripts in any programing language then have those scripts automate Hybrid and Native mobile applications.
Automation is faster and more accurate than manual
Development cycles continually becoming faster and more agile. If organizations do not choose to automated eventually they will fall behind and no longer be able to compete with a high quality product.
Supports all major programing languages
With Selenium and Appium scripts can be created in an common programming language (Java, .NET, PHP, Pyhon, Ruby, Perl and JavaScript)
Supports all major browsers
This includes both mobile web and web.
The de facto web automation tool
Everyone uses it. 30% of fortune 500 use Selenium.
Open Source
The Selenium project was started in 2004 by Jason Huggins (a Sauce Labs co-founder). It’s open source software released under the Apache 2.0 license. Huggins joking refereed to Selenium as the antidote to Mercury (no Hewlett Packard) poisoning a competitor to Selenium. We also have one of the creators of Appium which much like Selenium allows teams to create an automation scripts in any programing language then have those scripts automate Hybrid and Native mobile applications.
Automation is faster and more accurate than manual
Development cycles continually becoming faster and more agile. If organizations do not choose to automated eventually they will fall behind and no longer be able to compete with a high quality product.
Supports all major programing languages
With Selenium and Appium scripts can be created in an common programming language (Java, .NET, PHP, Pyhon, Ruby, Perl and JavaScript)
Supports all major browsers
This includes both mobile web and web.
The de facto web automation tool
Everyone uses it. 30% of fortune 500 use Selenium.
We currently support 270 OS and browser combinations. Anywhere from IE 11 running on Windows 8 to a dated version of Firefox running on Linux.
Imagine the monumental effort involved in doing this yourself. There are 4 key components to making this happen.
Hardware
Software
orchestration
man hours
Open Source
The Selenium project was started in 2004 by Jason Huggins (a Sauce Labs co-founder). It’s open source software released under the Apache 2.0 license. Huggins joking refereed to Selenium as the antidote to Mercury (no Hewlett Packard) poisoning a competitor to Selenium. We also have one of the creators of Appium which much like Selenium allows teams to create an automation scripts in any programing language then have those scripts automate Hybrid and Native mobile applications.
Automation is faster and more accurate than manual
Development cycles continually becoming faster and more agile. If organizations do not choose to automated eventually they will fall behind and no longer be able to compete with a high quality product.
Supports all major programing languages
With Selenium and Appium scripts can be created in an common programming language (Java, .NET, PHP, Pyhon, Ruby, Perl and JavaScript)
Supports all major browsers
This includes both mobile web and web.
The de facto web automation tool
Everyone uses it. 30% of fortune 500 use Selenium.
Open Source
The Selenium project was started in 2004 by Jason Huggins (a Sauce Labs co-founder). It’s open source software released under the Apache 2.0 license. Huggins joking refereed to Selenium as the antidote to Mercury (no Hewlett Packard) poisoning a competitor to Selenium. We also have one of the creators of Appium which much like Selenium allows teams to create an automation scripts in any programing language then have those scripts automate Hybrid and Native mobile applications.
Automation is faster and more accurate than manual
Development cycles continually becoming faster and more agile. If organizations do not choose to automated eventually they will fall behind and no longer be able to compete with a high quality product.
Supports all major programing languages
With Selenium and Appium scripts can be created in an common programming language (Java, .NET, PHP, Pyhon, Ruby, Perl and JavaScript)
Supports all major browsers
This includes both mobile web and web.
The de facto web automation tool
Everyone uses it. 30% of fortune 500 use Selenium.
Open Source
The Selenium project was started in 2004 by Jason Huggins (a Sauce Labs co-founder). It’s open source software released under the Apache 2.0 license. Huggins joking refereed to Selenium as the antidote to Mercury (no Hewlett Packard) poisoning a competitor to Selenium. We also have one of the creators of Appium which much like Selenium allows teams to create an automation scripts in any programing language then have those scripts automate Hybrid and Native mobile applications.
Automation is faster and more accurate than manual
Development cycles continually becoming faster and more agile. If organizations do not choose to automated eventually they will fall behind and no longer be able to compete with a high quality product.
Supports all major programing languages
With Selenium and Appium scripts can be created in an common programming language (Java, .NET, PHP, Pyhon, Ruby, Perl and JavaScript)
Supports all major browsers
This includes both mobile web and web.
The de facto web automation tool
Everyone uses it. 30% of fortune 500 use Selenium.
CSS files and HTML falling out of sync
CSS changes with unexpected global implications.
Frontend refactoring.
Project / Product managers (collaboration)
Data from external sources
Not enough time to test pre-production
Missing components in deployment.