SlideShare a Scribd company logo
© Utopia Solutions
Building a Strategy for Test Automation Success
Lee Barnes, CTO
Utopia Solutions
© Utopia Solutions
Agenda
•What is the end goal?
•Why do we need a strategy?
•What do we need to consider?
•What should a strategy look like?
Test Automation Strategy Overview
Interactive Case Study
© Utopia Solutions
SECTION 1
What is Our End Goal?
© Utopia Solutions4
Test Automation Success Criteria
• Issue detection and recovery
• Accurate verification
• Unattended execution
Reliable
• Minimum sensitivity to application and test
case changes
• Test case definition separate from
automation code
Maintainable
• Test coverage expanded efficiently
• Automated test cases created by non-
automation resources
Scalable
© Utopia Solutions5
Test Automation Approach
Test Automation Framework
Automated Test Cases Test Results
Test Definition
Test Execution
Non-technical / Test Analysts & Subject Matter Experts
Technical / Automation Engineers
© Utopia Solutions
SECTION 2
Why Do We Need a Strategy?
© Utopia Solutions8
Why Test Automation Fails
Organizational
• Lack of support
• Unrealistic expectations
• Disjointed org structure
• Missing skill sets
Process
• Immature testing process
• Segregated processes
• Lack of test environment / data
control
Technical
• Poor tool support for AUT
• Under or over design automation
approach
© Utopia Solutions9
Are We Ready?
© Utopia Solutions
SECTION 3
What Do We Need to Know First?
© Utopia Solutions11
Test Automation Readiness Assessment
Org
• Structure
• Support
• Goals and
Expectations
• Resources and Skills
Process
• Test Maturity
• Test Assets
• Process Integration
• Test Environment /
Data
Tech
• AUT Technology
• AUT / Tool
Integration
Assessment
Topics
© Utopia Solutions
Where Do We Get the Information?
Assessment
Input
Stakeholders
Existing
Assets
AUTs
© Utopia Solutions
Ideal Organizational Attributes
Structure
• Centralized
testing
function
• Testing is a
peer of
development
• Automation
roles are
defined
Goals and
Expectations
• Automation is
an investment
• 100%
automation is
not likely
• Automation
requires
specialized
skills
• Automation
will free up
resources to
work on high-
value tasks
Support
• Executive
management
has visibility to
automation
• Automation
has a
dedicated
budget
Resources and
Skills
• Resources are
dedicated to
automation
• Resources are
skilled in
automation as
a process AND
technology
© Utopia Solutions
Ideal Process Attributes
Test Process
• Test objectives
are clear and
measurable
• Test cases are
defined and
documented
• Expected
results are
predictable
SDLC Integration
• AUT in a
frequent
release state
with visibility to
future roadmap
• Visibility to
system changes
as early as
possible in
release cycle
Test Environment
• Test
environment
dedicated to
automation
• Test data
controlled
© Utopia Solutions
Ideal Technology Attributes
AUT Technology
• Multiple AUTs built on
common technology
and/or development
framework
• Consistent use of UI
objects
• Consistent navigation
• Consistent presentation
of user feedback
(warnings, errors, etc.)
Tool / AUT Integration
• All UI objects supported
by tool
• Any alternative interfaces
(web services, API, DB,
etc.) supported by tool
• All target end user
environments supported
by tool
© Utopia Solutions
SECTION 4
Common Assessment Findings
© Utopia Solutions17
Organizational
Distributed
Testing /
Automation
Efforts
App
App
App
App
• Uneven automation
resource demand
• Inconsistent approach
• Duplicated efforts
• Restricted skill growth
and knowledge sharing
Leads to…
© Utopia Solutions18
Organizational
AUT A
AUT B AUT C
AUT D
Centralized
Test Automation
Team
Common Resources,
Processes &
Technology
• Flatten demand curve
• Accelerate skills
development
• Leverage reusable
knowledge and technology
Benefits
Centralize Automation
Activities
© Utopia Solutions19
Process
Analyze Design Build
Test Deploy
No ability to identify impact of app changes on
automated test suite
Unexpected /
Unpredictable
Maintenance
© Utopia Solutions20
Process
Analyze Design Build Test Deploy
Capture potential impacts as early as possible to enable
proactive maintenance
Capture App Changes
Analyze
Impact
Maintain Execute
Automation Activities
Application SDLC
© Utopia Solutions21
Environment
Shared Test Environment
Uncontrolled Test Data
Integration
Functional
Performance
Integration
Test
• Schedule conflicts
• Unreliable execution
• Unnecessary “hardening”
of the test suite
Leads to…
Automation
© Utopia Solutions22
Environment
Shared Test Environment
Controlled Test Data
Integration
Functional
Performance
Integration
Test
Dedicated Environment for
Automation
Test Data Controls
Dedicated
Environment
Controlled
Test Data
Automation
• Restore to known state
• Partition data related
to specific test
activities
• Create required data
each execution
© Utopia Solutions
SECTION 5
What Does a Strategy Look Like?
© Utopia Solutions24
Mobile Test Strategy Topics
Test
Automation
Strategy
Process &
Organization
Environment
TechnicalResources
Scope &
Roadmap
© Utopia Solutions25
Automation Strategy – Process and Organization
• Political and financial support
• Realistic expectations
• Centralized automation function
Key Organizational Components
• Test objectives and coverage goals
• Integration with SDLC → proactive
maintenance
Key Process Components
© Utopia Solutions26
Automation Strategy – Environment
• Dedicated environment for execution
• Controlled test data
• Controlled code migration
Key Environment Components
© Utopia Solutions27
Automation Strategy – Resources
• Roles
• Skills
• Time
Key People Components
• AUT test environment(s)
• Test suite development
• Test suite execution
Key Hardware Components
• Test tool
• Supporting utilities
Key Software Components
© Utopia Solutions28
Automation Strategy – Scope
• Test data setup
• AUT / environment preparation
• Complex / tedious results verification
Test Support Tasks
• Applications built on common technology
• Applications with frequent releases & friendly UI’s
Application Selection
• Frequently tested
• High test case to UI ratio
• Predictable results
• Easy to automate
Test Case Selection
© Utopia Solutions29
Automation Strategy – Roadmap
• Begin with required organizational and process changes
• Overlap with base framework and minimal coverage
• Enhance and add test coverage over small iterations
Create Implementation Timeline
Phase nPhase 1
Continuous Process & Organizational Improvements
Base Framework
Initial Coverage
AUT 1
Framework Enhancements
Expand Coverage
Initial Coverage
Phase 2
AUT 2
Expand Coverage
Expand Coverage
Initial Coverage
Phase 3
AUT 3
© Utopia Solutions
SECTION 6
Case Study
© Utopia Solutions31
Key Assessment Findings
Organization
• All enterprise testing activities
currently performed centrally
• Management believes automation
is a tool implementation
Process
• Manual tests are well structured,
but not maintained consistently
• Rely on SME’s to execute tests
Environment
• Manual regression test performed
in a isolated environment
• Test data refreshed in all
environments once per quarter
Technology
• All AUTs have browser based UI
• Developed on disparate
technologies
• Test tool supports all AUT
components
Resources
• Test organization consists of non-
technical SME’s
• System performance (mobile)
• Device performance
© Utopia Solutions32
Key Summary Points
• DO NOT automate without a clear vision and plan
• Understand your readiness from these perspectives
• Organization
• Process & Environment
• Technical
• Resources
• Implement in small phases
© Utopia Solutions33
Questions…
…. and Answers!
Direct future questions to:
Lee Barnes
Founder and CTO
Utopia Solutions, Inc.
Email: lee.barnes@utopiasolutions.com
Twitter: twitter.com/USI_LeeBarnes
LinkedIn: linkedin.com/in/leebarnes
Blog: www.RaiseYourMQ.com

