SlideShare a Scribd company logo
1 of 27
Guidelines to Measuring Test Automation ROI
2 | Quest 2019 perfecto.io
About Me
Eran Kinsbruner
• Chief Evangelist at Perfecto (A Perforce Company)
• Blogger and Speaker
• http://continuoustesting.blog
• https://enterprisersproject.com/user/eran-kinsbruner
• https://www.testcraft.io/author/eran/
• https://www.infoworld.com/author/Eran-Kinsbruner/
• 19+ Years in Development & Testing
• Author of:
• The Digital Quality Handbook
• Continuous Testing for DevOps Professionals
• Twitter: @ek121268
3 | Quest 2019 perfecto.io
Agenda
1
2
3
4
5
How to build a compelling business case for automation.
The criteria needed for a successful transformation from manual to automated testing.
Tips for Test Automation.
Q&A
AI and ML capabilities for test creation and analysis.
Building a Business Case for Test Automation
Shift Left: Manual vs. Automated Testing Impact
Test AUTOMATION – What to Automate?
1. What’s the test engineer’s gut
feeling 😊
2. Risk calculated as probability to
occur and impact to customers
3. Value – does the test provide new
information and, if failed, how much
time to fix?
4. Cost efficiency to develop – how
long does it take to develop and how
easy is it to script?
5. History of test – volume of historical
failures in related areas and
frequency of breaks
Source: Angie Jones
Test Automation Pillars – TCO Example
Successful Transformation from Manual to Automation
I N T E R A C T I V E
T E S T S
UI/UX manual tests
Balancing Test Creation for the Three Different
Personas With the Right Tools
O P T I M I Z E D M O D E L
Developers & SDETs
(Code-Based)
Business Testers
Ownership (Codeless)
Business Testers
Ownership
10 | Quest 2019 perfecto.io
Selection Criteria:
Technical Fit &
Skills
SDLC
process fit
(integration,
plug-ins,
Skills etc.)
Community
size, support
and Doc’s
Feedback
loop and
reporting
Automation
Coverage
Cloud and
automation
at scale
Automation
Robustness
and
Maintainability
Test Coverage Fundamentals
Web Traffic AnalyticsMost Used Mobile Platforms
Selecting the Right Test Cases
Step 1: Acknowledge Your Pipeline Testing Requirements
P L AT F O R M C O V E R A G E T H R O U G H O U T T H E D E V O P S P I P E L I N E
Step 2: Gather Testing Productivity Metrics
• Measurable Metrics:
• Test suite size — Number of unique test cases (Unit, Regression, Non-Functional, etc.).
• Average time per test — Time in minutes (2-3 minutes is a best practice).
• Test execution — Number of hours a cycle should run (Nightly, per build).
• Soft Metrics:
• Platforms specific — Defects history, unique features support, etc.
• Analytics data
• Tests specific — Test flakiness and inconsistency.
Step 3: Size Your Digital Lab
Coverage
Bucket
Number of
Unique Tests
(Regression
Suite)
Average Time
Per Test
Execution
Window
(Hours)
Test Execution
Time
(Serial)
Parallel Test
Execution
Requirement
Cost Avoidance
(Business Tester
Annual Salary
Input)
Essential
(Top 10)
150 3 Minutes 8 Hours 4500 Minutes
(75 Hours)
9 67 Hours Saved
($3,500 per
cycle)
Enhanced
(Top 25)
150 3 Minutes 8 Hours 11,250 Minutes
(187.5 Hours)
23 180 Hours Saved
($8640 per cycle)
Extended
(Top 32)
150 3 Minutes 8 Hours 14,400 Minutes
(240 Hours)
30 232 Hours Saved
($11,136 per
cycle)
AI & ML in Test Creation and Reporting
Test Creation – Cost Comparison (ML vs. Coding)
Comparison Item SDET (Appium) Business Tester (Codeless) Comments
Annual Salary (Average) ~$150K ~$100K Salary may vary based on
geography
Software/HW Cost ~$12K $0 No need to download, dedicate
servers etc. for test automation
software
Time to Create 1 Test ~6 Hours ~1 hour Codeless leverages record and
playback
Time to Maintain ~30% ~5%
Monthly Test Creation Capacity 18 New Cases Per Engineer (160 -
48 (30% main.)/ 6 hours per test)
~150 New cases Per testers Assuming 160 working hours a
month (8 x 5 x 4)
Average Cost per Test $700 per test $55 per test Dividing annual salary in 12 and
with the amount of test capacity
Defining Machine Learning (ML)
An algorithm which gives a statistic answer to well-
defined question based on previous results
Key ML Use Cases In Test Automation
• Stable and low maintenance automation through smart object recognition (Smart
Creation)
• Transcribe speech – Accessibility
• Make quality related decisions based on data (Smart Reporting)
• Identify Trends and/or Patterns within the pipeline
Error Classification and Test Productivity
Object Identification Weights Based on History
Closing Tips for Test Automation
There Are Patterns for “Unstable” Test Automation
80% of issues have a pattern52% success rate
10% of devices,
causing 80% of lab
issues
Lab
25%
Orchestr
ation
25%
Scripts &
FW
50%
FAILURE REASON
Objects Codding Time Other
Scripts & FW issues
Device in use
No Device
Orchestration issues
Networking Stability Lock
Other
Lab issues
What’s
wrong
With my
Scripts
What’s wrong
With my Lab
What’s wrong
With my
Executions
Are you Measuring your DRE?
DRE (Defect Removal Efficiency) =
Defects removed during the development phase
Defects detected later in the cycle (UAT, Production)
x 100%
Coverage, Lack and late automation testing, designed for testability, unit testing, outdated environments/platforms
Criteria Appium Espresso XCUITests
Language Any Java Swift/Objective-C
By Open source Google Apple
App supported APK and IPA APK IPA
Code required No Yes * Yes
Testtype Black box White box White box
Speed 8t t 2t
Setup Hard Easy Medium
CI Medium Easy Hard
Flakiness of test Very Low Low
Object Locators Xpath (external) Id (from R file) Id
Used by QA Android dev* iOS dev*
Open-Source Mobile Automation Frameworks Comparison
USAA Tool Selection
• Define needed capabilities
• Identify importance (weight capabilities)
• Define scoring key
Weight Selection Criteria Tool X (weighted) Tool Y (weighted) Tool Z (weighted)
5 (High importance) End to End Testing 3 5 x 3 = 15 3 5 x 3 = 15 3 5 x 3 = 15
3 (Medium importance) BDD/ATDD Friendly 3 3 x 3 = 9 2 3 x 2 = 6 3 3 x 3 = 9
5 (High importance) Tool Documentation 0 5 x 0 = 0 2 5 x 2 = 10 2 5 x 2 = 10
1 (Low importance) Visual Navigation Testing 3 1 x 3 = 3 3 1 x3 = 3 2 1 x 2 = 2
Total 27 34 36
Scoring Key
0 – Did not meet expectations
2 – Met expectations
3 – Exceeded expectations
 Guidelines to Measuring Test Automation ROI
 Guidelines to Measuring Test Automation ROI

