SlideShare a Scribd company logo
Pitfalls of Test Automation
and why you should keep your head
Rikke Simonsen
Technical Tester
1
My Background
Education: Bachelor in Computer Science
Past: Web Developer
Now: Technical Tester
That means:
• Primarily knowledge in programming
• Still learning (how to be a tester) by doing
(a lot of mistakes)
2
What I do
Write specifications
with customers
and
implement them
as automated tests
!
3
4
Why automate?
• Faster feedback on the possible side effects of
changes to the system
• Faster decision making of release readiness
• Less time on repetitive tasks
• More time for explorative testing
• Documentation of the behaviour of the system
5
Pitfalls
1. Automate everything
2. Automation is the testers job
3. Blinded by love (to the tool)
4. Test code treated as second class
5. (Too) High expectations of ROI
6
1. Automate everything
7
8
• No prioritizing of what to automate
• Each test introduced will need to be maintained
• Not all tests return value
• Not all test cases can easily be automated
• Some tests are better left for manual testing
Be aware of
1. Automate everything
9
• Think about return on investment
• Don’t automate trivial test cases - the ones that
never fail or represent any risk
• Focus on the scenarios that will hurt the
business if the functionality breaks
• Don’t be afraid to remove tests
• Make thoughtful decisions of what to automate
Recommendations
1. Automate everything
10
2. Automation is the
testers job
11
12
• Thinking that automated tests are just test.
Its code.
• Thinking that automation is all about learning a
tool. It’s not.
Be aware of
2. Automation is the testers job
13
• Automation should be done by people with
good programming skills.
• The tests should be defined by the tester in
collaboration with domain experts.
• Test automation should be a shared
responsibility. Everyone on the team should
contribute.
Recommendations
2. Automation is the testers job
14
3. Blinded by love
(to the tool)
15
16
• Thinking the tool can do magic
• Thinking the tool can solve all your problems
• The urge to automate it all.
• Testing everything through the GUI
• Trying to fit the tests to the tool
Be aware of
3. Blinded by love
17
• Critical thinking. Analyze strengths and
weaknesses of the tool.
• Learn how to use a wide range of tools and
select the right one for the job.
• Only test things through the GUI that can’t be
tested in any other way.
Recommendations
3. Blinded by love
18
4. Test code treated
as second class
19
20
• Automation of use cases directly
• Redundant code
• Test code is just as hard and expensive to
maintain as “real” code
Be aware of
4. Test code treated as second class
21
• Make the tests as small as possible
• Don’t let one test depend on another
• Write high level tests
• Make functions reusable
• Document the purpose of the test
• Refactor often. Do peer review.
• Use good programming practices
Recommendations
4. Test code treated as second class
22
5. (Too) High
Expectations
23
24
• Expecting early ROI
• Thinking automation is easy
• Thinking automation can “build quality in”
• Expecting cutting down costs
• The maturity of the tools
Be aware of
5. (Too) high expectations
25
• Automation is a long time investment -
there’s no quick fixes.
• Measure the costs and results. Evaluate
continuously.
• Train the team in following good practices.
Get external help if starting from scratch.
Recommendations
5. (Too) high expectations
26
and last..
• Start small
• Be realistic
• Get everyone involved
• Utilize peoples special skills
• Define your target
• Evolve
27
Questions?
rikke@reload.dk
28

More Related Content

What's hot

Software testing
Software testingSoftware testing
Software testing
nidhip216
 
Debugging
DebuggingDebugging
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
Hiral Gosani
 
Which test cases to automate
Which test cases to automateWhich test cases to automate
Which test cases to automate
sachxn1
 
Automation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and TracingAutomation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and Tracing
Markus Borg
 
01 software testing_introduction
01 software testing_introduction01 software testing_introduction
01 software testing_introduction
ManishJha237
 
Test cases for effective testing - part 1
Test cases for effective testing - part 1Test cases for effective testing - part 1
Test cases for effective testing - part 1
Mona M. Abd El-Rahman
 
