SlideShare a Scribd company logo
1 of 43
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
AGENDA
 Why automatedvisual testing?
 Challengesin visualtestautomation
 Demo#1: Visualtestautomationwith ApplitoolsEyes
 Demo#2: Cross-browser testingin thecloud with SauceLabs
 Demo#3: Runninga cross-browser visualtestinthe cloud
 When toperformautomatedvisual testing?
 Q&A
WHAT IS VISUAL TESTING?
A qualityassurance activity aimed to verify that a
Graphical User Interface appears correctly to users
A VISUAL BUG
AND ANOTHER…
WHY SHOULD IT BE AUTOMATED?
THE TEST MATRIX IS TOO BIG TO
APPROXIMATE MANUALLY
 Webbrowsers
 Devices
 Operating systems
 Screen resolutions
 Responsive designs
 L10n
WHY SHOULD IT BE AUTOMATED?
WHY SHOULD IT BE AUTOMATED?
NATIVE / HYBRID MOBILE APPS
 Harder to roll back changes
 Can’t pushdaily
 Updates take battery and data
 Higherquality bar
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
AGENDA
 Why automatedvisualtesting?
 Challenges invisualtestautomation
 Demo#1: Visualtestautomationwith ApplitoolsEyes
 Demo#2: Cross-browser testingin thecloud withSauceLabs
 Demo#3: Running a cross-browser visualtestin thecloud
 Whentoperformvisual testing?
 Q&A
THE WORKFLOW
Drive the AUT and take screenshots
Compare screenshots with baseline
images
Report differences
Update the baseline
THE CHALLENGES
Drive the AUT and take screenshots
Compare screenshots with baseline
images
Report differences
Update the baseline
SCALABILITY CHALLENGES
Image comparison
 False positives
 Dynamic data
Baseline maintenance
 Multiplebaselines
 Non-localityof changes
WHY NOT?
FALSE POSITIVES
ANTI ALIASING 1/2
ANTI ALIASING 2/2
BRIGHTNESS 1/2
BRIGHTNESS 2/2
SUB PIXEL SHIFTS 1/2
SUB PIXEL SHIFTS 2/2
IMAGE SCALING 2/2
IMAGE SCALING 2/2
ANDMORE…
1 pixeloffsets in elementpositioning
Dynamic content
Movingelements
Images ofdifferentsize
Performance
AGENDA
 Why automatedvisual testing?
 Challengesin visual test automation
 Demo #1: Visualtest automationwith ApplitoolsEyes
 Demo #2: Cross-browser testingin thecloud with SauceLabs
 Demo #3: Runninga cross-browser visual test in thecloud
 Whento perform visual testing?
 Q&A
Chris Broesamle
Agenda
• Sauce Labs Overview
• Demo of Selenium on Sauce OnDemand
What is Sauce Labs?
We’ve built the worlds largest grid for
executing Selenium & Appium tests. We’re
open-source at heart and contribute to both
projects.
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”
Local Selenium Grid
Hub
Receives test
requests and
relays them
to Desired
Node
Nodes
Execute
commands
on browsers
as directed
by the hub
Selenium on Sauce
450+
configurations
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
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
Sauce Labs REST API
• Authentication
• Provisioning
• Jobs (including test results)
• Information
• Usage
• Tunnels
• Storage
Selenium on Sauce
• Demo
AGENDA
 Why automatedvisualtesting?
 Challengesin visualtestautomation
 Demo#1: Visualtestautomationwith ApplitoolsEyes
 Demo#2: Cross-browser testingin thecloud with SauceLabs
 Demo#3: Visualtestautomationin thecloud
 When toperform visualtesting?
 Q&A
WHERE DOES IT FIT?
• Component
s
• Code
review
• Developers
• Designers
• QA
WHERE DOES IT FIT?
• Pages
• Page
sections
• Developers
• Designers
• QA
• Others
WHERE DOES IT FIT?
• Staging vs.
Production
• Ops
• QA
WHERE DOES IT FIT?
• Monitoring
• Ops
• QA
QUESTIONS?

More Related Content

What's hot

Appium Mobile Test Automation like WebDriver
Appium Mobile Test Automation like WebDriverAppium Mobile Test Automation like WebDriver
Appium Mobile Test Automation like WebDriver
Andrii Dzynia
 
Key note Manish and Deepa
Key note Manish and DeepaKey note Manish and Deepa
Key note Manish and Deepa
vodQA
 

What's hot (20)

Intro to Visual Test Automation with Applitools Eyes
Intro to Visual Test Automation with Applitools Eyes Intro to Visual Test Automation with Applitools Eyes
Intro to Visual Test Automation with Applitools Eyes
 