More Related Content

What's hot

ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)
ISTQB®
 

What's hot (20)

Salt City Digital - Automation Testing
Salt City Digital - Automation TestingSalt City Digital - Automation Testing
Salt City Digital - Automation Testing
 
ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)
 
ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4
 
Automation test scripting techniques
Automation test scripting techniquesAutomation test scripting techniques
Automation test scripting techniques
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Guideto Successful Application Test Automation
Guideto Successful Application Test AutomationGuideto Successful Application Test Automation
Guideto Successful Application Test Automation
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & Analysis
 
Software test automation_overview
Software test automation_overviewSoftware test automation_overview
Software test automation_overview
 
CORRECT-ToolDemo-ASE2016
CORRECT-ToolDemo-ASE2016CORRECT-ToolDemo-ASE2016
CORRECT-ToolDemo-ASE2016
 
Ruud van Houwelingen - What Next for MBT? Implementing with Tools
Ruud van Houwelingen -  What Next for MBT? Implementing with Tools Ruud van Houwelingen -  What Next for MBT? Implementing with Tools
Ruud van Houwelingen - What Next for MBT? Implementing with Tools
 
Istqb foundation level
Istqb foundation levelIstqb foundation level
Istqb foundation level
 
Test Automation
Test AutomationTest Automation
Test Automation
 
