SlideShare a Scribd company logo
 
	
  
	
  
	
  
	
  
T21	
  
Test	
  Automation	
  
10/5/17	
  15:00	
  
	
  
	
  
	
  
	
  
The	
  Pothole	
  of	
  Automating	
  Too	
  Much	
  
	
  
Presented	
  by:	
  
	
  
Paul	
  Holland	
  
	
  Medidata	
  Solutions,	
  Inc.	
  
	
  
Brought	
  to	
  you	
  by:	
  	
  
	
  	
  
	
  
	
  
	
  
	
  
	
  
350	
  Corporate	
  Way,	
  Suite	
  400,	
  Orange	
  Park,	
  FL	
  32073	
  	
  
888-­‐-­‐-­‐268-­‐-­‐-­‐8770	
  ·∙·∙	
  904-­‐-­‐-­‐278-­‐-­‐-­‐0524	
  -­‐	
  info@techwell.com	
  -­‐	
  http://www.starwest.techwell.com/	
  	
  	
  
	
  
	
  	
  
	
  
	
  
Paul	
  Holland	
  
Medidata	
  Solutions,	
  Inc.	
  
	
  
With	
  more	
  than	
  twenty	
  years’	
  experience	
  in	
  software	
  testing,	
  Paul	
  Holland	
  is	
  a	
  
senior	
  director	
  of	
  test	
  engineering	
  at	
  New	
  York	
  City-­‐based	
  Medidata	
  Solutions,	
  
Inc.	
  Previously,	
  he	
  spent	
  two	
  years	
  as	
  head	
  of	
  testing	
  at	
  a	
  small	
  consultancy,	
  two	
  
years	
  as	
  the	
  principal	
  consultant/owner	
  at	
  Testing	
  Thoughts,	
  and	
  seventeen	
  years	
  
at	
  Alcatel-­‐Lucent.	
  Paul	
  specializes	
  in	
  adapting	
  testing	
  methodologies	
  to	
  reduce	
  
waste,	
  and	
  to	
  increase	
  effectiveness	
  and	
  efficiency	
  by	
  finding	
  ways	
  to	
  document	
  
only	
  what	
  needs	
  to	
  be	
  documented,	
  modifying	
  reporting	
  of	
  test	
  activities	
  to	
  
provide	
  actionable	
  information	
  to	
  stakeholders,	
  and	
  reducing	
  or	
  eliminating	
  
potentially	
  harmful	
  metrics.	
  Paul	
  is	
  one	
  of	
  four	
  instructors	
  of	
  the	
  Rapid	
  Software	
  
Testing	
  course,	
  developed	
  by	
  James	
  Bach	
  and	
  Michael	
  Bolton.	
  
	
  