Testing in the Age of Machine Learning
Testing in the Age of Machine Learning Testing in the Age of Machine Learning
Testing in the Age of Machine Learning
vinaya muralidharan
 
5 top pain points of test automation
5 top pain points of test automation5 top pain points of test automation
5 top pain points of test automation
Mikalai Alimenkou
 
Test automation engineer
Test automation engineerTest automation engineer
Test automation engineer
Sadaaki Emura
 
Test Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalTest Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh Dahal
QA or the Highway
 
Testing 3: Types Of Tests That May Be Required
Testing 3: Types Of Tests That May Be RequiredTesting 3: Types Of Tests That May Be Required
Testing 3: Types Of Tests That May Be Required
ArleneAndrews2
 
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test AutomationIt Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
TechWell
 
Automation testing
Automation testingAutomation testing
Automation testing
Arta Doci
 
Machine learning in software testing
Machine learning in software testingMachine learning in software testing
Machine learning in software testing
Thoughtworks
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lesson
Sadaaki Emura
 
Defects in software testing
Defects in software testingDefects in software testing
Defects in software testing
sandeepsingh2808
 
Build FAST with parallel_calabash
Build FAST with parallel_calabashBuild FAST with parallel_calabash
Build FAST with parallel_calabash
Thoughtworks
 
Random testing & prototyping
Random testing & prototypingRandom testing & prototyping
Random testing & prototypingVipul Rastogi
 
The limits of unit testing by Craig Stuntz
The limits of unit testing by Craig StuntzThe limits of unit testing by Craig Stuntz
The limits of unit testing by Craig Stuntz
QA or the Highway
 

What's hot (20)

Software testing
Software testingSoftware testing
Software testing
 
Debugging
DebuggingDebugging
Debugging
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 
Which test cases to automate
Which test cases to automateWhich test cases to automate
Which test cases to automate
 
Automation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and TracingAutomation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and Tracing
 
01 software testing_introduction
01 software testing_introduction01 software testing_introduction
01 software testing_introduction
 
Test cases for effective testing - part 1
Test cases for effective testing - part 1Test cases for effective testing - part 1
Test cases for effective testing - part 1
 
Testing in the Age of Machine Learning
Testing in the Age of Machine Learning Testing in the Age of Machine Learning
Testing in the Age of Machine Learning
 
5 top pain points of test automation
5 top pain points of test automation5 top pain points of test automation
5 top pain points of test automation
 
Test automation engineer
Test automation engineerTest automation engineer
Test automation engineer
 
Test Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalTest Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh Dahal
 
Testing 3: Types Of Tests That May Be Required
Testing 3: Types Of Tests That May Be RequiredTesting 3: Types Of Tests That May Be Required
Testing 3: Types Of Tests That May Be Required
 
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test AutomationIt Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Machine learning in software testing
Machine learning in software testingMachine learning in software testing
Machine learning in software testing
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lesson
 
Defects in software testing
Defects in software testingDefects in software testing
Defects in software testing
 
Build FAST with parallel_calabash
Build FAST with parallel_calabashBuild FAST with parallel_calabash
Build FAST with parallel_calabash
 
Random testing & prototyping
Random testing & prototypingRandom testing & prototyping
Random testing & prototyping
 
The limits of unit testing by Craig Stuntz
The limits of unit testing by Craig StuntzThe limits of unit testing by Craig Stuntz
The limits of unit testing by Craig Stuntz
 

Similar to Pitfalls of Test Automation

An Introduction To Software Development - Test Driven Development, Part 1
An Introduction To Software Development - Test Driven Development, Part 1An Introduction To Software Development - Test Driven Development, Part 1
An Introduction To Software Development - Test Driven Development, Part 1
Blue Elephant Consulting
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptx
mianshafa
 
Test-Driven Development (TDD) in Swift
Test-Driven Development (TDD) in SwiftTest-Driven Development (TDD) in Swift
Test-Driven Development (TDD) in Swift
Amey Tavkar
 