What is Sauce Labs?
What is Sauce Labs? What is Sauce Labs?
What is Sauce Labs?
 
Awesome Test Automation Made Simple w/ Dave Haeffner
Awesome Test Automation Made Simple w/ Dave HaeffnerAwesome Test Automation Made Simple w/ Dave Haeffner
Awesome Test Automation Made Simple w/ Dave Haeffner
 
Introduction to automated visual testing
Introduction to automated visual testingIntroduction to automated visual testing
Introduction to automated visual testing
 
10 things you didnt know about appium + whats new in appium 1.5
10 things you didnt know about appium + whats new in appium 1.510 things you didnt know about appium + whats new in appium 1.5
10 things you didnt know about appium + whats new in appium 1.5
 
Learnings from Hybrid App Testing Jijesh Mohan
Learnings from Hybrid App Testing Jijesh MohanLearnings from Hybrid App Testing Jijesh Mohan
Learnings from Hybrid App Testing Jijesh Mohan
 
Selenium conference, 2016
Selenium conference, 2016Selenium conference, 2016
Selenium conference, 2016
 
Everything You Need To Know about Appium and Selenium
Everything You Need To Know about Appium and SeleniumEverything You Need To Know about Appium and Selenium
Everything You Need To Know about Appium and Selenium
 
Simplify CI with the Updated Jenkins Plugin for Sauce Labs
Simplify CI with the Updated Jenkins Plugin for Sauce LabsSimplify CI with the Updated Jenkins Plugin for Sauce Labs
Simplify CI with the Updated Jenkins Plugin for Sauce Labs
 
Selenium Based Visual Test Automation
Selenium Based Visual Test AutomationSelenium Based Visual Test Automation
Selenium Based Visual Test Automation
 
Appium Mobile Test Automation like WebDriver
Appium Mobile Test Automation like WebDriverAppium Mobile Test Automation like WebDriver
Appium Mobile Test Automation like WebDriver
 
Easy Continuous Deployment You Can Trust (Webinar)
Easy Continuous Deployment You Can Trust (Webinar)Easy Continuous Deployment You Can Trust (Webinar)
Easy Continuous Deployment You Can Trust (Webinar)
 
Improving Android app testing with Appium and Sauce Labs
Improving Android app testing with Appium and Sauce LabsImproving Android app testing with Appium and Sauce Labs
Improving Android app testing with Appium and Sauce Labs
 
Key note Manish and Deepa
Key note Manish and DeepaKey note Manish and Deepa
Key note Manish and Deepa
 
What's New With Appium? From 1.0 to Now
What's New With Appium? From 1.0 to NowWhat's New With Appium? From 1.0 to Now
What's New With Appium? From 1.0 to Now
 
Appium
AppiumAppium
Appium
 
Sauce Labs for Visual Studio Team Services & TFS
Sauce Labs for Visual Studio Team Services & TFSSauce Labs for Visual Studio Team Services & TFS
Sauce Labs for Visual Studio Team Services & TFS
 
Colorful world-of-visual-automation-testing-latest
Colorful world-of-visual-automation-testing-latestColorful world-of-visual-automation-testing-latest
Colorful world-of-visual-automation-testing-latest
 
How to level-up your Selenium tests with Visual Testing #SeleniumCamp
How to level-up your Selenium tests with Visual Testing #SeleniumCampHow to level-up your Selenium tests with Visual Testing #SeleniumCamp
How to level-up your Selenium tests with Visual Testing #SeleniumCamp
 
Getting Started with Mobile Test Automation & Appium
Getting Started with Mobile Test Automation & AppiumGetting Started with Mobile Test Automation & Appium
Getting Started with Mobile Test Automation & Appium
 

Viewers also liked

Viewers also liked (14)

Advanced visual testing of web and mobile applications
Advanced visual testing of web and mobile applicationsAdvanced visual testing of web and mobile applications
Advanced visual testing of web and mobile applications
 
Selenium-based Visual Test Automation
Selenium-based Visual Test AutomationSelenium-based Visual Test Automation
Selenium-based Visual Test Automation
 
When & How to Successfully use Test Automation for Mobile Applications
When & How to Successfully use Test Automation for Mobile ApplicationsWhen & How to Successfully use Test Automation for Mobile Applications
When & How to Successfully use Test Automation for Mobile Applications
 
