SlideShare a Scribd company logo
1 of 17
What Successful Test Automation isā€¦
and Why itā€™s NOT Testing
Lee Barnes
Chief Quality Officer, Forte Group
About Meā€¦
ā€¢ Chief Quality Officer of Forte Group
ā€¢ Involved in software quality and testing for over 25 years
ā€¢ Most of that time focused on test automation and performance
testing
ā€¢ Passionate about helping organizations build quality into their
applications
Email: lee.barnes@fortegrp.com
Twitter: @USI_LeeBarnes
LinkedIn: linkedin.com/in/leebarnes
Blog: utopiasolutions.com/blog1
@USI_LeeBarnes 2
My Journey In Software Testing
Built my own
testing approach
based on
research &
experimentation
Discovered
thought leaders
Discouraged by
the state of
ā€œsoftware
testingā€
Transitioned to IT
from aerospace
engineering
@USI_LeeBarnes 3
What is Effective Software Testing?
Software Testing Using our knowledge, experience, and critical
thinking to design experiments with the purpose of
exposing issues in software systems
Effective
Software Testing
Software testing that:
ā€¢ Is aligned with business goals and risk tolerance
ā€¢ Provides valuable information on which to make
an informed evaluation of a software system
ā€¢ Supports of the need for fast feedback
@USI_LeeBarnes 4
Current State of Test Automation
Image Source: 2022-23 World Quality Report
Three most important factors in determining test automation approach
@USI_LeeBarnes 5
Common Test Automation Myths & Beliefs
Myth / Belief Reality
Test automation is a tool ā†’
Test automation is a process ā€“ it is
enabled by tools
We can automate 100% of our tests ā†’
We should automate 100% of the
tests that SHOULD BE automated
Automated testing will find more
problems than execution by a
human
ā†’
Repeatedly executing the same set
of automated checks SHOULD NOT
find more problems than human
testers
Test automation is automating the
userā€™s actions at the UI level ā†’
UI level is the slowest, most
unreliable mode of automation
@USI_LeeBarnes 6
Whatā€™s Missing?
Objectives
Bad objectives
Automation for the
sake of automation
ā†’
@USI_LeeBarnes 7
How Did We Get Here?
What tool should we use?
What percentage of tests should we automate?
What types of tests should we automate?
How can test automation support our business goals?
@USI_LeeBarnes 8
What Does Effective Test Automation Look Like?
ā€¢ Supports software development and business objectives
ā€¢ High value activities / tests
ā€¢ Reliable and provides fast feedback
ā€¢ Continuous improvement
ā€¢ Allows testers to focus on high-value testing tasks ļ‚„ finding problems
@USI_LeeBarnes 9
Identifying High-Value Tests
Using FITR to assess automation worthiness of tests
Focused Test is tied as close to the functionality being tested as possible ļ‚„ UI,
API, unit, etc.
Informative Test clearly and concisely communicates its intent and result
Trustworthy Test executes reliably and doesnā€™t provide false negatives / positives
Repeatable Test can be executed on demand ļ‚„ environment and data dependencies
- Bas Dijkstra
https://www.stickyminds.com/sites/default/files/volume-issue/pdf/V20I3.pdf
@USI_LeeBarnes 10
Setup for Reliability & Fast Feedback
Test Environment
& Data Spectrum
Static
Shared
Stale
Dynamic
Dedicated
Fresh
Environment / Data Issues
ā€¢ Data staleness and instability
ā€¢ Scheduling conflicts
ā€¢ Not production-like
Automation Averse
ā€¢ Unreliable execution
ā€¢ Long/complex setup
ā€¢ False positives
ā€¢ Prolonged analysis
Automation Friendly
ā€¢ Create clean environments
on demand
ā€¢ Dedicate environments to
single purpose
ā€¢ Production-like (if needed)
ā€¢ Load with clean/fresh data
@USI_LeeBarnes 11
Thinkā€¦ Then Do
Purpose Dependencies Constraints Pipeline / Execution Environment / Data
What business goal
does this test suite
support?
What business risk
does this test suite
mitigate?
What systems or
tools must be in
place for this test
suite to run
successfully?
What can prevent us
from implementing
this test suite in an
ideal way?
Will this test suite be
part of a pipeline?
When will it be
triggered?
How often will it
run?
What environment
will the test suite run
in?
How will test data be
managed?
Ownership and Response Maintainability Effectiveness
Who will create the test suite?
Who should own it?
Who will address test failures and
how?
What will the process be to review
code?
What documentation needs to
exist?
How will we know the test suite is
effective?
Test Suite Canvas ā€“ questions to help you think critically about test automation
- Ashley Hunsberger (adapted from original concept by Katrina Clokie)
@USI_LeeBarnes 12
But is Effective Test Automation Software Testing?
Software Testing Using our knowledge, experience, and critical
thinking to design experiments with the purpose of
exposing issues in software systems
Automation Operating or controlling a process by highly
automatic means, reducing human intervention to a
minimum.
Test Automation is NOT Software Testing!
@USI_LeeBarnes 13
Broadening Our Definition of Test Automation
ā€¢ Create test environments
ā€¢ Destroy test environments
ā€¢ Create data
ā€¢ Refresh data
ā€¢ Modify databases
ā€¢ Query databases
ā€¢ Submit API calls
ā€¢ Check API responses
ā€¢ Interact with the UI
ā€¢ Check UI output
ā€¢ Check file output
ā€¢ Create mocks/stubs
ā€¢ Inspect application logs
ā€¢ Simulate network conditions
ā€¢ Static code analysis
These can all be automated!
Think about all the things we do as software testers
@USI_LeeBarnes 14
Broadening Our Definition of Test Automation
These are all test automation tools!
Think about all the technology you use related to testing
ā€¢ Service virtualization tools
ā€¢ Network sniffers
ā€¢ Network simulation tools
ā€¢ Browser developer tools
ā€¢ Scripting languages
ā€¢ OS monitoring tools
ā€¢ Test data generators
ā€¢ File comparison utilities
ā€¢ Test management systems
ā€¢ API / Service automation software
ā€¢ Performance / load tools
ā€¢ Code Analysis tools
ā€¢ HTML / CSS / JavaScript validators
ā€¢ GUI automation software
ā€¢ Data obfuscators
ā€¢ Virtualization / Container tools
ā€¢ Anything you build to solve a testing
related problem!
@USI_LeeBarnes 15
Key Takeaways
ā€¢ Avoid perpetuating common myths and unrealistic expectations
ā€¢ Avoid shallow / naĆÆve questions when determining why youā€™re automating
ā€¢ Characteristics of effective test automation includeā€¦
ļ‚„Supports business / development goals
ļ‚„Is reliable and provides fast feedback
ļ‚„Provides valuable information
ļ‚„Allows testers to focus on high-value activities
ā€¢ Broaden your definition of test automation by thinking about testing
activities that can benefit from automation
ā€¢ Continuously improve!
ā€¢ Understand that software testing is much more than automating scripted
test steps
@USI_LeeBarnes 16
Continuing the Conversation
Lee Barnes
Chief Quality Officer
Forte Group
Email: lee.barnes@fortegrp.com
Twitter: @USI_LeeBarnes
LinkedIn: linkedin.com/in/leebarnes
@USI_LeeBarnes 17