The Pothole of Trying to
Automate too Much
Paul Holland,
Sr. Director, Test Engineering at Medidata
September, 2017
27 September 2017
My Background
Ø Sr. Director Test Engineering at Medidata since 2016
Ø S/W Testing consultant since 2012-2016
Ø 20+ years testing telecommunications equipment and
reworking test methodologies at Alcatel-Lucent
Ø 15+ years as a test manager/director
Ø Frequent conference speaker
Ø Teacher of S/W testing for the past 7 years
Ø Teacher of Rapid Software Testing
Ø Military Helicopter pilot – Canadian Sea Kings
227 September 2017
Disclaimer / Clarification
Ø When I talk about “automation” in this
presentation, I am referring to UI level
automation – typically coded by SDETs or
Testers
Ø I am not talking about unit level
automation – typically created by
developers
Ø I am also not talking about Integration or API
level automation – typically written by people
who wish they had a different job (just kidding)
327 September 2017
Automation …
Ø Automation will (likely) NOT
• Increase your coverage
• Decrease your costs
• Save you time
• Allow you to reduce headcount
Ø Automation CAN
• Give you a decent sanity check of your
product
• Execute in less time than a human performing
the same checks
427 September 2017
Execute
An Experience Report
Ø System Test team had raised 1260 bugs
over one year – attributed to scripts
Ø Analysis of whether they were found by
the script or by a vigilant tester
Ø Findings:
• 70% of the bugs were found by a vigilant
tester
• i.e.: They probably would NOT have been
found by automation
Nortel Networks
27 September 2017
(when it was still a thing)
5
Metaphor: Your Software = USA
Paths through the software = roads in the country
27 September 2017 6
A lot More Automation
27 September 2017 7
A Big Problem
827 September 2017
There are more roads than we can possibly test
A Big Problem
927 September 2017
There are more roads than we can possibly test
A Big Problem
1027 September 2017
There are more roads than we can possibly test
A Big Problem
11
There are more roads than we can possibly test
27 September 2017
Another Experience Report
Ø A decision was made to write an automated test for
every requirement
Ø Why?
• To save time?
• Reduce headcount?
• To catch more bugs?
• To increase coverage?
• To future proof the product?
• To make management feel better?
Ø Probably ALL of these reasons
12
A Large Insurance Company
27 September 2017
(initially)
Another Experience Report
Ø When I analyzed their testing situation:
• They had an EXCELLENT automation framework
(modular, dereferenced calls, etc)
• They had over 2500 scripts
• Testing all written requirements
• Not ALL requirements, however, just the written ones
• Any bug that did not contradict a requirement was not
a bug – until a requirement was created – then the
bug could be entered
13
A Large Insurance Company
27 September 2017
Another Experience Report
Ø When I analyzed their testing situation:
• 13 outsourced testers in India took 2 weeks to
execute them and investigate failures
• About 40% of the scripts failed on each execution
• They would get re-executed and if they passed then
“no problem”
• If it still failed they had to find out why and either
update the script or raise a bug
• On average this team found 6 defects a month
• I pair tested the product for 20 min and found 5 bugs
14
A Large Insurance Company
27 September 2017
Problem 1
There are more kinds of
problems than automation can
be programmed to recognize
Vigilant testers can observe and
evaluate a very large variety of outputs
and also vary the inputs to test new
code paths – story about web page rendering
1527 September 2017
Problem 2
There are more checks to
automate than can possibly be
written
1627 September 2017
Problem 3
Some things are too difficult to
automate effectively
Complex pass/fail algorithms
Perhaps could be done quickly by
humans
1727 September 2017
Problem 4
Investigating reported failures
takes a long time
UI level automation tends to be fragile
and often breaks when code changes
If investigation does not happen then
why run the tests?
1827 September 2017
Problem 5
Automation is expensive to build
and maintain
High cost to value ratio
Sunk cost syndrome
1927 September 2017
Better Solution
A Strategic Mixed Approach:
Ø Automate critical paths
Ø Automate paths with the highest use
Ø Do NOT write automation for all failures found
in the field
Ø Consider the cost of automation vs. benefit
• Difficulty to create
• Difficulty to maintain (frequency of changes)
• Difficulty to analyze failures
Ø Augment automation by performing “testing” (by
actual humans)
2027 September 2017

More Related Content

PDF
Test Driven Development
PPTX
Unit testing for project managers
PDF
Extreme programming talk wise consulting - www.talkwiseconsulting
PPT
TestIT Software Assurance
PPTX
ATDD with SpecFlow
PPTX
QA Fest 2017. Ilari Henrik Aegerter. Complexity Thinking, Cynefin & Why Your ...
PDF
Way to Agile - USTH
PDF
Continuous Testing: A Key to DevOps Success
Test Driven Development
Unit testing for project managers
Extreme programming talk wise consulting - www.talkwiseconsulting
TestIT Software Assurance
ATDD with SpecFlow
QA Fest 2017. Ilari Henrik Aegerter. Complexity Thinking, Cynefin & Why Your ...
Way to Agile - USTH
Continuous Testing: A Key to DevOps Success

What's hot (20)

PDF
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
PPTX
Humans by the hundred (DevOps Days Ohio)
PDF
Try: Fail, Try: Succeed by Tim Grant
PDF
Shawn Wallace - Test automation in brownfield applications
PPTX
One trunk one pipeline one truth
PPTX
10 signs your testing is not enough
PDF
7 steps to pragmatic mobile testing
PPTX
SRE-iously: Defining the Principles, Habits, and Practices of Site Reliabilit...
PDF
Free Yourself From the MS Office Prison
PPT
Hans-Henrik Olesen - What to Automate and What not to Automate
PDF
Automation As An Ally
PDF
Design for Testability in Practice
PDF
Pivotal agile development_the_software-defined_enterprise
 