Automated Testing with Selenium and Bamboo - Atlassian Summit 2010 - Lightnin...
Automated Testing with Selenium and Bamboo - Atlassian Summit 2010 - Lightnin...Automated Testing with Selenium and Bamboo - Atlassian Summit 2010 - Lightnin...
Automated Testing with Selenium and Bamboo - Atlassian Summit 2010 - Lightnin...
 
Automated testing with visual studio 2010
Automated testing with visual studio 2010Automated testing with visual studio 2010
Automated testing with visual studio 2010
 
Advanced Visual Test Automation with Selenium
Advanced Visual Test Automation with SeleniumAdvanced Visual Test Automation with Selenium
Advanced Visual Test Automation with Selenium
 
PayPal's NemoJS and Applitools Eyes - Visual Testing with Node.js
PayPal's NemoJS and Applitools Eyes - Visual Testing with Node.jsPayPal's NemoJS and Applitools Eyes - Visual Testing with Node.js
PayPal's NemoJS and Applitools Eyes - Visual Testing with Node.js
 
Selenium-Grid-Extras
Selenium-Grid-ExtrasSelenium-Grid-Extras
Selenium-Grid-Extras
 
Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...
Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...
Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...
 
*Webinar* Learn from the Experts: How to Boost Test Coverage with Automated V...
*Webinar* Learn from the Experts: How to Boost Test Coverage with Automated V...*Webinar* Learn from the Experts: How to Boost Test Coverage with Automated V...
*Webinar* Learn from the Experts: How to Boost Test Coverage with Automated V...
 
Agile QA presentation
Agile QA presentationAgile QA presentation
Agile QA presentation
 
Test automation - What? Why? How?
Test automation - What? Why? How?Test automation - What? Why? How?
Test automation - What? Why? How?
 
Grading the Quality of Selenium Tests
Grading the Quality of Selenium TestsGrading the Quality of Selenium Tests
Grading the Quality of Selenium Tests
 
Agile QA Process
Agile QA ProcessAgile QA Process
Agile QA Process
 

Similar to Sauce Labs+Applitools - Automated Visual Testing in the Cloud

UI Test Cases With CloudStack
UI Test Cases With CloudStackUI Test Cases With CloudStack
UI Test Cases With CloudStack
ShapeBlue
 
Automating development-operations-v1
Automating development-operations-v1Automating development-operations-v1
Automating development-operations-v1
Sumanth Vepa
 

Similar to Sauce Labs+Applitools - Automated Visual Testing in the Cloud (20)

Cloud for Agile Testing - Burak Koyuncu
Cloud for Agile Testing - Burak KoyuncuCloud for Agile Testing - Burak Koyuncu
Cloud for Agile Testing - Burak Koyuncu
 
Web Automation Testing for developers?
Web Automation Testing for developers?Web Automation Testing for developers?
Web Automation Testing for developers?
 
Continuous Testing in the Cloud
Continuous Testing in the CloudContinuous Testing in the Cloud
Continuous Testing in the Cloud
 
Webinar: Automate Your Environment Provisioning for Mobile App Development
Webinar: Automate Your Environment Provisioning for Mobile App Development Webinar: Automate Your Environment Provisioning for Mobile App Development
Webinar: Automate Your Environment Provisioning for Mobile App Development
 
Mobile Automation with Appium
Mobile Automation with AppiumMobile Automation with Appium
Mobile Automation with Appium
 
Growing Trends of Open Source UI Frameworks
Growing Trends of Open Source UI FrameworksGrowing Trends of Open Source UI Frameworks
Growing Trends of Open Source UI Frameworks
 
Automated Browser Testing
Automated Browser TestingAutomated Browser Testing
Automated Browser Testing
 
Web Application Software Testing
Web Application Software TestingWeb Application Software Testing
Web Application Software Testing
 
Cross browser testing
Cross browser testingCross browser testing
Cross browser testing
 
UI Test Cases With CloudStack
UI Test Cases With CloudStackUI Test Cases With CloudStack
UI Test Cases With CloudStack
 
Azure Cloud Application Development Workshop - UGIdotNET
Azure Cloud Application Development Workshop - UGIdotNETAzure Cloud Application Development Workshop - UGIdotNET
Azure Cloud Application Development Workshop - UGIdotNET
 
Parallel Test execution in Cypress with CI/CD
Parallel Test execution in Cypress with CI/CDParallel Test execution in Cypress with CI/CD
Parallel Test execution in Cypress with CI/CD
 
Automating development-operations-v1
Automating development-operations-v1Automating development-operations-v1
Automating development-operations-v1
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
 
anoverviewofseleniumwebdriver-160407055026 (pdf.io).pdf
anoverviewofseleniumwebdriver-160407055026 (pdf.io).pdfanoverviewofseleniumwebdriver-160407055026 (pdf.io).pdf
anoverviewofseleniumwebdriver-160407055026 (pdf.io).pdf
 