Tdd in swift
Tdd in swiftTdd in swift
Tdd in swift
Javal Nanda
 
TDD — Are you sure you properly test code?
TDD — Are you sure you properly test code?TDD — Are you sure you properly test code?
TDD — Are you sure you properly test code?Dmitriy Nesteryuk
 
10 Lessons learned in test automation
10 Lessons learned in test automation10 Lessons learned in test automation
10 Lessons learned in test automationRomania Testing
 
Automation testing interview pdf org
Automation testing interview pdf orgAutomation testing interview pdf org
Automation testing interview pdf org
Testbytes
 
QA Best Practices
QA  Best PracticesQA  Best Practices
QA Best Practices
James York
 
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learnedSwiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learnedMichael Palotas
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
Dr Anuranjan Misra
 
Five steps towards your testing dream
Five steps towards your testing dreamFive steps towards your testing dream
Five steps towards your testing dream
Lisa Gagarina
 
Unleashing the power of Unit Testing - Franck Ninsabira.pdf
Unleashing the power of Unit Testing - Franck Ninsabira.pdfUnleashing the power of Unit Testing - Franck Ninsabira.pdf
Unleashing the power of Unit Testing - Franck Ninsabira.pdf
GDG Bujumbura
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
Md. Enamul Haque Chowdhury
 
What Do We Automate First
What Do We Automate FirstWhat Do We Automate First
What Do We Automate First
rrice2000
 
An Introduction to Unit Testing
An Introduction to Unit TestingAn Introduction to Unit Testing
An Introduction to Unit Testing
Sahar Nofal
 
A Brief Introduction to Test-Driven Development
A Brief Introduction to Test-Driven DevelopmentA Brief Introduction to Test-Driven Development
A Brief Introduction to Test-Driven Development
Shawn Jones
 
You and your code.pdf
You and your code.pdfYou and your code.pdf
You and your code.pdf
Tony Khánh
 
An Introduction To Software Development - Final Review
An Introduction To Software Development - Final ReviewAn Introduction To Software Development - Final Review
An Introduction To Software Development - Final Review
Blue Elephant Consulting
 
Becoming a better programmer - unit testing
Becoming a better programmer - unit testingBecoming a better programmer - unit testing
Becoming a better programmer - unit testingDuy Tan Geek
 
Unit Testing and TDD 2017
Unit Testing and TDD 2017Unit Testing and TDD 2017
Unit Testing and TDD 2017
Xavi Hidalgo
 

Similar to Pitfalls of Test Automation (20)

An Introduction To Software Development - Test Driven Development, Part 1
An Introduction To Software Development - Test Driven Development, Part 1An Introduction To Software Development - Test Driven Development, Part 1
An Introduction To Software Development - Test Driven Development, Part 1
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptx
 
Test-Driven Development (TDD) in Swift
Test-Driven Development (TDD) in SwiftTest-Driven Development (TDD) in Swift
Test-Driven Development (TDD) in Swift
 
Tdd in swift
Tdd in swiftTdd in swift
Tdd in swift
 
TDD — Are you sure you properly test code?
TDD — Are you sure you properly test code?TDD — Are you sure you properly test code?
TDD — Are you sure you properly test code?
 
10 Lessons learned in test automation
10 Lessons learned in test automation10 Lessons learned in test automation
10 Lessons learned in test automation
 
Automation testing interview pdf org
Automation testing interview pdf orgAutomation testing interview pdf org
Automation testing interview pdf org
 
QA Best Practices
QA  Best PracticesQA  Best Practices
QA Best Practices
 
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learnedSwiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
 
Five steps towards your testing dream
Five steps towards your testing dreamFive steps towards your testing dream
Five steps towards your testing dream
 
Unleashing the power of Unit Testing - Franck Ninsabira.pdf
Unleashing the power of Unit Testing - Franck Ninsabira.pdfUnleashing the power of Unit Testing - Franck Ninsabira.pdf
Unleashing the power of Unit Testing - Franck Ninsabira.pdf
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
What Do We Automate First
What Do We Automate FirstWhat Do We Automate First
What Do We Automate First
 
