SlideShare a Scribd company logo
1 of 11
Download to read offline
W4
Optimizing Test Automation
10/18/2017 10:15:00 AM
Defining the Optimal Level of Test
Automation
Presented by:
Jim Trentadue
Independent Consultant
Brought to you by:
350 Corporate Way, Suite 400, Orange Park, FL 32073
888-­‐268-­‐8770 ·∙ 904-­‐278-­‐0524 - info@techwell.com - https://www.techwell.com/
Jim Trentadue
Independent Consultant
Jim Trentadue has more than seventeen years of experience as a coordinator and
manager in the software testing field. In his various career roles in testing, Jim
has focused on test execution, automation, management, environment
management, standards deployment, and test tool implementation. In the area
of offshore testing, Jim has worked with multiple large firms to develop and
coordinate cohesive relationships. As a guest speaker at the University of South
Florida's software testing class, Jim mentors students on the testing industry and
trends for establishing future job searches and continued training.Currently, Jim
has started his own Test Automation Foundations & Principles workshop aimed
at helping manual testers get started with automation.
10/26/2017
1
Determine your level of 
Test Automation
Jim Trentadue
Senior QA Manager, VGT
Jim.Trentadue@vgt.net
STAR Canada – October 18th, 2017
Traditional automation1
Agenda
2 Extending automation
3 Level 1 automation
4
5 Level 3 automation
Level 2 automation
6 Recap
10/26/2017
2
Traditional Automation ‐ Evolution
Record 
Playback
Structured
Testing
(invokes
more
conditions)
Data
Driven
Keyword
Driven
Model /
Object
Based
Actions
Based
Hybrid:
combines 2
or more of
the
previous
frameworks
Conditional 
Manual Tests
Extending Automation ‐ Conditional
Replicate static  Execute only tests that relate 
Execution
Manual Tests
Strategy Application 
Changes
Manual Tests? to changes made?
Error‐
Handling
Results 
Analysis
Quickly report defects 
against the changes How are errors handled?
10/26/2017
3
Overview of Automation Levels
LevelLevelLevel 1 test exercises the simplest aspect of the
LevelLevel
22
LevelLevel
1
Level 1 test exercises the simplest aspect of the 
functionality in a module
Level 2 tests explore all module aspects except 
interfaces to other components
Level Level 
33
Level 3 tests exercise the deepest module 
functions, including interfaces to other systems
Case Study by Steve Allott, Software Test Automation: Fewster & Graham
Level 1 Automation ‐ Definition
LevelLevel Level 1 test exercises the simplest aspect of the 
f i li i d l1
Level 1
It is usually straightforward to test manually
It is easy to automate
functionality in a module
The automated test is likely to work
It is unlikely to find a new bug
Case Study by Steve Allott, Software Test Automation: Fewster & Graham
10/26/2017
4
L1 Automation ‐ Regression
rderrder
Existing Automation
nhance Sales Ornhance Sales Or
Feature Story 1: 
Order Placement
Feature Story 2:
Order Processing
Feature Story 3:
Sprint 1
• Place New Order
• Generate Quote Data
Sprint 2
• Work Order Entries
• Additional Data Parameters
Confirmation Generation
Additional Data Parameters
Generate Quote Data
Epic Epic ––EnEn
Feature Story 3:
Order Fulfillment Sprint 3
• Confirmation Generation
• Ship To / Mail To Screens
Automation Candidates
Ship To / Mail To Screens
Level 2 Automation ‐ Definition
LevelLevel Level 2 tests explore all module aspects except 
i f h2
Level 2
It is possible but time consuming to test manually
It looks easy to automate, but doesn’t always turn out so
interfaces to other components
The automated test is likely to have bugs
It sometimes finds a bug
Case Study by Steve Allott, Software Test Automation: Fewster & Graham
10/26/2017
5
L2 Automation – Data‐Driven
Modularity drives the approach
Data‐Driven
Automated TC
Manual TC Book airline 
ticket
Login
Login Table
Flight 
Selection
Date Table Airport Table
Payment
Pay Methods 
Table
Confirmation 
Code Table
ConfCode
Good
Invalid
Inactive
Payment
Credit Card
Debit Card
Pay Later
Airports
Nonstop
1 stop
2 stops
Start Date
Good
Expired
Future
ID
Good
Invalid
Inactive
L2 Automation – Object‐Driven
Loop through 
All Radio Button 
options
Loop through 
All Tab options
Loop through 
All Push Button 
options
10/26/2017
6
Level 3 Automation ‐ Definition
LevelLevel Level 3 tests exercise the deepest module 
f i i l di i f h3
Level 3
Difficult if not impossible to test manually
Hard to automate
functions, including interfaces to other systems
Unlikely to run successfully, repeatedly
Very likely to find a bug
Case Study by Steve Allott, Software Test Automation: Fewster & Graham
L3 Automation – Problem Statement
Test Case 1 Bolster by Automation
Data
Navigation
Timing
Facts:
▪ Executed 12 times in 
release
▪ Module has been 
modified in each 
sprint (10)
▪ TC1 passes, but 
▪ Frequent & random 
data injection
▪ Navigation paved 
more paths
▪ Sporadic timeouts on 
forms / pages are 
captured precisely
related complex tests 
are failing 
10/26/2017
7
L3 Automation – Solution: Explore!
Planned, but randomData
• Field Data Injection, Data Reusability, Mapping Data Patterns
Objects identified, but sporadicNavigation
• Back and Forth, Object State Transition, Object Touches
Events known, but timings unknownTimings
• Varying Queries, Page Events (both fast and slow), Additional Instances
L3 Automation – Practically Explore
MappingReuseInjection
Analyzing data 
output; map to 
existing or new 
automated test 
cases
Leveraging this 
for subsequent 
transactions
Random Data 
injected in form 
fields, both good 
and bad
j
DATADATA
10/26/2017
8
L3 Automation – Practically Explore
TouchTransitionSeesaw
Random touch 
on an object to 
see what’s 
available and 
what isn’t
Determine an 
object's state in 
expected or 
unexpected 
transition 
Back and forth 
actions to see if 
object / data 
pattern emerge
NAVIGATIONNAVIGATIONNN
AgainEventsQueries
L3 Automation – Practically Explore
Open another 
instance of the 
app on same PC 
or same server
By executing 
these, does the 
performance 
fluctuate on 
other events?
Run large 
queries, small, 
and something 
in between
TIMINGSTIMINGS
10/26/2017
9
Session Recap
D fi th diff t l l f t ti d lDefine the different levels of automation you can develop
Outline practical models for each level
Apply various levels of automation on each release
Maintain metrics on the success of the higher levels
Thank you!
Jim Trentadue
Senior QA Manager, VGT
Jim.Trentadue@vgt.net
October 18th, 2017