AWS Summit Auckland - Application Delivery Patterns for Developers
AWS Summit Auckland - Application Delivery Patterns for DevelopersAWS Summit Auckland - Application Delivery Patterns for Developers
AWS Summit Auckland - Application Delivery Patterns for Developers
 
Front-End Test Fest Keynote: The State of the Union for Front End Testing.pdf
Front-End Test Fest Keynote: The State of the Union for Front End Testing.pdfFront-End Test Fest Keynote: The State of the Union for Front End Testing.pdf
Front-End Test Fest Keynote: The State of the Union for Front End Testing.pdf
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS
 
REAN Cloud DevOps Accelerators
REAN Cloud DevOps AcceleratorsREAN Cloud DevOps Accelerators
REAN Cloud DevOps Accelerators
 

More from Sauce Labs

Your Framework for Success: introduction to JavaScript Testing at Scale
Your Framework for Success: introduction to JavaScript Testing at ScaleYour Framework for Success: introduction to JavaScript Testing at Scale
Your Framework for Success: introduction to JavaScript Testing at Scale
Sauce Labs
 
Automating Hybrid Applications with Appium
Automating Hybrid Applications with AppiumAutomating Hybrid Applications with Appium
Automating Hybrid Applications with Appium
Sauce Labs
 
Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI Testing
Sauce Labs
 
Creating Digital Confidence with Test Automation
Creating Digital Confidence with Test AutomationCreating Digital Confidence with Test Automation
Creating Digital Confidence with Test Automation
Sauce Labs
 

More from Sauce Labs (20)

Simplify Salesforce Testing with AI-Driven Codeless Tools
Simplify Salesforce Testing with AI-Driven Codeless ToolsSimplify Salesforce Testing with AI-Driven Codeless Tools
Simplify Salesforce Testing with AI-Driven Codeless Tools
 
Testing on Mobile Devices with Location Services
Testing on Mobile Devices with Location ServicesTesting on Mobile Devices with Location Services
Testing on Mobile Devices with Location Services
 
Your Framework for Success: introduction to JavaScript Testing at Scale
Your Framework for Success: introduction to JavaScript Testing at ScaleYour Framework for Success: introduction to JavaScript Testing at Scale
Your Framework for Success: introduction to JavaScript Testing at Scale
 
Automating Hybrid Applications with Appium
Automating Hybrid Applications with AppiumAutomating Hybrid Applications with Appium
Automating Hybrid Applications with Appium
 
Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI Testing
 
Creating Digital Confidence with Test Automation
Creating Digital Confidence with Test AutomationCreating Digital Confidence with Test Automation
Creating Digital Confidence with Test Automation
 
Just Enough (Automated) Testing
Just Enough (Automated) TestingJust Enough (Automated) Testing
Just Enough (Automated) Testing
 
Using Axe to Add Accessibility Checks to Your Existing Selenium Tests
Using Axe to Add Accessibility Checks to Your Existing Selenium TestsUsing Axe to Add Accessibility Checks to Your Existing Selenium Tests
Using Axe to Add Accessibility Checks to Your Existing Selenium Tests
 
How Open Source Helps to Bring Back Product Obsession
How Open Source Helps to Bring Back Product ObsessionHow Open Source Helps to Bring Back Product Obsession
How Open Source Helps to Bring Back Product Obsession
 
Webinar: A Sneak Peek at Selenium 4 with Simon Stewart
Webinar: A Sneak Peek at Selenium 4 with Simon StewartWebinar: A Sneak Peek at Selenium 4 with Simon Stewart
Webinar: A Sneak Peek at Selenium 4 with Simon Stewart
 
[Deu] Test Automatisierung Mit Web Driver.io
[Deu] Test Automatisierung Mit Web Driver.io[Deu] Test Automatisierung Mit Web Driver.io
[Deu] Test Automatisierung Mit Web Driver.io
 
Accelerating Innovation: Leveraging Open Source to Optimize Your Shift-Left I...
Accelerating Innovation: Leveraging Open Source to Optimize Your Shift-Left I...Accelerating Innovation: Leveraging Open Source to Optimize Your Shift-Left I...
Accelerating Innovation: Leveraging Open Source to Optimize Your Shift-Left I...
 
Accelerating Your Digital Agenda with Continuous Testing ft. Forrester
Accelerating Your Digital Agenda with Continuous Testing ft. ForresterAccelerating Your Digital Agenda with Continuous Testing ft. Forrester
Accelerating Your Digital Agenda with Continuous Testing ft. Forrester
 