More Related Content

PDF
Test Automation - Keytorc Approach
PPTX
Best practices for test automation
PPT
Test Automation Strategies For Agile
PDF
Test Automation
PPT
Automation testing strategy, approach & planning
PPT
Test Automation Framework Designs
PPTX
Automation Testing
PPT
Automation With A Tool Demo
Test Automation - Keytorc Approach
Best practices for test automation
Test Automation Strategies For Agile
Test Automation
Automation testing strategy, approach & planning
Test Automation Framework Designs
Automation Testing
Automation With A Tool Demo

What's hot (20)

PPTX
How to Design a Successful Test Automation Strategy
PDF
Test Automation Strategy
PDF
Test Automation
PPT
Automated Testing with Agile
PPTX
QA Best Practices in Agile World_new
PPT
Test automation process
PDF
Inverting The Testing Pyramid
PPT
Automation testing
PPTX
Test automation
PPTX
Introduction to Automation Testing
PDF
Test automation methodologies
PPT
Selenium Automation Framework
PDF
Automated vs manual testing
PDF
Test Automation: A Roadmap For Sucesss
PPTX
Types of testing
PPT
TESTING LIFE CYCLE PPT
PPT
Testing Centre Of Excellence From AppLabs
PPT
Role Of Qa And Testing In Agile 1225221397167302 8
PDF
automation testing benefits
PPTX
Test Automation Frameworks: Assumptions, Concepts & Tools
How to Design a Successful Test Automation Strategy
Test Automation Strategy
Test Automation
Automated Testing with Agile
QA Best Practices in Agile World_new
Test automation process
Inverting The Testing Pyramid
Automation testing
Test automation
Introduction to Automation Testing
Test automation methodologies
Selenium Automation Framework
Automated vs manual testing
Test Automation: A Roadmap For Sucesss
Types of testing
TESTING LIFE CYCLE PPT
Testing Centre Of Excellence From AppLabs
Role Of Qa And Testing In Agile 1225221397167302 8
automation testing benefits
Test Automation Frameworks: Assumptions, Concepts & Tools
Ad