More Related Content

Similar to Defining the Optimal Level of Test Automation

Sonal_Updated Resume (2)
Sonal_Updated Resume (2)Sonal_Updated Resume (2)
Sonal_Updated Resume (2)
sonal singh
 
Crispian Jago CV Feb 2015
Crispian Jago CV Feb 2015Crispian Jago CV Feb 2015
Crispian Jago CV Feb 2015
Crispian Jago
 
Vijay Raju_QA Lead Resume(1)
Vijay Raju_QA Lead Resume(1)Vijay Raju_QA Lead Resume(1)
Vijay Raju_QA Lead Resume(1)
Vijay Konduru
 
Astha Kumari Resume2
Astha Kumari Resume2Astha Kumari Resume2
Astha Kumari Resume2
Astha Singh
 
Jeremy.B.Tagala_cv.2016_final
Jeremy.B.Tagala_cv.2016_finalJeremy.B.Tagala_cv.2016_final
Jeremy.B.Tagala_cv.2016_final
Jeremy Tagala
 

Similar to Defining the Optimal Level of Test Automation (20)

Measurement and Metrics for Test Managers
Measurement and Metrics for Test ManagersMeasurement and Metrics for Test Managers
Measurement and Metrics for Test Managers
 
Ramesh_Resume_1215
Ramesh_Resume_1215Ramesh_Resume_1215
Ramesh_Resume_1215
 
Transform a Manual Testing Process to Incorporate Automation
Transform a Manual Testing Process to Incorporate AutomationTransform a Manual Testing Process to Incorporate Automation
Transform a Manual Testing Process to Incorporate Automation
 
Mobile Applications Testing: From Concepts to Practice
Mobile Applications Testing: From Concepts to PracticeMobile Applications Testing: From Concepts to Practice
Mobile Applications Testing: From Concepts to Practice
 
Which Agile Scaling Framework Is Best?
Which Agile Scaling Framework Is Best?Which Agile Scaling Framework Is Best?
Which Agile Scaling Framework Is Best?
 
A Rapid Introduction to Rapid Software Testing
A Rapid Introduction to Rapid Software TestingA Rapid Introduction to Rapid Software Testing
A Rapid Introduction to Rapid Software Testing
 
Tk
TkTk
Tk
 
Seven Keys to Navigating Your Agile Testing Transition
Seven Keys to Navigating Your Agile Testing TransitionSeven Keys to Navigating Your Agile Testing Transition
Seven Keys to Navigating Your Agile Testing Transition
 
Resume_Latest
Resume_LatestResume_Latest
Resume_Latest
 
Become Software Tester or Developer
Become Software Tester or DeveloperBecome Software Tester or Developer
Become Software Tester or Developer
 
Sonal_Updated Resume (2)
Sonal_Updated Resume (2)Sonal_Updated Resume (2)
Sonal_Updated Resume (2)
 
Crispian Jago CV Feb 2015
Crispian Jago CV Feb 2015Crispian Jago CV Feb 2015
Crispian Jago CV Feb 2015
 
Presentation it testing outsourcing 2013
Presentation   it testing outsourcing 2013Presentation   it testing outsourcing 2013
Presentation it testing outsourcing 2013
 
Vijay Raju_QA Lead Resume(1)
Vijay Raju_QA Lead Resume(1)Vijay Raju_QA Lead Resume(1)
Vijay Raju_QA Lead Resume(1)
 
Astha Kumari Resume2
Astha Kumari Resume2Astha Kumari Resume2
Astha Kumari Resume2
 
Jeremy.B.Tagala_cv.2016_final
Jeremy.B.Tagala_cv.2016_finalJeremy.B.Tagala_cv.2016_final
Jeremy.B.Tagala_cv.2016_final
 
How to Build a Fully Open Source Test Automation Framework
How to Build a Fully Open Source Test Automation FrameworkHow to Build a Fully Open Source Test Automation Framework
How to Build a Fully Open Source Test Automation Framework
 
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and MoreThe Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
 
Successful Test Automation: A Manager’s View
Successful Test Automation: A Manager’s ViewSuccessful Test Automation: A Manager’s View
Successful Test Automation: A Manager’s View
 
Sujoy Biswas_KPMG
Sujoy Biswas_KPMGSujoy Biswas_KPMG
Sujoy Biswas_KPMG
 

More from TechWell

More from TechWell (20)

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

Recently uploaded

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 

Defining the Optimal Level of Test Automation