PDF
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
PPTX
Continuous Delivery & Testing Madrid AfterTest
DOCX
Resume_StevenTeng_OnePage
PPTX
O'Reilly Webcast: How Nordstrom Prepares Its Site for Holidays and Major Events
PDF
The Future Is Bright
PPTX
Knowing Where to Tap
PPTX
Continuous Quality: What DevOps Means for QA
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Humans by the hundred (DevOps Days Ohio)
Try: Fail, Try: Succeed by Tim Grant
Shawn Wallace - Test automation in brownfield applications
One trunk one pipeline one truth
10 signs your testing is not enough
7 steps to pragmatic mobile testing
SRE-iously: Defining the Principles, Habits, and Practices of Site Reliabilit...
Free Yourself From the MS Office Prison
Hans-Henrik Olesen - What to Automate and What not to Automate
Automation As An Ally
Design for Testability in Practice
Pivotal agile development_the_software-defined_enterprise
 
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
Continuous Delivery & Testing Madrid AfterTest
Resume_StevenTeng_OnePage
O'Reilly Webcast: How Nordstrom Prepares Its Site for Holidays and Major Events
The Future Is Bright
Knowing Where to Tap
Continuous Quality: What DevOps Means for QA
Ad

Similar to The Pothole of Automating Too Much (20)

PDF
Behavior Driven Development—A Guide to Agile Practices
PDF
Test Automation on Large Agile Projects: It's Not a Cakewalk
PDF
How to test a Mainframe Application
PDF
Quality for DevOps teams - Quality engineering in the DevOps culture
PDF
Test Automation: Investment Today Pays Back Tomorrow
PDF
Enhancing Quality and Test in Medical Device Design - Part 2.pdf
 
PDF
Testing and DevOps: Organizations and Their Culture Must Change
PDF
What to Do—Develop Your Own Automation or Use Crowdsourced Testing?
PPT
Future of QA
PPT
Futureofqa
PDF
CWIN17 New-York / Drive continuous delivery with continous testing
PPTX
Consulting
PDF
The Leaders Guide to Getting Started with Automated Testing
PDF
Jump Start Agile Testing with Acceptance Test Driven Development
PPTX
Test_Automation_-_Let's_Talk_Business.ppt
PDF
Behavior Driven Development—A Guide to Agile Practices by Josh Eastman
PDF
Keynote 2 - The 20% of software engineering practices that contribute to 80% ...
PPTX
Test Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
PDF
Agile testing
PDF
Next Gen Continuous Delivery: Connecting Business Initiatives to the IT Roadmap
Behavior Driven Development—A Guide to Agile Practices
Test Automation on Large Agile Projects: It's Not a Cakewalk
How to test a Mainframe Application
Quality for DevOps teams - Quality engineering in the DevOps culture
Test Automation: Investment Today Pays Back Tomorrow
Enhancing Quality and Test in Medical Device Design - Part 2.pdf
 
Testing and DevOps: Organizations and Their Culture Must Change
What to Do—Develop Your Own Automation or Use Crowdsourced Testing?
Future of QA
Futureofqa
CWIN17 New-York / Drive continuous delivery with continous testing
Consulting
The Leaders Guide to Getting Started with Automated Testing
Jump Start Agile Testing with Acceptance Test Driven Development
Test_Automation_-_Let's_Talk_Business.ppt
Behavior Driven Development—A Guide to Agile Practices by Josh Eastman
Keynote 2 - The 20% of software engineering practices that contribute to 80% ...
Test Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
Agile testing
Next Gen Continuous Delivery: Connecting Business Initiatives to the IT Roadmap
Ad

More from TechWell (20)

