SlideShare a Scribd company logo
1 of 32
Download to read offline
Test automation – the
bitter truth
Some unpleasant truths about “test automation”
Be a part of the show!
Ask a question or leave your feedback at:
https://www.sli.do/ using code #7346
Before we start, few
prerequisites:
Here’s a story …
What do testers imagine when they see “manual
testing”?
• Ineffective
• Boring
• Slow
• Easy to perform by anyone
• Mindless banging of keys
What do managers feel when they speak of
“manual testing”?
• “You are wasting too
much time. “
• “We have too much
testers”
• “We can easily automate
what you do.”
• “You are not reliable”
How both managers and testers react when
someone mentions “automation”?
• Totally fangirling
• We will reduce costs
• We will have more time for
“manual” testing
• I will only hit the “Run”
button and it will test on
its own
What do testers imagine, when they speak of
“test automation”?
About me
• Senior Software tester at
http://siteground.com
• Lecturer at Pragmatic
• Interested in software testing from
scientific perspective
• Would never say “Machines will replace
us”, because I don’t believe it!
• Blogger at: http://mrslavchev.com
Definitions:
Manual testing:
Totally useless term
Failure to provide value by executing
“steps”
Please, don’t dumb down your
expertise by calling it “manual
testing”
Better term: Analytical
testing, Human testing or just
Testing
Automation testing:
Made up “unicorn” term
False belief that testing is simple
sequence of steps
Relies on false belief that testing is
automate-able
Better term: Tool assisted
testing, automated checking,
automation in testing,
programmatic testing
No “manual” and “automation” testing
• Testing is not a car
transmission
• Not all tasks in testing
are equally automate-able
• Testing is analytical
human activity
• Has nothing to do with
hands or manuals
No hate intended
• I actually love coding and resolving
problems in a programmatic way!
• I love testing, too
• I hate it, when false expectations of
testing are spread
• We need to say some “bitter truths” in
order to set things right
• So think of them as “medicines”
Bitter truth #1:
You can’t automate “all the tests”
Activities we perform during testing
Tasks that are easily automatable
Confirmation / Verification
Low level checking
Precision
Functional correctness
Deterministic tests
Solving machine problems
But automation sucks when dealing with:
Exploration
Unanticipated risks
Qualitative evaluation
Open ended questions
Adaptive learning
Solving human problems
Inspired by:Things Could Get Worse- Michael
Bolton
Bitter truth #2:
Test automation won’t decrease
cost of testing
And that’s not even half the truth
Things we hear about automation:
It will decrease time
It will run faster
It’s more reliable
It’s cost effective
Thing is … it’s only
execution cost
How automation can increase cost:
Cost of tools/time
Development
Maintenance
Debugging your own
code
Make the madaf***r
work!
Bitter truth #3:
Don’t think automatic testing,
think programmatic testing
Why does this distinction matter?
Automated testing
Implies testing is fully
automatable
Implies human testing is
replaceable with tools
Defines testing as simple
execution of steps
Looks at testing as test
execution, only
Programmatic testing
Record and play tools =
totally useless!
Understanding of limitations
Understanding of the
approach
Understanding of goals
Bitter truth #4:
Your testing code sux, just like
any other
Because…
Things that testers often forget:
We are “mere mortals” like
anyone else
We design bad tests
We sometimes have no ides
what the f**k are we up to
Testing code is not pixie
dust
What should be our focus, instead?
Why are you automating?
Value?
Development approach
Infrastructure and
maintenance
Testing your own code
Bitter truth #5:
Automation is not human testing
on steroids
The nature of “automation”:
We still use “test
automation” without
realizing what it means
There’s plenty of
analytical “brain” work
automation can’t do.
Humans won’t be replaced
by it, unless they act as
script executors.
Few important takeaways…
It’s a trend and it won’t be
easy
People enjoy easy
We can be successful by using
tools for their right purpose
“Manual” and “automated”
testing are useless terms.
Don’t think inside the labeled
boxes
And most important…
Try not to think
like:
Automate to replace
human testing
but rather:
Automate to extend
your testing and let
it do whatever it can
do better than you
Thank you very much!
Any questions?
Feedback is love!
Feedback is life!
Share your feedback
with us!
https://www.sli.do/
Code #7346

More Related Content

What's hot

What's hot (20)

Testing All the Way Down, and Other Directions
Testing All the Way Down, and Other DirectionsTesting All the Way Down, and Other Directions
Testing All the Way Down, and Other Directions
 
Exploring with Automation
Exploring with AutomationExploring with Automation
Exploring with Automation
 
Santa Barbara Agile: Exploratory Testing Explained and Experienced
Santa Barbara Agile: Exploratory Testing Explained and ExperiencedSanta Barbara Agile: Exploratory Testing Explained and Experienced
Santa Barbara Agile: Exploratory Testing Explained and Experienced
 
How to Test Anything
How to Test AnythingHow to Test Anything
How to Test Anything
 
A Context-Driven Approach to Automation in Testing
A Context-Driven Approach to Automation in TestingA Context-Driven Approach to Automation in Testing
A Context-Driven Approach to Automation in Testing
 