More Related Content

Similar to Lee Barnes - What Successful Test Automation is.pdf

The Good, The Bad, and The Metrics
 The Good, The Bad, and The Metrics The Good, The Bad, and The Metrics
The Good, The Bad, and The MetricsTeamQualityPro
Ā 
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdfAn Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdfKMSSolutionsMarketin
Ā 
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael BueningAgile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael BueningQA or the Highway
Ā 
How to Build High-Performing IT Teams - Including New Data on IT Performance ...
How to Build High-Performing IT Teams - Including New Data on IT Performance ...How to Build High-Performing IT Teams - Including New Data on IT Performance ...
How to Build High-Performing IT Teams - Including New Data on IT Performance ...Puppet
Ā 
Puppet Labs EMC DevOps Day NYC Aug-2015
Puppet Labs  EMC DevOps Day NYC Aug-2015Puppet Labs  EMC DevOps Day NYC Aug-2015
Puppet Labs EMC DevOps Day NYC Aug-2015Bob Sokol
Ā 
Continuous Testing through Service Virtualization
Continuous Testing through Service VirtualizationContinuous Testing through Service Virtualization
Continuous Testing through Service VirtualizationTechWell
Ā 
Mt s1 basic_fundamentals
Mt s1 basic_fundamentalsMt s1 basic_fundamentals
Mt s1 basic_fundamentalsTestingGeeks
Ā 
What_is_Software_Testing.pdf
What_is_Software_Testing.pdfWhat_is_Software_Testing.pdf
What_is_Software_Testing.pdfVuongPhm
Ā 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemSundar Sritharan
Ā 
Thomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfThomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfQA or the Highway
Ā 
How to build confidence in your release cycle
How to build confidence in your release cycleHow to build confidence in your release cycle
How to build confidence in your release cycleDiUS
Ā 
10 Tips for Starting Test Automation from 0
10 Tips for Starting Test Automation from 010 Tips for Starting Test Automation from 0
10 Tips for Starting Test Automation from 0Hong Zhang, PMP
Ā 
How to make Automation an asset for Organization
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organizationanuvip
Ā 
Test Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_PresentationTest Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_PresentationUiPathCommunity
Ā 
How to Leverage AI to Enhance UI Testing
How to Leverage AI to Enhance UI TestingHow to Leverage AI to Enhance UI Testing
How to Leverage AI to Enhance UI TestingApplitools
Ā 
Software Testing Interview Questions For Experienced
Software Testing Interview Questions For ExperiencedSoftware Testing Interview Questions For Experienced
Software Testing Interview Questions For Experiencedzynofustechnology
Ā 
Software Quality Management.pptx
Software Quality Management.pptxSoftware Quality Management.pptx
Software Quality Management.pptxAbhishek Prasoon
Ā 