tulasi
tulasitulasi
tulasi
 
Common Web UI Problems Transforming Manual to Automation
Common Web UI Problems Transforming Manual to Automation Common Web UI Problems Transforming Manual to Automation
Common Web UI Problems Transforming Manual to Automation
 
Key Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework SuccessKey Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework Success
 
Qtp - Introduction values
Qtp - Introduction valuesQtp - Introduction values
Qtp - Introduction values
 
Why Test Automation Fails
Why Test Automation FailsWhy Test Automation Fails
Why Test Automation Fails
 
Regulated Software Testing - Griffin Jones - TISQA 2014
Regulated Software Testing  - Griffin Jones - TISQA 2014Regulated Software Testing  - Griffin Jones - TISQA 2014
Regulated Software Testing - Griffin Jones - TISQA 2014
 
ISTQB Foundation Level Certification - Intruduction
ISTQB Foundation Level Certification - IntruductionISTQB Foundation Level Certification - Intruduction
ISTQB Foundation Level Certification - Intruduction
 
Automated Testing with Agile
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with Agile
 

Similar to Guidelines to Measuring Test Automation ROI

Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
Quontra Solutions
 

Similar to Guidelines to Measuring Test Automation ROI (20)

How to Guarantee Continuous Value from your Test Automation
How to Guarantee Continuous Value from your Test AutomationHow to Guarantee Continuous Value from your Test Automation
How to Guarantee Continuous Value from your Test Automation
 
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web TestingThe Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
 
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas HaverThe Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
 
How to Clean Up Your Continuous Testing Suites for Web & Mobile
How to Clean Up Your Continuous Testing Suites for Web & MobileHow to Clean Up Your Continuous Testing Suites for Web & Mobile
How to Clean Up Your Continuous Testing Suites for Web & Mobile
 
Test Automation in Agile
Test Automation in AgileTest Automation in Agile
Test Automation in Agile
 
Sanjay Sharma
Sanjay SharmaSanjay Sharma
Sanjay Sharma
 
Creating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerCreating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran Kinsbruner
 
Susan windsor soft test 16th november 2005
Susan windsor soft test   16th november 2005Susan windsor soft test   16th november 2005
Susan windsor soft test 16th november 2005
 
Agile testing
Agile testingAgile testing
Agile testing
 
Gcs day1
Gcs day1Gcs day1
Gcs day1
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lesson
 
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
 
Fundamentals Performance Testing
Fundamentals Performance TestingFundamentals Performance Testing
Fundamentals Performance Testing
 
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
 
Building functional Quality Gates with ReportPortal
Building functional Quality Gates with ReportPortalBuilding functional Quality Gates with ReportPortal
Building functional Quality Gates with ReportPortal
 
Enhancing Software Quality
Enhancing Software QualityEnhancing Software Quality
Enhancing Software Quality
 
Real Testing Scenario Strategy - Bringing It All Together For Success
Real Testing Scenario Strategy - Bringing It All Together For SuccessReal Testing Scenario Strategy - Bringing It All Together For Success
Real Testing Scenario Strategy - Bringing It All Together For Success
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
 
Software Quality and Test Strategies for Ruby and Rails Applications
Software Quality and Test Strategies for Ruby and Rails ApplicationsSoftware Quality and Test Strategies for Ruby and Rails Applications
Software Quality and Test Strategies for Ruby and Rails Applications
 
Test Automation for QTP
Test Automation for QTPTest Automation for QTP
Test Automation for QTP
 

More from Perfecto by Perforce

How to Scale Digital App Testing With Jenkins & Automation You Can Trust
How to Scale Digital App Testing With Jenkins & Automation You Can TrustHow to Scale Digital App Testing With Jenkins & Automation You Can Trust
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
Perfecto by Perforce
 
How to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best Practices
How to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best PracticesHow to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best Practices
How to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best Practices
Perfecto by Perforce
 
Best Practices for Shifting Left Performance and Accessibility Testing
Best Practices for Shifting Left Performance and Accessibility TestingBest Practices for Shifting Left Performance and Accessibility Testing
Best Practices for Shifting Left Performance and Accessibility Testing
Perfecto by Perforce
 

