SlideShare a Scribd company logo
Continuous Testing Odyssey: Learn Best Practices
for End-to-End WebApp Testing
Subu Baskaran, Sr. Product Manager at Sencha
Titus Fortner, Solutions Architect at Sauce Labs
CONFIDENTIAL • Sencha Inc. ©2016
Web Application - Automated Testing
• Set Business Quality Goals
• Time to Market
• Customer Satisfaction
• Application Longevity
• Repercussions of No-Automation
Strategic
• Define ROI
• Timeline
• Current Team Setup
• Application Maturity
• Test Design
• Finally, Which Tool?
Tactical
CONFIDENTIAL • Sencha Inc. ©2016
Why Test
• Good Quality Boosts Value of Business
• Increases Longevity of Application
• Boosts Team Morale
• Good Product == Happy Customer
CONFIDENTIAL • Sencha Inc. ©2016
Quality First - Ext JS Framework Testing
FrameworkTests Data
Total number of tests executed across different framework versions 420,000 (approximately)
Total number of virtual machines (VM) used for test execution in parallel 50
Execution infrastructure Sauce Labs
Types of tests executed Unit, Integration, End-to-End
Test Execution Time 20 Minutes – 1 Hour*
Tests Executed Every PR, Every Continuous Build, Nightly
CI tool TeamCity
Test Framework Used Jasmine, Selenium with Test Runner built in-house
(grandfather of stc)
CONFIDENTIAL • Sencha Inc. ©2016
Sencha Process
Developer
submits PR
Bot
monitors
for source
code
changes
Kicks off
tests by
merging PR
against
branch
Approve
PR if no
failure
Repeat
actions for
PRs from
all
developers
Run
continuous
build once
PRs are
merged
with the
master
CONFIDENTIAL • Sencha Inc. ©2016
Test Execution
• Concurrent test runs speeds up test execution
• Split up tests into smaller chunks into multiple VMs
• Result aggregation at the end of execution
CONFIDENTIAL • Sencha Inc. ©2016
Automated Testing
CONFIDENTIAL • Sencha Inc. ©2016
How to Test
• Test Design
• Separation of Concerns
• Pragmatic Approach
• Remember: 100% Automation is NOT the Goal
CONFIDENTIAL • Sencha Inc. ©2016
Test Design
9
CONFIDENTIAL • Sencha Inc. ©2016
Types of Test
• Rendered
• Visible
• EnabledDisabled
• Visual Testing
• Text
UI Components
• Correct Price is Displayed
• Grid Shows the Right Value
• Form Displays the Correct Content
• Workflow Progression
Business Logic
CONFIDENTIAL • Sencha Inc. ©2016
Finding Elements
Common Traps
• ID
• XPath
• CSS Selector
Angular
• by.model
• by.binding
• by.css
Ext JS
• xtype
• ItemID
CONFIDENTIAL • Sencha Inc. ©2016
Test Automation in DevOps
• One Step Integration With CI Tools
• Run Tests on Browser Farms Leveraging Multiple Machines
• Unattended Test Execution
• Storage of Results in Centralized Location
• Results Analysis in Matrix Format
Continuous Integration
Demo
Resources
• Visit the Sencha booth at SauceCon June 6-8 in San Francisco
• Learn more about Sencha Test: https://www.sencha.com/products/test/#overview
• Try Sencha Test Free for 30 Days: https://www.sencha.com/products/test/evaluate/
• Read our Whitepaper The Evolving Landscape of Web Application Testing:
https://www.sencha.com/wp-content/uploads/2016/05/The-Evolving-Landscape-of-Web-
Application-Testing-white-paper-screen.pdf
Q&A
Thank You!

More Related Content

PDF
SauceCon 2017: test.allTheThings(): Digital Edition
PDF
SauceCon 2017: Making Your Mobile App Automatable
PDF
SauceCon 2017: Building a Continuous Delivery Pipeline with Testing in Mind
PDF
SauceCon 2017: Testing @ the Speed of Concurrency
PPTX
BDD Selenium for Agile Teams - User Stories
PDF
An Introduction to Appium Desktop
PPTX
Appium vs Espresso and XCUI Test
PDF
SauceCon 2017: Mobile Test Pyramid
SauceCon 2017: test.allTheThings(): Digital Edition
SauceCon 2017: Making Your Mobile App Automatable
SauceCon 2017: Building a Continuous Delivery Pipeline with Testing in Mind
SauceCon 2017: Testing @ the Speed of Concurrency
BDD Selenium for Agile Teams - User Stories
An Introduction to Appium Desktop
Appium vs Espresso and XCUI Test
SauceCon 2017: Mobile Test Pyramid