Intro to TDD
Intro to TDDIntro to TDD
Intro to TDD
 
03 - chomu prohramisty ne testuiut - yurii chulovskyi - it event 2013 (5)
03 -  chomu prohramisty ne testuiut - yurii chulovskyi - it event 2013 (5)03 -  chomu prohramisty ne testuiut - yurii chulovskyi - it event 2013 (5)
03 - chomu prohramisty ne testuiut - yurii chulovskyi - it event 2013 (5)
 
Bug-Free Software? Go For It!
Bug-Free Software? Go For It!Bug-Free Software? Go For It!
Bug-Free Software? Go For It!
 
Agile Testers: Becoming a key asset for your team
Agile Testers: Becoming a key asset for your teamAgile Testers: Becoming a key asset for your team
Agile Testers: Becoming a key asset for your team
 
TestIstanbul May 2013 Keynote Experiences With Exploratory Testing
TestIstanbul May 2013 Keynote Experiences With Exploratory TestingTestIstanbul May 2013 Keynote Experiences With Exploratory Testing
TestIstanbul May 2013 Keynote Experiences With Exploratory Testing
 
Agile Testing Days 2014 Keynote - Helping Testers Add Value on Agile Projects
Agile Testing Days 2014 Keynote - Helping Testers Add Value on Agile ProjectsAgile Testing Days 2014 Keynote - Helping Testers Add Value on Agile Projects
Agile Testing Days 2014 Keynote - Helping Testers Add Value on Agile Projects
 
Things Could Get Worse: Ideas About Regression Testing
Things Could Get Worse: Ideas About Regression TestingThings Could Get Worse: Ideas About Regression Testing
Things Could Get Worse: Ideas About Regression Testing
 
Push Functional Testing Further
Push Functional Testing FurtherPush Functional Testing Further
Push Functional Testing Further
 
Claudiu Draghia ITEM 2018
Claudiu Draghia ITEM 2018Claudiu Draghia ITEM 2018
Claudiu Draghia ITEM 2018
 
A Taste of Exploratory Testing
A Taste of Exploratory TestingA Taste of Exploratory Testing
A Taste of Exploratory Testing
 
Debugging Design [EN]
Debugging Design [EN]Debugging Design [EN]
Debugging Design [EN]
 
Exploratory testing part 3
Exploratory testing part 3Exploratory testing part 3
Exploratory testing part 3
 
Tests are Nothing, Testing is Everything
Tests are Nothing, Testing is EverythingTests are Nothing, Testing is Everything
Tests are Nothing, Testing is Everything
 
Why why analysis
Why why analysisWhy why analysis
Why why analysis
 
Exploratory Testing Explained
Exploratory Testing ExplainedExploratory Testing Explained
Exploratory Testing Explained
 

Similar to Test automation – the bitter truth

Breathing the breath of the monster combining agile and context-driven
Breathing the breath of the monster   combining agile and context-drivenBreathing the breath of the monster   combining agile and context-driven
Breathing the breath of the monster combining agile and context-driven
Ilari Henrik Aegerter
 

Similar to Test automation – the bitter truth (20)

Automation testing: how tools are important?
Automation testing: how tools are important?Automation testing: how tools are important?
Automation testing: how tools are important?
 
Keynote: Lightning Strikes the Keynotes
Keynote: Lightning Strikes the KeynotesKeynote: Lightning Strikes the Keynotes
Keynote: Lightning Strikes the Keynotes
 
Pride and Prejudice and Software Testing
Pride and Prejudice and Software TestingPride and Prejudice and Software Testing
Pride and Prejudice and Software Testing
 
Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013
Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013
Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013
 
A Happy Marriage between Context-Driven and Agile
A Happy Marriage between Context-Driven and AgileA Happy Marriage between Context-Driven and Agile
A Happy Marriage between Context-Driven and Agile
 
Breathing the breath of the monster combining agile and context-driven
Breathing the breath of the monster   combining agile and context-drivenBreathing the breath of the monster   combining agile and context-driven
Breathing the breath of the monster combining agile and context-driven
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
 
It's Automation, Not Automagic
It's Automation, Not AutomagicIt's Automation, Not Automagic
It's Automation, Not Automagic
 
Intelligent Mistakes in Test Automation
Intelligent Mistakes in Test AutomationIntelligent Mistakes in Test Automation
Intelligent Mistakes in Test Automation
 
Test automation and Agile software development
Test automation and Agile software developmentTest automation and Agile software development
Test automation and Agile software development
 
Digital Transformation, Testing and Automation
Digital Transformation, Testing and AutomationDigital Transformation, Testing and Automation
Digital Transformation, Testing and Automation
 
Manual Tester To Automation Tester
Manual Tester To Automation Tester Manual Tester To Automation Tester
Manual Tester To Automation Tester
 
Blunders in Test Automation
Blunders in Test AutomationBlunders in Test Automation
Blunders in Test Automation
 
Check This - Test Automation, A Development Managers View
Check This - Test Automation, A Development Managers ViewCheck This - Test Automation, A Development Managers View
Check This - Test Automation, A Development Managers View
 