Viewers also liked (20)

PPTX
Agile Testing Strategy
PPTX
The Three Pillars Approach to Your Agile Test Strategy
PDF
Agile 2012 the 0-page agile test plan - paul carvalho
PDF
How to brew a tasty agile test strategy
PPTX
Test Strategy
PPTX
Designing Agile Test Strategy for Mobile Apps By Parimala Hariprasad
PPT
Jarian van de Laar - Test Policy - Test Strategy
PPT
AJRA Test Strategy Discussion
PDF
Introduction to Test Automation - Technology and Tools
PPT
Web Test Automation with Selenium
PDF
Why a Mobile Test Strategy is just Test Strategy
PPTX
Automation Testing by Selenium Web Driver
PDF
Automation Testing using Selenium
PPT
Selenium ppt
PDF
Enough is not enough - Test Strategy for Mobile
PDF
Release Management for Large Enterprises
PPT
Centralized test automation framework implementation
PPTX
Drive Marketing Automation Success - Cross-Functional Alignment
PPTX
PPT
360logica_Testing_center_of_excellence
Agile Testing Strategy
The Three Pillars Approach to Your Agile Test Strategy
Agile 2012 the 0-page agile test plan - paul carvalho
How to brew a tasty agile test strategy
Test Strategy
Designing Agile Test Strategy for Mobile Apps By Parimala Hariprasad
Jarian van de Laar - Test Policy - Test Strategy
AJRA Test Strategy Discussion
Introduction to Test Automation - Technology and Tools
Web Test Automation with Selenium
Why a Mobile Test Strategy is just Test Strategy
Automation Testing by Selenium Web Driver
Automation Testing using Selenium
Selenium ppt
Enough is not enough - Test Strategy for Mobile
Release Management for Large Enterprises
Centralized test automation framework implementation
Drive Marketing Automation Success - Cross-Functional Alignment
360logica_Testing_center_of_excellence
Ad

Similar to Building a Test Automation Strategy for Success (20)