What's hot (20)

PDF
SauceCon 2017: Are Manual Testers Needed In Automated DevOps World?
PDF
Using Selenium To Test Mobile? Meet Appium!
PDF
Managers, Future Proof Your Automation
PPTX
Best Practices in Mobile CI (webinar)
PPTX
Real Devices or Emulators: Wen to use What for Automated Testing
PDF
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
POTX
Simplify CI with the Updated Jenkins Plugin for Sauce Labs
PDF
App center an overview
PDF
One Test To Rule Them All - Conquer Android and iOS With One Script
PPTX
Bringing Quality Design Systems to Life with Storybook & Applitools
PPTX
An Overview of Selenium
PDF
Awesome Test Automation Made Simple w/ Dave Haeffner
PPTX
Mobile performance metrics and performance monitoring meetup 2017 05 10
PPTX
Do You Enjoy Espresso in Android App Testing?
PDF
Beyond Appium: Testing with Espresso & the Real Device Cloud
PDF
Measuring your way_to_successful_automation_webinar
PPTX
Live Panel: Appium Core Committers Answer Your Questions
PPTX
Parallel testing with appium
PDF
Stop Testing (Only) The Functionality of Your Mobile Apps!
PPTX
Managing Continuous Delivery of Mobile Apps - for the Enterprise
SauceCon 2017: Are Manual Testers Needed In Automated DevOps World?
Using Selenium To Test Mobile? Meet Appium!
Managers, Future Proof Your Automation
Best Practices in Mobile CI (webinar)
Real Devices or Emulators: Wen to use What for Automated Testing
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Simplify CI with the Updated Jenkins Plugin for Sauce Labs
App center an overview
One Test To Rule Them All - Conquer Android and iOS With One Script
Bringing Quality Design Systems to Life with Storybook & Applitools
An Overview of Selenium
Awesome Test Automation Made Simple w/ Dave Haeffner
Mobile performance metrics and performance monitoring meetup 2017 05 10
Do You Enjoy Espresso in Android App Testing?
Beyond Appium: Testing with Espresso & the Real Device Cloud
Measuring your way_to_successful_automation_webinar
Live Panel: Appium Core Committers Answer Your Questions
Parallel testing with appium
Stop Testing (Only) The Functionality of Your Mobile Apps!
Managing Continuous Delivery of Mobile Apps - for the Enterprise
Ad

Similar to Continuous Testing Odyssey: Learn Best Practices for End-to-End Web App Testing (20)

PDF
Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
PDF
Learn Key Insights from The State of Web Application Testing Research Report
PPTX
SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...
PDF
Web application automated testing types and tools
PPTX
Testing Web Apps and APIs (1)
PPTX
Testing Web Apps and API's
PDF
Use Jenkins For Continuous Load Testing And Mobile Test Automation
PDF
Web Application Testing – The Basics of Web App Test Automation.pdf
PDF
A Complete Guide to Web Apps Testing.pdf
PDF
Enabling continuous deployment of pixel-perfect user interfaces
PDF
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
PDF
11 Top Cross Browser Testing Tools to Know About.pdf
PDF
11 Top Cross Browser Testing Tools to Know About.pdf
PPTX
SenchaCon 2016: How Sencha Test Helps Automate Functional Testing of Ext JS M...
PDF
A Complete Guide to Web App Testing.pdf file
PDF
Testing the way it should be
PPTX
17 Ways to Save Time on Manual Cross Browser Testing
PDF
Cross Browser Testing: El reto de la eficiencia
PDF
Introducing the Applitools Self Healing Execution Cloud.pdf
PDF
STARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test Automation
Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
Learn Key Insights from The State of Web Application Testing Research Report
SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...
Web application automated testing types and tools
Testing Web Apps and APIs (1)
Testing Web Apps and API's
Use Jenkins For Continuous Load Testing And Mobile Test Automation
Web Application Testing – The Basics of Web App Test Automation.pdf
A Complete Guide to Web Apps Testing.pdf
Enabling continuous deployment of pixel-perfect user interfaces
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
11 Top Cross Browser Testing Tools to Know About.pdf
11 Top Cross Browser Testing Tools to Know About.pdf
SenchaCon 2016: How Sencha Test Helps Automate Functional Testing of Ext JS M...
A Complete Guide to Web App Testing.pdf file
Testing the way it should be
17 Ways to Save Time on Manual Cross Browser Testing
Cross Browser Testing: El reto de la eficiencia
Introducing the Applitools Self Healing Execution Cloud.pdf
STARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test Automation
Ad