Similar to Lee Barnes - What Successful Test Automation is.pdf (20)

The Good, The Bad, and The Metrics
 The Good, The Bad, and The Metrics The Good, The Bad, and The Metrics
The Good, The Bad, and The Metrics
Ā 
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdfAn Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
Ā 
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael BueningAgile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
Ā 
How to Build High-Performing IT Teams - Including New Data on IT Performance ...
How to Build High-Performing IT Teams - Including New Data on IT Performance ...How to Build High-Performing IT Teams - Including New Data on IT Performance ...
How to Build High-Performing IT Teams - Including New Data on IT Performance ...
Ā 
Puppet Labs EMC DevOps Day NYC Aug-2015
Puppet Labs  EMC DevOps Day NYC Aug-2015Puppet Labs  EMC DevOps Day NYC Aug-2015
Puppet Labs EMC DevOps Day NYC Aug-2015
Ā 
Continuous Testing through Service Virtualization
Continuous Testing through Service VirtualizationContinuous Testing through Service Virtualization
Continuous Testing through Service Virtualization
Ā 
Mt s1 basic_fundamentals
Mt s1 basic_fundamentalsMt s1 basic_fundamentals
Mt s1 basic_fundamentals
Ā 
UiPath Test Automation Webinar Recap
UiPath Test Automation Webinar RecapUiPath Test Automation Webinar Recap
UiPath Test Automation Webinar Recap
Ā 
What_is_Software_Testing.pdf
What_is_Software_Testing.pdfWhat_is_Software_Testing.pdf
What_is_Software_Testing.pdf
Ā 
Quality Assurance and Testing services
Quality Assurance and Testing servicesQuality Assurance and Testing services
Quality Assurance and Testing services
Ā 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Ā 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
Ā 
Thomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfThomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdf
Ā 
How to build confidence in your release cycle
How to build confidence in your release cycleHow to build confidence in your release cycle
How to build confidence in your release cycle
Ā 
10 Tips for Starting Test Automation from 0
10 Tips for Starting Test Automation from 010 Tips for Starting Test Automation from 0
10 Tips for Starting Test Automation from 0
Ā 
How to make Automation an asset for Organization
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organization
Ā 
Test Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_PresentationTest Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_Presentation
Ā 
How to Leverage AI to Enhance UI Testing
How to Leverage AI to Enhance UI TestingHow to Leverage AI to Enhance UI Testing
How to Leverage AI to Enhance UI Testing
Ā 
Software Testing Interview Questions For Experienced
Software Testing Interview Questions For ExperiencedSoftware Testing Interview Questions For Experienced
Software Testing Interview Questions For Experienced
Ā 
Software Quality Management.pptx
Software Quality Management.pptxSoftware Quality Management.pptx
Software Quality Management.pptx
Ā 

More from QA or the Highway

KrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdfKrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdfQA or the Highway
Ā 
Ravi Lakkavalli - World Quality Report.pptx
Ravi Lakkavalli - World Quality Report.pptxRavi Lakkavalli - World Quality Report.pptx
Ravi Lakkavalli - World Quality Report.pptxQA or the Highway
Ā 
Caleb Crandall - Testing Between the Buckets.pptx
Caleb Crandall - Testing Between the Buckets.pptxCaleb Crandall - Testing Between the Buckets.pptx
Caleb Crandall - Testing Between the Buckets.pptxQA or the Highway
Ā 
Thomas Haver - Example Mapping.pdf
Thomas Haver - Example Mapping.pdfThomas Haver - Example Mapping.pdf
Thomas Haver - Example Mapping.pdfQA or the Highway
Ā 
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdfJoe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdfQA or the Highway
Ā 
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdfSarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdfQA or the Highway
Ā 
Jeff Sing - Quarterly Service Delivery Reviews.pdf
Jeff Sing - Quarterly Service Delivery Reviews.pdfJeff Sing - Quarterly Service Delivery Reviews.pdf
Jeff Sing - Quarterly Service Delivery Reviews.pdfQA or the Highway
Ā 
Leandro Melendez - Chihuahua Load Tests.pdf
Leandro Melendez - Chihuahua Load Tests.pdfLeandro Melendez - Chihuahua Load Tests.pdf
Leandro Melendez - Chihuahua Load Tests.pdfQA or the Highway
Ā 
Rick Clymer - Incident Management.pdf
Rick Clymer - Incident Management.pdfRick Clymer - Incident Management.pdf
Rick Clymer - Incident Management.pdfQA or the Highway
Ā 
Robert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptxRobert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptxQA or the Highway
Ā 
Federico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdfFederico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdfQA or the Highway
Ā 
Andrew Knight - Managing the Test Data Nightmare.pptx
Andrew Knight - Managing the Test Data Nightmare.pptxAndrew Knight - Managing the Test Data Nightmare.pptx
Andrew Knight - Managing the Test Data Nightmare.pptxQA or the Highway
Ā 
Melissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdfMelissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdfQA or the Highway
Ā 
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdfJeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdfQA or the Highway
Ā 
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptxDesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptxQA or the Highway
Ā 
Damian Synadinos - Word Smatter.pdf
Damian Synadinos - Word Smatter.pdfDamian Synadinos - Word Smatter.pdf
Damian Synadinos - Word Smatter.pdfQA or the Highway
Ā 
Jordan Powell - API Testing with Cypress.pptx
Jordan Powell - API Testing with Cypress.pptxJordan Powell - API Testing with Cypress.pptx
Jordan Powell - API Testing with Cypress.pptxQA or the Highway
Ā 
Carlos Kidman - Exploring AI Applications in Testing.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptxCarlos Kidman - Exploring AI Applications in Testing.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptxQA or the Highway
Ā 
Ben Oconis - Breaking Down Silos.pdf
Ben Oconis - Breaking Down Silos.pdfBen Oconis - Breaking Down Silos.pdf
Ben Oconis - Breaking Down Silos.pdfQA or the Highway
Ā 
David Leslie - Testing at MACH Speed.pptx
David Leslie - Testing at MACH Speed.pptxDavid Leslie - Testing at MACH Speed.pptx
David Leslie - Testing at MACH Speed.pptxQA or the Highway
Ā 

More from QA or the Highway (20)

KrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdfKrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdf
Ā 
Ravi Lakkavalli - World Quality Report.pptx
Ravi Lakkavalli - World Quality Report.pptxRavi Lakkavalli - World Quality Report.pptx
Ravi Lakkavalli - World Quality Report.pptx
Ā 
Caleb Crandall - Testing Between the Buckets.pptx
Caleb Crandall - Testing Between the Buckets.pptxCaleb Crandall - Testing Between the Buckets.pptx
Caleb Crandall - Testing Between the Buckets.pptx
Ā 
Thomas Haver - Example Mapping.pdf
Thomas Haver - Example Mapping.pdfThomas Haver - Example Mapping.pdf
Thomas Haver - Example Mapping.pdf
Ā 
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdfJoe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
Ā 
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdfSarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
Ā 
Jeff Sing - Quarterly Service Delivery Reviews.pdf
Jeff Sing - Quarterly Service Delivery Reviews.pdfJeff Sing - Quarterly Service Delivery Reviews.pdf
Jeff Sing - Quarterly Service Delivery Reviews.pdf
Ā 
Leandro Melendez - Chihuahua Load Tests.pdf
Leandro Melendez - Chihuahua Load Tests.pdfLeandro Melendez - Chihuahua Load Tests.pdf
Leandro Melendez - Chihuahua Load Tests.pdf
Ā 
Rick Clymer - Incident Management.pdf
Rick Clymer - Incident Management.pdfRick Clymer - Incident Management.pdf
Rick Clymer - Incident Management.pdf
Ā 
Robert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptxRobert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptx
Ā 
Federico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdfFederico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdf
Ā 
Andrew Knight - Managing the Test Data Nightmare.pptx
Andrew Knight - Managing the Test Data Nightmare.pptxAndrew Knight - Managing the Test Data Nightmare.pptx
Andrew Knight - Managing the Test Data Nightmare.pptx
Ā 
Melissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdfMelissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdf
Ā 
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdfJeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
Ā 
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptxDesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
Ā 
Damian Synadinos - Word Smatter.pdf
Damian Synadinos - Word Smatter.pdfDamian Synadinos - Word Smatter.pdf
Damian Synadinos - Word Smatter.pdf
Ā 
Jordan Powell - API Testing with Cypress.pptx
Jordan Powell - API Testing with Cypress.pptxJordan Powell - API Testing with Cypress.pptx
Jordan Powell - API Testing with Cypress.pptx
Ā 
Carlos Kidman - Exploring AI Applications in Testing.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptxCarlos Kidman - Exploring AI Applications in Testing.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptx
Ā 
Ben Oconis - Breaking Down Silos.pdf
Ben Oconis - Breaking Down Silos.pdfBen Oconis - Breaking Down Silos.pdf
Ben Oconis - Breaking Down Silos.pdf
Ā 
David Leslie - Testing at MACH Speed.pptx
David Leslie - Testing at MACH Speed.pptxDavid Leslie - Testing at MACH Speed.pptx
David Leslie - Testing at MACH Speed.pptx
Ā 

Recently uploaded

Call UsšŸ”>ą¼’+91-9711147426ā‡›Call In girls karol bagh (Delhi)
Call UsšŸ”>ą¼’+91-9711147426ā‡›Call In girls karol bagh (Delhi)Call UsšŸ”>ą¼’+91-9711147426ā‡›Call In girls karol bagh (Delhi)
Call UsšŸ”>ą¼’+91-9711147426ā‡›Call In girls karol bagh (Delhi)jennyeacort
Ā 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
Ā 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
Ā 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
Ā 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
Ā 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
Ā 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
Ā 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
Ā 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
Ā 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
Ā 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
Ā 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
Ā 
办ē†å­¦ä½čƁ(UQę–‡å‡­čƁ书)ę˜†å£«å…°å¤§å­¦ęƕäøščÆęˆē»©å•åŽŸē‰ˆäø€ęØ”äø€ę ·
办ē†å­¦ä½čƁ(UQę–‡å‡­čƁ书)ę˜†å£«å…°å¤§å­¦ęƕäøščÆęˆē»©å•åŽŸē‰ˆäø€ęØ”äø€ę ·åŠžē†å­¦ä½čƁ(UQę–‡å‡­čƁ书)ę˜†å£«å…°å¤§å­¦ęƕäøščÆęˆē»©å•åŽŸē‰ˆäø€ęØ”äø€ę ·
办ē†å­¦ä½čƁ(UQę–‡å‡­čƁ书)ę˜†å£«å…°å¤§å­¦ęƕäøščÆęˆē»©å•åŽŸē‰ˆäø€ęØ”äø€ę ·umasea
Ā 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
Ā 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
Ā 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
Ā 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
Ā 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
Ā 

Recently uploaded (20)