How to Measure Success in Continuous Testing
How to Measure Success in Continuous TestingHow to Measure Success in Continuous Testing
How to Measure Success in Continuous Testing
 
From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...
From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...
From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...
 
5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation
 
Sauce Labs Webinar: Rising Importance of Software Testing
Sauce Labs Webinar: Rising Importance of Software TestingSauce Labs Webinar: Rising Importance of Software Testing
Sauce Labs Webinar: Rising Importance of Software Testing
 
BDD With Selenide by Hima Bindu Peteti
BDD With Selenide by Hima Bindu PetetiBDD With Selenide by Hima Bindu Peteti
BDD With Selenide by Hima Bindu Peteti
 
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
 
Continuous Delivery for "Mature" Codebases by Melisa Benua
Continuous Delivery for "Mature" Codebases by Melisa BenuaContinuous Delivery for "Mature" Codebases by Melisa Benua
Continuous Delivery for "Mature" Codebases by Melisa Benua
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
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
  • 2. AGENDA  Why automatedvisual testing?  Challengesin visualtestautomation  Demo#1: Visualtestautomationwith ApplitoolsEyes  Demo#2: Cross-browser testingin thecloud with SauceLabs  Demo#3: Runninga cross-browser visualtestinthe cloud  When toperformautomatedvisual testing?  Q&A
  • 3. WHAT IS VISUAL TESTING? A qualityassurance activity aimed to verify that a Graphical User Interface appears correctly to users
  • 6. WHY SHOULD IT BE AUTOMATED? THE TEST MATRIX IS TOO BIG TO APPROXIMATE MANUALLY  Webbrowsers  Devices  Operating systems  Screen resolutions  Responsive designs  L10n
  • 7. WHY SHOULD IT BE AUTOMATED?
  • 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
  • 10. AGENDA  Why automatedvisualtesting?  Challenges invisualtestautomation  Demo#1: Visualtestautomationwith ApplitoolsEyes  Demo#2: Cross-browser testingin thecloud withSauceLabs  Demo#3: Running a cross-browser visualtestin thecloud  Whentoperformvisual testing?  Q&A
  • 11. THE WORKFLOW Drive the AUT and take screenshots Compare screenshots with baseline images Report differences Update the baseline
  • 12. THE CHALLENGES Drive the AUT and take screenshots Compare screenshots with baseline images Report differences Update the baseline
  • 13. SCALABILITY CHALLENGES Image comparison  False positives  Dynamic data Baseline maintenance  Multiplebaselines  Non-localityof changes
  • 14.
  • 24. ANDMORE… 1 pixeloffsets in elementpositioning Dynamic content Movingelements Images ofdifferentsize Performance
  • 25. AGENDA  Why automatedvisual testing?  Challengesin visual test automation  Demo #1: Visualtest automationwith ApplitoolsEyes  Demo #2: Cross-browser testingin thecloud with SauceLabs  Demo #3: Runninga cross-browser visual test in thecloud  Whento perform visual testing?  Q&A
  • 27. Agenda • Sauce Labs Overview • Demo of Selenium on Sauce OnDemand
  • 28. What is Sauce Labs?
  • 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
  • 38. AGENDA  Why automatedvisualtesting?  Challengesin visualtestautomation  Demo#1: Visualtestautomationwith ApplitoolsEyes  Demo#2: Cross-browser testingin thecloud with SauceLabs  Demo#3: Visualtestautomationin thecloud  When toperform visualtesting?  Q&A
  • 39. WHERE DOES IT FIT? • Component s • Code review • Developers • Designers • QA
  • 40. WHERE DOES IT FIT? • Pages • Page sections • Developers • Designers • QA • Others
  • 41. WHERE DOES IT FIT? • Staging vs. Production • Ops • QA
  • 42. WHERE DOES IT FIT? • Monitoring • Ops • QA

Editor's Notes

  1. Most tools are for web apps except for FBSnapshotTestCase which is for IOS and Eyes which is platform agnostic.
  2. * Does not apply to fighting layout bugs.
  3. * Does not apply to fighting layout bugs.
  4. Like Boromir said…
  5. 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.
  6. .
  7. 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
  8. 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.
  9. 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.
  10. 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.
  11. 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
  12. 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.
  13. 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.
  14. 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.
  15. CSS files and HTML falling out of sync CSS changes with unexpected global implications. Frontend refactoring.
  16. Project / Product managers (collaboration)
  17. Data from external sources Not enough time to test pre-production Missing components in deployment.