An Introduction to Unit Testing
An Introduction to Unit TestingAn Introduction to Unit Testing
An Introduction to Unit Testing
 
A Brief Introduction to Test-Driven Development
A Brief Introduction to Test-Driven DevelopmentA Brief Introduction to Test-Driven Development
A Brief Introduction to Test-Driven Development
 
You and your code.pdf
You and your code.pdfYou and your code.pdf
You and your code.pdf
 
An Introduction To Software Development - Final Review
An Introduction To Software Development - Final ReviewAn Introduction To Software Development - Final Review
An Introduction To Software Development - Final Review
 
Becoming a better programmer - unit testing
Becoming a better programmer - unit testingBecoming a better programmer - unit testing
Becoming a better programmer - unit testing
 
Unit Testing and TDD 2017
Unit Testing and TDD 2017Unit Testing and TDD 2017
Unit Testing and TDD 2017
 

More from Reload! A/S

Skab tidlig læring i digitale projekter
Skab tidlig læring i digitale projekterSkab tidlig læring i digitale projekter
Skab tidlig læring i digitale projekter
Reload! A/S
 
Ryk i skyen eller dø - cloud erfaringer fra virkeligheden
Ryk i skyen eller dø - cloud erfaringer fra virkelighedenRyk i skyen eller dø - cloud erfaringer fra virkeligheden
Ryk i skyen eller dø - cloud erfaringer fra virkeligheden
Reload! A/S
 
Digital transformation er også et organisatorisk forandringsprojekt
Digital transformation er også et organisatorisk forandringsprojektDigital transformation er også et organisatorisk forandringsprojekt
Digital transformation er også et organisatorisk forandringsprojekt
Reload! A/S
 
Digital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
Digital vs kulturel transformation med Nikolaj Opstrup fra BonnierDigital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
Digital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
Reload! A/S
 
Digitale projekter der fejlede
Digitale projekter der fejledeDigitale projekter der fejlede
Digitale projekter der fejlede
Reload! A/S
 
Smid planen væk og skab forretningsværdi i stedet
Smid planen væk og skab forretningsværdi i stedetSmid planen væk og skab forretningsværdi i stedet
Smid planen væk og skab forretningsværdi i stedet
Reload! A/S
 
Produktstrategi hos The Ramp/Danfoss
Produktstrategi hos The Ramp/DanfossProduktstrategi hos The Ramp/Danfoss
Produktstrategi hos The Ramp/Danfoss
Reload! A/S
 
Produktstrategi den 28.11.19
Produktstrategi den 28.11.19Produktstrategi den 28.11.19
Produktstrategi den 28.11.19
Reload! A/S
 
DevOps
DevOpsDevOps
DevOps
Reload! A/S
 
DevOps og erfaringer med Spotify-modellen hos YouSee
DevOps og erfaringer med Spotify-modellen hos YouSeeDevOps og erfaringer med Spotify-modellen hos YouSee
DevOps og erfaringer med Spotify-modellen hos YouSee
Reload! A/S
 
Scan & betal how do we do agile and what do we learn - reload 26 9-19
Scan & betal   how do we do agile and what do we learn - reload 26 9-19Scan & betal   how do we do agile and what do we learn - reload 26 9-19
Scan & betal how do we do agile and what do we learn - reload 26 9-19
Reload! A/S
 
Gaa hjem-moede 26. september 2019 agile metoder der virker
Gaa hjem-moede 26. september 2019  agile metoder der virkerGaa hjem-moede 26. september 2019  agile metoder der virker
Gaa hjem-moede 26. september 2019 agile metoder der virker
Reload! A/S
 
Det Danske Spejderkorps
Det Danske SpejderkorpsDet Danske Spejderkorps
Det Danske Spejderkorps
Reload! A/S
 
Tillidsbaseret samarbejde
Tillidsbaseret samarbejdeTillidsbaseret samarbejde
Tillidsbaseret samarbejde
Reload! A/S
 