More from Perfecto by Perforce (20)

Is BDD Worth It? Considerations for Advanced Test Automation
Is BDD Worth It? Considerations for Advanced Test AutomationIs BDD Worth It? Considerations for Advanced Test Automation
Is BDD Worth It? Considerations for Advanced Test Automation
 
Yoda debunks the top 5 challenges of continuous testing in the cloud
Yoda debunks the top 5 challenges of continuous testing in the cloudYoda debunks the top 5 challenges of continuous testing in the cloud
Yoda debunks the top 5 challenges of continuous testing in the cloud
 
5 Mobile App Trends & What They Mean for Dev & Testing
5 Mobile App Trends & What They Mean for Dev & Testing5 Mobile App Trends & What They Mean for Dev & Testing
5 Mobile App Trends & What They Mean for Dev & Testing
 
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
How to Scale Digital App Testing With Jenkins & Automation You Can TrustHow to Scale Digital App Testing With Jenkins & Automation You Can Trust
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
 
Mastering Cross-Browser Test Automation With Cypress and Selenium
Mastering Cross-Browser Test Automation With Cypress and SeleniumMastering Cross-Browser Test Automation With Cypress and Selenium
Mastering Cross-Browser Test Automation With Cypress and Selenium
 
Cloud Testing Has Never Been Easier or More Accessible
Cloud Testing Has Never Been Easier or More AccessibleCloud Testing Has Never Been Easier or More Accessible
Cloud Testing Has Never Been Easier or More Accessible
 
Cognitive Engineering - Shifting Right with Gated.AI Testing - DevOps Next
Cognitive Engineering - Shifting Right with Gated.AI Testing - DevOps NextCognitive Engineering - Shifting Right with Gated.AI Testing - DevOps Next
Cognitive Engineering - Shifting Right with Gated.AI Testing - DevOps Next
 
The Rise and Benefits of Robotic Process Automation (RPA) - DevOps Next
The Rise and Benefits of Robotic Process Automation (RPA) - DevOps NextThe Rise and Benefits of Robotic Process Automation (RPA) - DevOps Next
The Rise and Benefits of Robotic Process Automation (RPA) - DevOps Next
 
The New Categories of Software Defects in the Era of AI and ML - DevOps Next
The New Categories of Software Defects in the Era of AI and ML - DevOps NextThe New Categories of Software Defects in the Era of AI and ML - DevOps Next
The New Categories of Software Defects in the Era of AI and ML - DevOps Next
 
Moving to Modern DevOps with Fuzzing and ML - DevOps Next
Moving to Modern DevOps with Fuzzing and ML - DevOps NextMoving to Modern DevOps with Fuzzing and ML - DevOps Next
Moving to Modern DevOps with Fuzzing and ML - DevOps Next
 
Leveraging AI and ML in Test Management Systems - DevOps Next
Leveraging AI and ML in Test Management Systems - DevOps NextLeveraging AI and ML in Test Management Systems - DevOps Next
Leveraging AI and ML in Test Management Systems - DevOps Next
 
How Does AIOps Benefit DevOps Pipeline and Software Quality? - DevOps Next
How Does AIOps Benefit DevOps Pipeline and Software Quality? - DevOps NextHow Does AIOps Benefit DevOps Pipeline and Software Quality? - DevOps Next
How Does AIOps Benefit DevOps Pipeline and Software Quality? - DevOps Next
 
Classification of Advanced AI and ML Testing Tools - DevOps Next
Classification of Advanced AI and ML Testing Tools - DevOps NextClassification of Advanced AI and ML Testing Tools - DevOps Next
Classification of Advanced AI and ML Testing Tools - DevOps Next
 
Automated Code Reviews with AI and ML - DevOps Next
Automated Code Reviews with AI and ML - DevOps NextAutomated Code Reviews with AI and ML - DevOps Next
Automated Code Reviews with AI and ML - DevOps Next
 
Advancing the State of The Art in AI and Testing - DevOps Next
Advancing the State of The Art in AI and Testing - DevOps NextAdvancing the State of The Art in AI and Testing - DevOps Next
Advancing the State of The Art in AI and Testing - DevOps Next
 