PDF
Don’t Be Another Statistic! Develop a Long-Term Test Automation Strategy
PDF
DevOpsDays Houston 2019 - Lee Barnes - Effective Test Automation in DevOps - ...
PDF
Effective Test Automation in DevOps
PDF
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
PDF
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
PDF
2019 Testim Webinar: Automation Test Strategy and Design for Agile Teams
PDF
How to Create a Winning Test Automation Strategy
PDF
Mobile Test Automation
PDF
Lee Barnes - What Successful Test Automation is.pdf
PPTX
Presentation - Test Automation in Digital Transformation - IITPSA SIGIST 2016042
PPTX
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
PDF
Role of Test Automation in Agile and DevOps
PPTX
Presentation1
PPT
Guideto Successful Application Test Automation
PPT
Software Testing
PDF
Building a Future-Proof Test Automation Strategy: From Planning to Execution
PPTX
How to make Automation an asset for Organization
PDF
InnovateQA Seattle2024_Lee Barnes_What Effective Test Automation is.pdf
PDF
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
PPTX
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptx
Don’t Be Another Statistic! Develop a Long-Term Test Automation Strategy
DevOpsDays Houston 2019 - Lee Barnes - Effective Test Automation in DevOps - ...
Effective Test Automation in DevOps
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
2019 Testim Webinar: Automation Test Strategy and Design for Agile Teams
How to Create a Winning Test Automation Strategy
Mobile Test Automation
Lee Barnes - What Successful Test Automation is.pdf
Presentation - Test Automation in Digital Transformation - IITPSA SIGIST 2016042
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Role of Test Automation in Agile and DevOps
Presentation1
Guideto Successful Application Test Automation
Software Testing
Building a Future-Proof Test Automation Strategy: From Planning to Execution
How to make Automation an asset for Organization
InnovateQA Seattle2024_Lee Barnes_What Effective Test Automation is.pdf
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptx

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Encapsulation theory and applications.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Cloud computing and distributed systems.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
Big Data Technologies - Introduction.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Modernizing your data center with Dell and AMD
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
Teaching material agriculture food technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The AUB Centre for AI in Media Proposal.docx
Reach Out and Touch Someone: Haptics and Empathic Computing
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Understanding_Digital_Forensics_Presentation.pptx
Spectral efficient network and resource selection model in 5G networks
Encapsulation theory and applications.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Cloud computing and distributed systems.
The Rise and Fall of 3GPP – Time for a Sabbatical?
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Big Data Technologies - Introduction.pptx
Electronic commerce courselecture one. Pdf
cuic standard and advanced reporting.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Empathic Computing: Creating Shared Understanding
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Modernizing your data center with Dell and AMD
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Teaching material agriculture food technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Building a Test Automation Strategy for Success

  • 1. © Utopia Solutions Building a Strategy for Test Automation Success Lee Barnes, CTO Utopia Solutions
  • 2. © Utopia Solutions Agenda •What is the end goal? •Why do we need a strategy? •What do we need to consider? •What should a strategy look like? Test Automation Strategy Overview Interactive Case Study
  • 3. © Utopia Solutions SECTION 1 What is Our End Goal?
  • 4. © Utopia Solutions4 Test Automation Success Criteria • Issue detection and recovery • Accurate verification • Unattended execution Reliable • Minimum sensitivity to application and test case changes • Test case definition separate from automation code Maintainable • Test coverage expanded efficiently • Automated test cases created by non- automation resources Scalable
  • 5. © Utopia Solutions5 Test Automation Approach Test Automation Framework Automated Test Cases Test Results Test Definition Test Execution Non-technical / Test Analysts & Subject Matter Experts Technical / Automation Engineers
  • 6. © Utopia Solutions SECTION 2 Why Do We Need a Strategy?
  • 7. © Utopia Solutions8 Why Test Automation Fails Organizational • Lack of support • Unrealistic expectations • Disjointed org structure • Missing skill sets Process • Immature testing process • Segregated processes • Lack of test environment / data control Technical • Poor tool support for AUT • Under or over design automation approach
  • 9. © Utopia Solutions SECTION 3 What Do We Need to Know First?
  • 10. © Utopia Solutions11 Test Automation Readiness Assessment Org • Structure • Support • Goals and Expectations • Resources and Skills Process • Test Maturity • Test Assets • Process Integration • Test Environment / Data Tech • AUT Technology • AUT / Tool Integration Assessment Topics
  • 11. © Utopia Solutions Where Do We Get the Information? Assessment Input Stakeholders Existing Assets AUTs
  • 12. © Utopia Solutions Ideal Organizational Attributes Structure • Centralized testing function • Testing is a peer of development • Automation roles are defined Goals and Expectations • Automation is an investment • 100% automation is not likely • Automation requires specialized skills • Automation will free up resources to work on high- value tasks Support • Executive management has visibility to automation • Automation has a dedicated budget Resources and Skills • Resources are dedicated to automation • Resources are skilled in automation as a process AND technology
  • 13. © Utopia Solutions Ideal Process Attributes Test Process • Test objectives are clear and measurable • Test cases are defined and documented • Expected results are predictable SDLC Integration • AUT in a frequent release state with visibility to future roadmap • Visibility to system changes as early as possible in release cycle Test Environment • Test environment dedicated to automation • Test data controlled
  • 14. © Utopia Solutions Ideal Technology Attributes AUT Technology • Multiple AUTs built on common technology and/or development framework • Consistent use of UI objects • Consistent navigation • Consistent presentation of user feedback (warnings, errors, etc.) Tool / AUT Integration • All UI objects supported by tool • Any alternative interfaces (web services, API, DB, etc.) supported by tool • All target end user environments supported by tool
  • 15. © Utopia Solutions SECTION 4 Common Assessment Findings
  • 16. © Utopia Solutions17 Organizational Distributed Testing / Automation Efforts App App App App • Uneven automation resource demand • Inconsistent approach • Duplicated efforts • Restricted skill growth and knowledge sharing Leads to…
  • 17. © Utopia Solutions18 Organizational AUT A AUT B AUT C AUT D Centralized Test Automation Team Common Resources, Processes & Technology • Flatten demand curve • Accelerate skills development • Leverage reusable knowledge and technology Benefits Centralize Automation Activities
  • 18. © Utopia Solutions19 Process Analyze Design Build Test Deploy No ability to identify impact of app changes on automated test suite Unexpected / Unpredictable Maintenance
  • 19. © Utopia Solutions20 Process Analyze Design Build Test Deploy Capture potential impacts as early as possible to enable proactive maintenance Capture App Changes Analyze Impact Maintain Execute Automation Activities Application SDLC
  • 20. © Utopia Solutions21 Environment Shared Test Environment Uncontrolled Test Data Integration Functional Performance Integration Test • Schedule conflicts • Unreliable execution • Unnecessary “hardening” of the test suite Leads to… Automation
  • 21. © Utopia Solutions22 Environment Shared Test Environment Controlled Test Data Integration Functional Performance Integration Test Dedicated Environment for Automation Test Data Controls Dedicated Environment Controlled Test Data Automation • Restore to known state • Partition data related to specific test activities • Create required data each execution
  • 22. © Utopia Solutions SECTION 5 What Does a Strategy Look Like?
  • 23. © Utopia Solutions24 Mobile Test Strategy Topics Test Automation Strategy Process & Organization Environment TechnicalResources Scope & Roadmap
  • 24. © Utopia Solutions25 Automation Strategy – Process and Organization • Political and financial support • Realistic expectations • Centralized automation function Key Organizational Components • Test objectives and coverage goals • Integration with SDLC → proactive maintenance Key Process Components
  • 25. © Utopia Solutions26 Automation Strategy – Environment • Dedicated environment for execution • Controlled test data • Controlled code migration Key Environment Components
  • 26. © Utopia Solutions27 Automation Strategy – Resources • Roles • Skills • Time Key People Components • AUT test environment(s) • Test suite development • Test suite execution Key Hardware Components • Test tool • Supporting utilities Key Software Components
  • 27. © Utopia Solutions28 Automation Strategy – Scope • Test data setup • AUT / environment preparation • Complex / tedious results verification Test Support Tasks • Applications built on common technology • Applications with frequent releases & friendly UI’s Application Selection • Frequently tested • High test case to UI ratio • Predictable results • Easy to automate Test Case Selection
  • 28. © Utopia Solutions29 Automation Strategy – Roadmap • Begin with required organizational and process changes • Overlap with base framework and minimal coverage • Enhance and add test coverage over small iterations Create Implementation Timeline Phase nPhase 1 Continuous Process & Organizational Improvements Base Framework Initial Coverage AUT 1 Framework Enhancements Expand Coverage Initial Coverage Phase 2 AUT 2 Expand Coverage Expand Coverage Initial Coverage Phase 3 AUT 3
  • 30. © Utopia Solutions31 Key Assessment Findings Organization • All enterprise testing activities currently performed centrally • Management believes automation is a tool implementation Process • Manual tests are well structured, but not maintained consistently • Rely on SME’s to execute tests Environment • Manual regression test performed in a isolated environment • Test data refreshed in all environments once per quarter Technology • All AUTs have browser based UI • Developed on disparate technologies • Test tool supports all AUT components Resources • Test organization consists of non- technical SME’s • System performance (mobile) • Device performance
  • 31. © Utopia Solutions32 Key Summary Points • DO NOT automate without a clear vision and plan • Understand your readiness from these perspectives • Organization • Process & Environment • Technical • Resources • Implement in small phases
  • 32. © Utopia Solutions33 Questions… …. and Answers! Direct future questions to: Lee Barnes Founder and CTO Utopia Solutions, Inc. Email: lee.barnes@utopiasolutions.com Twitter: twitter.com/USI_LeeBarnes LinkedIn: linkedin.com/in/leebarnes Blog: www.RaiseYourMQ.com