Sådan leder du digital transformation
Sådan leder du digital transformationSådan leder du digital transformation
Sådan leder du digital transformation
Reload! A/S
 
Digital Transformation i DAC
Digital Transformation i DACDigital Transformation i DAC
Digital Transformation i DAC
Reload! A/S
 
Drupalcamp2016 dockerftw
Drupalcamp2016 dockerftwDrupalcamp2016 dockerftw
Drupalcamp2016 dockerftw
Reload! A/S
 
Smk -2015.09.30
Smk  -2015.09.30Smk  -2015.09.30
Smk -2015.09.30
Reload! A/S
 
Reload præsentation
Reload præsentationReload præsentation
Reload præsentation
Reload! A/S
 
Agile that works_and_the_tools_we_love
Agile that works_and_the_tools_we_loveAgile that works_and_the_tools_we_love
Agile that works_and_the_tools_we_love
Reload! A/S
 

More from Reload! A/S (20)

Skab tidlig læring i digitale projekter
Skab tidlig læring i digitale projekterSkab tidlig læring i digitale projekter
Skab tidlig læring i digitale projekter
 
Ryk i skyen eller dø - cloud erfaringer fra virkeligheden
Ryk i skyen eller dø - cloud erfaringer fra virkelighedenRyk i skyen eller dø - cloud erfaringer fra virkeligheden
Ryk i skyen eller dø - cloud erfaringer fra virkeligheden
 
Digital transformation er også et organisatorisk forandringsprojekt
Digital transformation er også et organisatorisk forandringsprojektDigital transformation er også et organisatorisk forandringsprojekt
Digital transformation er også et organisatorisk forandringsprojekt
 
Digital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
Digital vs kulturel transformation med Nikolaj Opstrup fra BonnierDigital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
Digital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
 
Digitale projekter der fejlede
Digitale projekter der fejledeDigitale projekter der fejlede
Digitale projekter der fejlede
 
Smid planen væk og skab forretningsværdi i stedet
Smid planen væk og skab forretningsværdi i stedetSmid planen væk og skab forretningsværdi i stedet
Smid planen væk og skab forretningsværdi i stedet
 
Produktstrategi hos The Ramp/Danfoss
Produktstrategi hos The Ramp/DanfossProduktstrategi hos The Ramp/Danfoss
Produktstrategi hos The Ramp/Danfoss
 
Produktstrategi den 28.11.19
Produktstrategi den 28.11.19Produktstrategi den 28.11.19
Produktstrategi den 28.11.19
 
DevOps
DevOpsDevOps
DevOps
 
DevOps og erfaringer med Spotify-modellen hos YouSee
DevOps og erfaringer med Spotify-modellen hos YouSeeDevOps og erfaringer med Spotify-modellen hos YouSee
DevOps og erfaringer med Spotify-modellen hos YouSee
 
Scan & betal how do we do agile and what do we learn - reload 26 9-19
Scan & betal   how do we do agile and what do we learn - reload 26 9-19Scan & betal   how do we do agile and what do we learn - reload 26 9-19
Scan & betal how do we do agile and what do we learn - reload 26 9-19
 
Gaa hjem-moede 26. september 2019 agile metoder der virker
Gaa hjem-moede 26. september 2019  agile metoder der virkerGaa hjem-moede 26. september 2019  agile metoder der virker
Gaa hjem-moede 26. september 2019 agile metoder der virker
 
Det Danske Spejderkorps
Det Danske SpejderkorpsDet Danske Spejderkorps
Det Danske Spejderkorps
 
Tillidsbaseret samarbejde
Tillidsbaseret samarbejdeTillidsbaseret samarbejde
Tillidsbaseret samarbejde
 
Sådan leder du digital transformation
Sådan leder du digital transformationSådan leder du digital transformation
Sådan leder du digital transformation
 
Digital Transformation i DAC
Digital Transformation i DACDigital Transformation i DAC
Digital Transformation i DAC
 