More from Sauce Labs (20)

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

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Machine learning based COVID-19 study performance prediction
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Programs and apps: productivity, graphics, security and other tools
Dropbox Q2 2025 Financial Results & Investor Presentation
Per capita expenditure prediction using model stacking based on satellite ima...
MIND Revenue Release Quarter 2 2025 Press Release
Review of recent advances in non-invasive hemoglobin estimation
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Electronic commerce courselecture one. Pdf
NewMind AI Weekly Chronicles - August'25 Week I
Spectral efficient network and resource selection model in 5G networks
Machine learning based COVID-19 study performance prediction
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation_ Review paper, used for researhc scholars
The Rise and Fall of 3GPP – Time for a Sabbatical?
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...

Continuous Testing Odyssey: Learn Best Practices for End-to-End Web App Testing

  • 1. Continuous Testing Odyssey: Learn Best Practices for End-to-End WebApp Testing Subu Baskaran, Sr. Product Manager at Sencha Titus Fortner, Solutions Architect at Sauce Labs
  • 2. CONFIDENTIAL • Sencha Inc. ©2016 Web Application - Automated Testing • Set Business Quality Goals • Time to Market • Customer Satisfaction • Application Longevity • Repercussions of No-Automation Strategic • Define ROI • Timeline • Current Team Setup • Application Maturity • Test Design • Finally, Which Tool? Tactical
  • 3. CONFIDENTIAL • Sencha Inc. ©2016 Why Test • Good Quality Boosts Value of Business • Increases Longevity of Application • Boosts Team Morale • Good Product == Happy Customer
  • 4. CONFIDENTIAL • Sencha Inc. ©2016 Quality First - Ext JS Framework Testing FrameworkTests Data Total number of tests executed across different framework versions 420,000 (approximately) Total number of virtual machines (VM) used for test execution in parallel 50 Execution infrastructure Sauce Labs Types of tests executed Unit, Integration, End-to-End Test Execution Time 20 Minutes – 1 Hour* Tests Executed Every PR, Every Continuous Build, Nightly CI tool TeamCity Test Framework Used Jasmine, Selenium with Test Runner built in-house (grandfather of stc)
  • 5. CONFIDENTIAL • Sencha Inc. ©2016 Sencha Process Developer submits PR Bot monitors for source code changes Kicks off tests by merging PR against branch Approve PR if no failure Repeat actions for PRs from all developers Run continuous build once PRs are merged with the master
  • 6. CONFIDENTIAL • Sencha Inc. ©2016 Test Execution • Concurrent test runs speeds up test execution • Split up tests into smaller chunks into multiple VMs • Result aggregation at the end of execution
  • 7. CONFIDENTIAL • Sencha Inc. ©2016 Automated Testing
  • 8. CONFIDENTIAL • Sencha Inc. ©2016 How to Test • Test Design • Separation of Concerns • Pragmatic Approach • Remember: 100% Automation is NOT the Goal
  • 9. CONFIDENTIAL • Sencha Inc. ©2016 Test Design 9
  • 10. CONFIDENTIAL • Sencha Inc. ©2016 Types of Test • Rendered • Visible • EnabledDisabled • Visual Testing • Text UI Components • Correct Price is Displayed • Grid Shows the Right Value • Form Displays the Correct Content • Workflow Progression Business Logic
  • 11. CONFIDENTIAL • Sencha Inc. ©2016 Finding Elements Common Traps • ID • XPath • CSS Selector Angular • by.model • by.binding • by.css Ext JS • xtype • ItemID
  • 12. CONFIDENTIAL • Sencha Inc. ©2016 Test Automation in DevOps • One Step Integration With CI Tools • Run Tests on Browser Farms Leveraging Multiple Machines • Unattended Test Execution • Storage of Results in Centralized Location • Results Analysis in Matrix Format Continuous Integration
  • 13. Demo
  • 14. Resources • Visit the Sencha booth at SauceCon June 6-8 in San Francisco • Learn more about Sencha Test: https://www.sencha.com/products/test/#overview • Try Sencha Test Free for 30 Days: https://www.sencha.com/products/test/evaluate/ • Read our Whitepaper The Evolving Landscape of Web Application Testing: https://www.sencha.com/wp-content/uploads/2016/05/The-Evolving-Landscape-of-Web- Application-Testing-white-paper-screen.pdf
  • 15. Q&A