Call UsšŸ”>ą¼’+91-9711147426ā‡›Call In girls karol bagh (Delhi)
Call UsšŸ”>ą¼’+91-9711147426ā‡›Call In girls karol bagh (Delhi)Call UsšŸ”>ą¼’+91-9711147426ā‡›Call In girls karol bagh (Delhi)
Call UsšŸ”>ą¼’+91-9711147426ā‡›Call In girls karol bagh (Delhi)
Ā 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
Ā 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Ā 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
Ā 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
Ā 
Hot Sexy call girls in Patel NagaršŸ” 9953056974 šŸ” escort Service
Hot Sexy call girls in Patel NagaršŸ” 9953056974 šŸ” escort ServiceHot Sexy call girls in Patel NagaršŸ” 9953056974 šŸ” escort Service
Hot Sexy call girls in Patel NagaršŸ” 9953056974 šŸ” escort Service
Ā 
2.pdf Ejercicios de programaciĆ³n competitiva
2.pdf Ejercicios de programaciĆ³n competitiva2.pdf Ejercicios de programaciĆ³n competitiva
2.pdf Ejercicios de programaciĆ³n competitiva
Ā 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
Ā 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Ā 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
Ā 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
Ā 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
Ā 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Ā 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
Ā 
办ē†å­¦ä½čƁ(UQę–‡å‡­čƁ书)ę˜†å£«å…°å¤§å­¦ęƕäøščÆęˆē»©å•åŽŸē‰ˆäø€ęØ”äø€ę ·
办ē†å­¦ä½čƁ(UQę–‡å‡­čƁ书)ę˜†å£«å…°å¤§å­¦ęƕäøščÆęˆē»©å•åŽŸē‰ˆäø€ęØ”äø€ę ·åŠžē†å­¦ä½čƁ(UQę–‡å‡­čƁ书)ę˜†å£«å…°å¤§å­¦ęƕäøščÆęˆē»©å•åŽŸē‰ˆäø€ęØ”äø€ę ·
办ē†å­¦ä½čƁ(UQę–‡å‡­čƁ书)ę˜†å£«å…°å¤§å­¦ęƕäøščÆęˆē»©å•åŽŸē‰ˆäø€ęØ”äø€ę ·
Ā 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Ā 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
Ā 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
Ā 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Ā 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
Ā 