PDF
Failing and Recovering
PDF
Instill a DevOps Testing Culture in Your Team and Organization
PDF
Test Design for Fully Automated Build Architecture
PDF
System-Level Test Automation: Ensuring a Good Start
PDF
Build Your Mobile App Quality and Test Strategy
PDF
Testing Transformation: The Art and Science for Success
PDF
Implement BDD with Cucumber and SpecFlow
PDF
Develop WebDriver Automated Tests—and Keep Your Sanity
PDF
Ma 15
PDF
Eliminate Cloud Waste with a Holistic DevOps Strategy
PDF
Transform Test Organizations for the New World of DevOps
PDF
The Fourth Constraint in Project Delivery—Leadership
PDF
Resolve the Contradiction of Specialists within Agile Teams
PDF
Pin the Tail on the Metric: A Field-Tested Agile Game
PDF
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
PDF
A Business-First Approach to DevOps Implementation
PDF
Databases in a Continuous Integration/Delivery Process
PDF
Mobile Testing: What—and What Not—to Automate
PDF
Cultural Intelligence: A Key Skill for Success
PDF
Turn the Lights On: A Power Utility Company's Agile Transformation
Failing and Recovering
Instill a DevOps Testing Culture in Your Team and Organization
Test Design for Fully Automated Build Architecture
System-Level Test Automation: Ensuring a Good Start
Build Your Mobile App Quality and Test Strategy
Testing Transformation: The Art and Science for Success
Implement BDD with Cucumber and SpecFlow
Develop WebDriver Automated Tests—and Keep Your Sanity
Ma 15
Eliminate Cloud Waste with a Holistic DevOps Strategy
Transform Test Organizations for the New World of DevOps
The Fourth Constraint in Project Delivery—Leadership
Resolve the Contradiction of Specialists within Agile Teams
Pin the Tail on the Metric: A Field-Tested Agile Game
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
A Business-First Approach to DevOps Implementation
Databases in a Continuous Integration/Delivery Process
Mobile Testing: What—and What Not—to Automate
Cultural Intelligence: A Key Skill for Success
Turn the Lights On: A Power Utility Company's Agile Transformation

Recently uploaded (20)

PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
AI in Product Development-omnex systems
PPTX
history of c programming in notes for students .pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Nekopoi APK 2025 free lastest update
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
top salesforce developer skills in 2025.pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Transform Your Business with a Software ERP System
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Digital Strategies for Manufacturing Companies
How to Choose the Right IT Partner for Your Business in Malaysia
AI in Product Development-omnex systems
history of c programming in notes for students .pptx
Design an Analysis of Algorithms I-SECS-1021-03
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Nekopoi APK 2025 free lastest update
Design an Analysis of Algorithms II-SECS-1021-03
top salesforce developer skills in 2025.pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Transform Your Business with a Software ERP System
CHAPTER 2 - PM Management and IT Context
PTS Company Brochure 2025 (1).pdf.......
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Wondershare Filmora 15 Crack With Activation Key [2025
Digital Strategies for Manufacturing Companies

The Pothole of Automating Too Much

  • 1.           T21   Test  Automation   10/5/17  15:00           The  Pothole  of  Automating  Too  Much     Presented  by:     Paul  Holland    Medidata  Solutions,  Inc.     Brought  to  you  by:                   350  Corporate  Way,  Suite  400,  Orange  Park,  FL  32073     888-­‐-­‐-­‐268-­‐-­‐-­‐8770  ·∙·∙  904-­‐-­‐-­‐278-­‐-­‐-­‐0524  -­‐  info@techwell.com  -­‐  http://www.starwest.techwell.com/                
  • 2. Paul  Holland   Medidata  Solutions,  Inc.     With  more  than  twenty  years’  experience  in  software  testing,  Paul  Holland  is  a   senior  director  of  test  engineering  at  New  York  City-­‐based  Medidata  Solutions,   Inc.  Previously,  he  spent  two  years  as  head  of  testing  at  a  small  consultancy,  two   years  as  the  principal  consultant/owner  at  Testing  Thoughts,  and  seventeen  years   at  Alcatel-­‐Lucent.  Paul  specializes  in  adapting  testing  methodologies  to  reduce   waste,  and  to  increase  effectiveness  and  efficiency  by  finding  ways  to  document   only  what  needs  to  be  documented,  modifying  reporting  of  test  activities  to   provide  actionable  information  to  stakeholders,  and  reducing  or  eliminating   potentially  harmful  metrics.  Paul  is  one  of  four  instructors  of  the  Rapid  Software   Testing  course,  developed  by  James  Bach  and  Michael  Bolton.    
  • 3. The Pothole of Trying to Automate too Much Paul Holland, Sr. Director, Test Engineering at Medidata September, 2017 27 September 2017
  • 4. My Background Ø Sr. Director Test Engineering at Medidata since 2016 Ø S/W Testing consultant since 2012-2016 Ø 20+ years testing telecommunications equipment and reworking test methodologies at Alcatel-Lucent Ø 15+ years as a test manager/director Ø Frequent conference speaker Ø Teacher of S/W testing for the past 7 years Ø Teacher of Rapid Software Testing Ø Military Helicopter pilot – Canadian Sea Kings 227 September 2017
  • 5. Disclaimer / Clarification Ø When I talk about “automation” in this presentation, I am referring to UI level automation – typically coded by SDETs or Testers Ø I am not talking about unit level automation – typically created by developers Ø I am also not talking about Integration or API level automation – typically written by people who wish they had a different job (just kidding) 327 September 2017
  • 6. Automation … Ø Automation will (likely) NOT • Increase your coverage • Decrease your costs • Save you time • Allow you to reduce headcount Ø Automation CAN • Give you a decent sanity check of your product • Execute in less time than a human performing the same checks 427 September 2017 Execute
  • 7. An Experience Report Ø System Test team had raised 1260 bugs over one year – attributed to scripts Ø Analysis of whether they were found by the script or by a vigilant tester Ø Findings: • 70% of the bugs were found by a vigilant tester • i.e.: They probably would NOT have been found by automation Nortel Networks 27 September 2017 (when it was still a thing) 5
  • 8. Metaphor: Your Software = USA Paths through the software = roads in the country 27 September 2017 6
  • 9. A lot More Automation 27 September 2017 7
  • 10. A Big Problem 827 September 2017 There are more roads than we can possibly test
  • 11. A Big Problem 927 September 2017 There are more roads than we can possibly test
  • 12. A Big Problem 1027 September 2017 There are more roads than we can possibly test
  • 13. A Big Problem 11 There are more roads than we can possibly test 27 September 2017
  • 14. Another Experience Report Ø A decision was made to write an automated test for every requirement Ø Why? • To save time? • Reduce headcount? • To catch more bugs? • To increase coverage? • To future proof the product? • To make management feel better? Ø Probably ALL of these reasons 12 A Large Insurance Company 27 September 2017 (initially)
  • 15. Another Experience Report Ø When I analyzed their testing situation: • They had an EXCELLENT automation framework (modular, dereferenced calls, etc) • They had over 2500 scripts • Testing all written requirements • Not ALL requirements, however, just the written ones • Any bug that did not contradict a requirement was not a bug – until a requirement was created – then the bug could be entered 13 A Large Insurance Company 27 September 2017
  • 16. Another Experience Report Ø When I analyzed their testing situation: • 13 outsourced testers in India took 2 weeks to execute them and investigate failures • About 40% of the scripts failed on each execution • They would get re-executed and if they passed then “no problem” • If it still failed they had to find out why and either update the script or raise a bug • On average this team found 6 defects a month • I pair tested the product for 20 min and found 5 bugs 14 A Large Insurance Company 27 September 2017
  • 17. Problem 1 There are more kinds of problems than automation can be programmed to recognize Vigilant testers can observe and evaluate a very large variety of outputs and also vary the inputs to test new code paths – story about web page rendering 1527 September 2017
  • 18. Problem 2 There are more checks to automate than can possibly be written 1627 September 2017
  • 19. Problem 3 Some things are too difficult to automate effectively Complex pass/fail algorithms Perhaps could be done quickly by humans 1727 September 2017
  • 20. Problem 4 Investigating reported failures takes a long time UI level automation tends to be fragile and often breaks when code changes If investigation does not happen then why run the tests? 1827 September 2017
  • 21. Problem 5 Automation is expensive to build and maintain High cost to value ratio Sunk cost syndrome 1927 September 2017
  • 22. Better Solution A Strategic Mixed Approach: Ø Automate critical paths Ø Automate paths with the highest use Ø Do NOT write automation for all failures found in the field Ø Consider the cost of automation vs. benefit • Difficulty to create • Difficulty to maintain (frequency of changes) • Difficulty to analyze failures Ø Augment automation by performing “testing” (by actual humans) 2027 September 2017