Drupalcamp2016 dockerftw
Drupalcamp2016 dockerftwDrupalcamp2016 dockerftw
Drupalcamp2016 dockerftw
 
Smk -2015.09.30
Smk  -2015.09.30Smk  -2015.09.30
Smk -2015.09.30
 
Reload præsentation
Reload præsentationReload præsentation
Reload præsentation
 
Agile that works_and_the_tools_we_love
Agile that works_and_the_tools_we_loveAgile that works_and_the_tools_we_love
Agile that works_and_the_tools_we_love
 

Recently uploaded

Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
Roshan Dwivedi
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 

Recently uploaded (20)

Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 

Pitfalls of Test Automation

  • 1. Pitfalls of Test Automation and why you should keep your head Rikke Simonsen Technical Tester 1
  • 2. My Background Education: Bachelor in Computer Science Past: Web Developer Now: Technical Tester That means: • Primarily knowledge in programming • Still learning (how to be a tester) by doing (a lot of mistakes) 2
  • 3. What I do Write specifications with customers and implement them as automated tests ! 3
  • 4. 4
  • 5. Why automate? • Faster feedback on the possible side effects of changes to the system • Faster decision making of release readiness • Less time on repetitive tasks • More time for explorative testing • Documentation of the behaviour of the system 5
  • 6. Pitfalls 1. Automate everything 2. Automation is the testers job 3. Blinded by love (to the tool) 4. Test code treated as second class 5. (Too) High expectations of ROI 6
  • 8. 8
  • 9. • No prioritizing of what to automate • Each test introduced will need to be maintained • Not all tests return value • Not all test cases can easily be automated • Some tests are better left for manual testing Be aware of 1. Automate everything 9
  • 10. • Think about return on investment • Don’t automate trivial test cases - the ones that never fail or represent any risk • Focus on the scenarios that will hurt the business if the functionality breaks • Don’t be afraid to remove tests • Make thoughtful decisions of what to automate Recommendations 1. Automate everything 10
  • 11. 2. Automation is the testers job 11
  • 12. 12
  • 13. • Thinking that automated tests are just test. Its code. • Thinking that automation is all about learning a tool. It’s not. Be aware of 2. Automation is the testers job 13
  • 14. • Automation should be done by people with good programming skills. • The tests should be defined by the tester in collaboration with domain experts. • Test automation should be a shared responsibility. Everyone on the team should contribute. Recommendations 2. Automation is the testers job 14
  • 15. 3. Blinded by love (to the tool) 15
  • 16. 16
  • 17. • Thinking the tool can do magic • Thinking the tool can solve all your problems • The urge to automate it all. • Testing everything through the GUI • Trying to fit the tests to the tool Be aware of 3. Blinded by love 17
  • 18. • Critical thinking. Analyze strengths and weaknesses of the tool. • Learn how to use a wide range of tools and select the right one for the job. • Only test things through the GUI that can’t be tested in any other way. Recommendations 3. Blinded by love 18
  • 19. 4. Test code treated as second class 19
  • 20. 20
  • 21. • Automation of use cases directly • Redundant code • Test code is just as hard and expensive to maintain as “real” code Be aware of 4. Test code treated as second class 21
  • 22. • Make the tests as small as possible • Don’t let one test depend on another • Write high level tests • Make functions reusable • Document the purpose of the test • Refactor often. Do peer review. • Use good programming practices Recommendations 4. Test code treated as second class 22
  • 24. 24
  • 25. • Expecting early ROI • Thinking automation is easy • Thinking automation can “build quality in” • Expecting cutting down costs • The maturity of the tools Be aware of 5. (Too) high expectations 25
  • 26. • Automation is a long time investment - there’s no quick fixes. • Measure the costs and results. Evaluate continuously. • Train the team in following good practices. Get external help if starting from scratch. Recommendations 5. (Too) high expectations 26
  • 27. and last.. • Start small • Be realistic • Get everyone involved • Utilize peoples special skills • Define your target • Evolve 27