Lee Barnes - What Successful Test Automation is.pdf

  • 1. What Successful Test Automation isā€¦ and Why itā€™s NOT Testing Lee Barnes Chief Quality Officer, Forte Group
  • 2. About Meā€¦ ā€¢ Chief Quality Officer of Forte Group ā€¢ Involved in software quality and testing for over 25 years ā€¢ Most of that time focused on test automation and performance testing ā€¢ Passionate about helping organizations build quality into their applications Email: lee.barnes@fortegrp.com Twitter: @USI_LeeBarnes LinkedIn: linkedin.com/in/leebarnes Blog: utopiasolutions.com/blog1 @USI_LeeBarnes 2
  • 3. My Journey In Software Testing Built my own testing approach based on research & experimentation Discovered thought leaders Discouraged by the state of ā€œsoftware testingā€ Transitioned to IT from aerospace engineering @USI_LeeBarnes 3
  • 4. What is Effective Software Testing? Software Testing Using our knowledge, experience, and critical thinking to design experiments with the purpose of exposing issues in software systems Effective Software Testing Software testing that: ā€¢ Is aligned with business goals and risk tolerance ā€¢ Provides valuable information on which to make an informed evaluation of a software system ā€¢ Supports of the need for fast feedback @USI_LeeBarnes 4
  • 5. Current State of Test Automation Image Source: 2022-23 World Quality Report Three most important factors in determining test automation approach @USI_LeeBarnes 5
  • 6. Common Test Automation Myths & Beliefs Myth / Belief Reality Test automation is a tool ā†’ Test automation is a process ā€“ it is enabled by tools We can automate 100% of our tests ā†’ We should automate 100% of the tests that SHOULD BE automated Automated testing will find more problems than execution by a human ā†’ Repeatedly executing the same set of automated checks SHOULD NOT find more problems than human testers Test automation is automating the userā€™s actions at the UI level ā†’ UI level is the slowest, most unreliable mode of automation @USI_LeeBarnes 6
  • 7. Whatā€™s Missing? Objectives Bad objectives Automation for the sake of automation ā†’ @USI_LeeBarnes 7
  • 8. How Did We Get Here? What tool should we use? What percentage of tests should we automate? What types of tests should we automate? How can test automation support our business goals? @USI_LeeBarnes 8
  • 9. What Does Effective Test Automation Look Like? ā€¢ Supports software development and business objectives ā€¢ High value activities / tests ā€¢ Reliable and provides fast feedback ā€¢ Continuous improvement ā€¢ Allows testers to focus on high-value testing tasks ļ‚„ finding problems @USI_LeeBarnes 9
  • 10. Identifying High-Value Tests Using FITR to assess automation worthiness of tests Focused Test is tied as close to the functionality being tested as possible ļ‚„ UI, API, unit, etc. Informative Test clearly and concisely communicates its intent and result Trustworthy Test executes reliably and doesnā€™t provide false negatives / positives Repeatable Test can be executed on demand ļ‚„ environment and data dependencies - Bas Dijkstra https://www.stickyminds.com/sites/default/files/volume-issue/pdf/V20I3.pdf @USI_LeeBarnes 10
  • 11. Setup for Reliability & Fast Feedback Test Environment & Data Spectrum Static Shared Stale Dynamic Dedicated Fresh Environment / Data Issues ā€¢ Data staleness and instability ā€¢ Scheduling conflicts ā€¢ Not production-like Automation Averse ā€¢ Unreliable execution ā€¢ Long/complex setup ā€¢ False positives ā€¢ Prolonged analysis Automation Friendly ā€¢ Create clean environments on demand ā€¢ Dedicate environments to single purpose ā€¢ Production-like (if needed) ā€¢ Load with clean/fresh data @USI_LeeBarnes 11
  • 12. Thinkā€¦ Then Do Purpose Dependencies Constraints Pipeline / Execution Environment / Data What business goal does this test suite support? What business risk does this test suite mitigate? What systems or tools must be in place for this test suite to run successfully? What can prevent us from implementing this test suite in an ideal way? Will this test suite be part of a pipeline? When will it be triggered? How often will it run? What environment will the test suite run in? How will test data be managed? Ownership and Response Maintainability Effectiveness Who will create the test suite? Who should own it? Who will address test failures and how? What will the process be to review code? What documentation needs to exist? How will we know the test suite is effective? Test Suite Canvas ā€“ questions to help you think critically about test automation - Ashley Hunsberger (adapted from original concept by Katrina Clokie) @USI_LeeBarnes 12
  • 13. But is Effective Test Automation Software Testing? Software Testing Using our knowledge, experience, and critical thinking to design experiments with the purpose of exposing issues in software systems Automation Operating or controlling a process by highly automatic means, reducing human intervention to a minimum. Test Automation is NOT Software Testing! @USI_LeeBarnes 13
  • 14. Broadening Our Definition of Test Automation ā€¢ Create test environments ā€¢ Destroy test environments ā€¢ Create data ā€¢ Refresh data ā€¢ Modify databases ā€¢ Query databases ā€¢ Submit API calls ā€¢ Check API responses ā€¢ Interact with the UI ā€¢ Check UI output ā€¢ Check file output ā€¢ Create mocks/stubs ā€¢ Inspect application logs ā€¢ Simulate network conditions ā€¢ Static code analysis These can all be automated! Think about all the things we do as software testers @USI_LeeBarnes 14
  • 15. Broadening Our Definition of Test Automation These are all test automation tools! Think about all the technology you use related to testing ā€¢ Service virtualization tools ā€¢ Network sniffers ā€¢ Network simulation tools ā€¢ Browser developer tools ā€¢ Scripting languages ā€¢ OS monitoring tools ā€¢ Test data generators ā€¢ File comparison utilities ā€¢ Test management systems ā€¢ API / Service automation software ā€¢ Performance / load tools ā€¢ Code Analysis tools ā€¢ HTML / CSS / JavaScript validators ā€¢ GUI automation software ā€¢ Data obfuscators ā€¢ Virtualization / Container tools ā€¢ Anything you build to solve a testing related problem! @USI_LeeBarnes 15
  • 16. Key Takeaways ā€¢ Avoid perpetuating common myths and unrealistic expectations ā€¢ Avoid shallow / naĆÆve questions when determining why youā€™re automating ā€¢ Characteristics of effective test automation includeā€¦ ļ‚„Supports business / development goals ļ‚„Is reliable and provides fast feedback ļ‚„Provides valuable information ļ‚„Allows testers to focus on high-value activities ā€¢ Broaden your definition of test automation by thinking about testing activities that can benefit from automation ā€¢ Continuously improve! ā€¢ Understand that software testing is much more than automating scripted test steps @USI_LeeBarnes 16
  • 17. Continuing the Conversation Lee Barnes Chief Quality Officer Forte Group Email: lee.barnes@fortegrp.com Twitter: @USI_LeeBarnes LinkedIn: linkedin.com/in/leebarnes @USI_LeeBarnes 17