How to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best Practices
How to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best PracticesHow to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best Practices
How to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best Practices
 
How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...
How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...
How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...
 
Fast Data, Fast Delivery: How Smart Analysis Accelerates App Testing
Fast Data, Fast Delivery: How Smart Analysis Accelerates App TestingFast Data, Fast Delivery: How Smart Analysis Accelerates App Testing
Fast Data, Fast Delivery: How Smart Analysis Accelerates App Testing
 
Best Practices for Shifting Left Performance and Accessibility Testing
Best Practices for Shifting Left Performance and Accessibility TestingBest Practices for Shifting Left Performance and Accessibility Testing
Best Practices for Shifting Left Performance and Accessibility Testing
 
Deliver Flawless Mobile Apps Faster with CI/CD & CT
Deliver Flawless Mobile Apps Faster with CI/CD & CTDeliver Flawless Mobile Apps Faster with CI/CD & CT
Deliver Flawless Mobile Apps Faster with CI/CD & CT
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
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, ...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 

Guidelines to Measuring Test Automation ROI

  • 1. Guidelines to Measuring Test Automation ROI
  • 2. 2 | Quest 2019 perfecto.io About Me Eran Kinsbruner • Chief Evangelist at Perfecto (A Perforce Company) • Blogger and Speaker • http://continuoustesting.blog • https://enterprisersproject.com/user/eran-kinsbruner • https://www.testcraft.io/author/eran/ • https://www.infoworld.com/author/Eran-Kinsbruner/ • 19+ Years in Development & Testing • Author of: • The Digital Quality Handbook • Continuous Testing for DevOps Professionals • Twitter: @ek121268
  • 3. 3 | Quest 2019 perfecto.io Agenda 1 2 3 4 5 How to build a compelling business case for automation. The criteria needed for a successful transformation from manual to automated testing. Tips for Test Automation. Q&A AI and ML capabilities for test creation and analysis.
  • 4. Building a Business Case for Test Automation
  • 5. Shift Left: Manual vs. Automated Testing Impact
  • 6. Test AUTOMATION – What to Automate? 1. What’s the test engineer’s gut feeling 😊 2. Risk calculated as probability to occur and impact to customers 3. Value – does the test provide new information and, if failed, how much time to fix? 4. Cost efficiency to develop – how long does it take to develop and how easy is it to script? 5. History of test – volume of historical failures in related areas and frequency of breaks Source: Angie Jones
  • 7. Test Automation Pillars – TCO Example
  • 8. Successful Transformation from Manual to Automation
  • 9. I N T E R A C T I V E T E S T S UI/UX manual tests Balancing Test Creation for the Three Different Personas With the Right Tools O P T I M I Z E D M O D E L Developers & SDETs (Code-Based) Business Testers Ownership (Codeless) Business Testers Ownership
  • 10. 10 | Quest 2019 perfecto.io Selection Criteria: Technical Fit & Skills SDLC process fit (integration, plug-ins, Skills etc.) Community size, support and Doc’s Feedback loop and reporting Automation Coverage Cloud and automation at scale Automation Robustness and Maintainability
  • 11. Test Coverage Fundamentals Web Traffic AnalyticsMost Used Mobile Platforms Selecting the Right Test Cases
  • 12. Step 1: Acknowledge Your Pipeline Testing Requirements P L AT F O R M C O V E R A G E T H R O U G H O U T T H E D E V O P S P I P E L I N E
  • 13. Step 2: Gather Testing Productivity Metrics • Measurable Metrics: • Test suite size — Number of unique test cases (Unit, Regression, Non-Functional, etc.). • Average time per test — Time in minutes (2-3 minutes is a best practice). • Test execution — Number of hours a cycle should run (Nightly, per build). • Soft Metrics: • Platforms specific — Defects history, unique features support, etc. • Analytics data • Tests specific — Test flakiness and inconsistency.
  • 14. Step 3: Size Your Digital Lab Coverage Bucket Number of Unique Tests (Regression Suite) Average Time Per Test Execution Window (Hours) Test Execution Time (Serial) Parallel Test Execution Requirement Cost Avoidance (Business Tester Annual Salary Input) Essential (Top 10) 150 3 Minutes 8 Hours 4500 Minutes (75 Hours) 9 67 Hours Saved ($3,500 per cycle) Enhanced (Top 25) 150 3 Minutes 8 Hours 11,250 Minutes (187.5 Hours) 23 180 Hours Saved ($8640 per cycle) Extended (Top 32) 150 3 Minutes 8 Hours 14,400 Minutes (240 Hours) 30 232 Hours Saved ($11,136 per cycle)
  • 15. AI & ML in Test Creation and Reporting
  • 16. Test Creation – Cost Comparison (ML vs. Coding) Comparison Item SDET (Appium) Business Tester (Codeless) Comments Annual Salary (Average) ~$150K ~$100K Salary may vary based on geography Software/HW Cost ~$12K $0 No need to download, dedicate servers etc. for test automation software Time to Create 1 Test ~6 Hours ~1 hour Codeless leverages record and playback Time to Maintain ~30% ~5% Monthly Test Creation Capacity 18 New Cases Per Engineer (160 - 48 (30% main.)/ 6 hours per test) ~150 New cases Per testers Assuming 160 working hours a month (8 x 5 x 4) Average Cost per Test $700 per test $55 per test Dividing annual salary in 12 and with the amount of test capacity
  • 17. Defining Machine Learning (ML) An algorithm which gives a statistic answer to well- defined question based on previous results
  • 18. Key ML Use Cases In Test Automation • Stable and low maintenance automation through smart object recognition (Smart Creation) • Transcribe speech – Accessibility • Make quality related decisions based on data (Smart Reporting) • Identify Trends and/or Patterns within the pipeline
  • 19. Error Classification and Test Productivity
  • 20. Object Identification Weights Based on History
  • 21. Closing Tips for Test Automation
  • 22. There Are Patterns for “Unstable” Test Automation 80% of issues have a pattern52% success rate 10% of devices, causing 80% of lab issues Lab 25% Orchestr ation 25% Scripts & FW 50% FAILURE REASON Objects Codding Time Other Scripts & FW issues Device in use No Device Orchestration issues Networking Stability Lock Other Lab issues What’s wrong With my Scripts What’s wrong With my Lab What’s wrong With my Executions
  • 23. Are you Measuring your DRE? DRE (Defect Removal Efficiency) = Defects removed during the development phase Defects detected later in the cycle (UAT, Production) x 100% Coverage, Lack and late automation testing, designed for testability, unit testing, outdated environments/platforms
  • 24. Criteria Appium Espresso XCUITests Language Any Java Swift/Objective-C By Open source Google Apple App supported APK and IPA APK IPA Code required No Yes * Yes Testtype Black box White box White box Speed 8t t 2t Setup Hard Easy Medium CI Medium Easy Hard Flakiness of test Very Low Low Object Locators Xpath (external) Id (from R file) Id Used by QA Android dev* iOS dev* Open-Source Mobile Automation Frameworks Comparison
  • 25. USAA Tool Selection • Define needed capabilities • Identify importance (weight capabilities) • Define scoring key Weight Selection Criteria Tool X (weighted) Tool Y (weighted) Tool Z (weighted) 5 (High importance) End to End Testing 3 5 x 3 = 15 3 5 x 3 = 15 3 5 x 3 = 15 3 (Medium importance) BDD/ATDD Friendly 3 3 x 3 = 9 2 3 x 2 = 6 3 3 x 3 = 9 5 (High importance) Tool Documentation 0 5 x 0 = 0 2 5 x 2 = 10 2 5 x 2 = 10 1 (Low importance) Visual Navigation Testing 3 1 x 3 = 3 3 1 x3 = 3 2 1 x 2 = 2 Total 27 34 36 Scoring Key 0 – Did not meet expectations 2 – Met expectations 3 – Exceeded expectations

Editor's Notes

  1. How to build a compelling business case for automation. The criteria needed for a successful transformation from manual to automated testing. Key metrics that need to be baked into the ROI calculator. Cost-saving examples for implementing test automation while considering AI and ML capabilities for test creation and analysis.