Blunders in Test Automation
Blunders in Test AutomationBlunders in Test Automation
Blunders in Test Automation
 
Testing for cognitive bias in ai systems
Testing for cognitive bias in ai systemsTesting for cognitive bias in ai systems
Testing for cognitive bias in ai systems
 
Ilari henrik
Ilari henrikIlari henrik
Ilari henrik
 
Psychology and Engineering of Testing
Psychology and Engineering of TestingPsychology and Engineering of Testing
Psychology and Engineering of Testing
 
SDLC. QA Role
SDLC. QA RoleSDLC. QA Role
SDLC. QA Role
 
Fantastic Tests - The Crimes of Bad Test Design
Fantastic Tests - The Crimes of Bad Test DesignFantastic Tests - The Crimes of Bad Test Design
Fantastic Tests - The Crimes of Bad Test Design
 

Recently uploaded

Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 

Recently uploaded (20)

Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 

Test automation – the bitter truth

  • 1. Test automation – the bitter truth Some unpleasant truths about “test automation”
  • 2. Be a part of the show! Ask a question or leave your feedback at: https://www.sli.do/ using code #7346
  • 3. Before we start, few prerequisites: Here’s a story …
  • 4. What do testers imagine when they see “manual testing”? • Ineffective • Boring • Slow • Easy to perform by anyone • Mindless banging of keys
  • 5. What do managers feel when they speak of “manual testing”? • “You are wasting too much time. “ • “We have too much testers” • “We can easily automate what you do.” • “You are not reliable”
  • 6. How both managers and testers react when someone mentions “automation”? • Totally fangirling • We will reduce costs • We will have more time for “manual” testing • I will only hit the “Run” button and it will test on its own
  • 7. What do testers imagine, when they speak of “test automation”?
  • 8. About me • Senior Software tester at http://siteground.com • Lecturer at Pragmatic • Interested in software testing from scientific perspective • Would never say “Machines will replace us”, because I don’t believe it! • Blogger at: http://mrslavchev.com
  • 10. Manual testing: Totally useless term Failure to provide value by executing “steps” Please, don’t dumb down your expertise by calling it “manual testing” Better term: Analytical testing, Human testing or just Testing
  • 11. Automation testing: Made up “unicorn” term False belief that testing is simple sequence of steps Relies on false belief that testing is automate-able Better term: Tool assisted testing, automated checking, automation in testing, programmatic testing
  • 12. No “manual” and “automation” testing • Testing is not a car transmission • Not all tasks in testing are equally automate-able • Testing is analytical human activity • Has nothing to do with hands or manuals
  • 13. No hate intended • I actually love coding and resolving problems in a programmatic way! • I love testing, too • I hate it, when false expectations of testing are spread • We need to say some “bitter truths” in order to set things right • So think of them as “medicines”
  • 14. Bitter truth #1: You can’t automate “all the tests”
  • 15. Activities we perform during testing
  • 16. Tasks that are easily automatable Confirmation / Verification Low level checking Precision Functional correctness Deterministic tests Solving machine problems
  • 17. But automation sucks when dealing with: Exploration Unanticipated risks Qualitative evaluation Open ended questions Adaptive learning Solving human problems Inspired by:Things Could Get Worse- Michael Bolton
  • 18. Bitter truth #2: Test automation won’t decrease cost of testing And that’s not even half the truth
  • 19. Things we hear about automation: It will decrease time It will run faster It’s more reliable It’s cost effective Thing is … it’s only execution cost
  • 20. How automation can increase cost: Cost of tools/time Development Maintenance Debugging your own code Make the madaf***r work!
  • 21. Bitter truth #3: Don’t think automatic testing, think programmatic testing
  • 22. Why does this distinction matter? Automated testing Implies testing is fully automatable Implies human testing is replaceable with tools Defines testing as simple execution of steps Looks at testing as test execution, only Programmatic testing Record and play tools = totally useless! Understanding of limitations Understanding of the approach Understanding of goals
  • 23. Bitter truth #4: Your testing code sux, just like any other
  • 25. Things that testers often forget: We are “mere mortals” like anyone else We design bad tests We sometimes have no ides what the f**k are we up to Testing code is not pixie dust
  • 26. What should be our focus, instead? Why are you automating? Value? Development approach Infrastructure and maintenance Testing your own code
  • 27. Bitter truth #5: Automation is not human testing on steroids
  • 28. The nature of “automation”: We still use “test automation” without realizing what it means There’s plenty of analytical “brain” work automation can’t do. Humans won’t be replaced by it, unless they act as script executors.
  • 29. Few important takeaways… It’s a trend and it won’t be easy People enjoy easy We can be successful by using tools for their right purpose “Manual” and “automated” testing are useless terms. Don’t think inside the labeled boxes
  • 30. And most important… Try not to think like: Automate to replace human testing but rather: Automate to extend your testing and let it do whatever it can do better than you
  • 31. Thank you very much! Any questions?
  • 32. Feedback is love! Feedback is life! Share your feedback with us! https://www.sli.do/ Code #7346