SlideShare a Scribd company logo
QUESTIONS FOR SUCCESSFUL
TEST AUTOMATION PROJECTS
Daniel Ionita
SEETEST 2016
WHAT IS THE MISSION OF THE
PROJECT?
• Think BIG, take a more strategical
approach
• Relate to it with clear and
measurable objectives
• Involve appropriate stakeholders,
including sponsors and beneficiaries
Remember as how software changes so the mission may
change and your test automation must adapt!
WHY ARE WE NEEDING TEST
AUTOMATION?
• This is related to the quality expectations and
analysis of existing testing and that translates
into many questions:
• What is the current status of your testing?
• Can you make your testing scalable?
• Can testing keep up with development?
• How fast do you want to deliver?
• How often do you want to have a specific
coverage of testing performed?
… and many more
SHOW ME WHY?
ROI ROE
ROI = (CTM- CTA)/ CTA*100
Cost of manual testing (CTM) = Cost
of manually testing as many
times as the automated test will
be executed
Cost of test automation(CTA) = Cost
of hardware + Cost of software + Cost
of developing the test automation +
Cost of executing test automation+
Cost of maintaining the test
automation
ROE= (Efficiency gain –
Investment)/Investment*100
Efficiency gain through test automation
= Manual test execution and analysis
time of tests that will be automated
Investment = Test automation
development, execution, analysis and
maintenance time
WHO WILL DO THE AUTOMATION?
• Take in consideration
• Software testing skills
• Software development skills
• Knowledge of test automation
scripting/programming language
• Knowledge of the application under test
• Knowledge of the business
WHAT TYPE OF TESTING DO YOU
TARGET WITH TEST AUTOMATION?
• Unit testing
• Regression Testing
• Performance Testing
• Exploratory Testing(mostly to support it)
• Random Testing
• Security Testing
• Usability Testing
WHAT TYPE OF AUTOMATION?
• Unit tests layer – testing the code
• Service layer – testing the services of
the application independent from its
user interface
• UI – testing the application through
UI
WHAT TO AUTOMATE?
• M - must have this – critical to the current delivery
• S - should have this if all possible – important but
not necessary for delivery
• C - could have this but not necessary – desirable
but not necessary
• W - won’t have this - dropped or reconsidered for
inclusion
• Other factors:
• what takes the most time regarding test execution
• priorities of tests
• coverage expected (breadth or depth)
• tests/requirements age
• what are the most tedious and repetitive tests
…..
WHAT IS THE TEST AUTOMATION
INPUT AND OUTPUT DESIRED?
Test design
Test artifacts
Hardware
Software
Interaction with AUT
Traceability
Auditing
Risk information
Artifacts to support
manual testing
WHAT IS THE COVERAGE EXPECTED FOR
THE TEST ENVIRONMENT?
• Hardware
• Compiler
• OS
• Databases
• Browser
• Communication protocols
• File system
…
WHAT TYPE OF FEEDBACK IS
NEEDED?
• Goal is to offer the fastest possible feedback to the
project stakeholders
• The information should drive actions
• The information needs to target a diverse audience
• Reporting
• focus on test automation results
• communication channels
• visualization of test results
• Metrics(do not use the metrics as objectives)
• costs of test automation
• effectiveness of test automation
REPORTING
• Information useful for test automation engineers
• highlighting exceptions and providing alerts
• troubleshooting data results at granular and macro
level
• encouraging actions to improve effectiveness and
efficiency
• supporting maintenance of tests
• Information useful for managers
• aggregated info supporting decision making
• highlight risks especially at product level
• integration data analysis( defect tracker, test case
management, coverage …)
• Information useful for software test engineers
• highlight risks at granular and macro level for tests
and products
METRICS
• A useful metrics should be accurate and related to
your goals, objectives.
• “Don’t measure anything unless data helps you make
a better decision or change your actions.”
Seth Godin
• Test automation metrics
• ROI/ROE
• Test automation coverage
• Test automation flakiness
• Mean time of investigation and Resolve the
problem
• Cycle time for test automation
• Project metrics that may be impacted by test
automation
• Defect removal efficiency
• Customer defect trends post-release
• Lead time
Do not use the metrics as
targets and evaluating
performance, use them to
for continuous improvement.
HOW?
• The W? questions should drive the How?
Cone of uncertainty Programming process
pyramid
Steve McConnell Code Complete, Second Editionhttp://www.construx.com/
METHOD?
• A good method as for putting everything together is
ATAM(Architecture Tradeoff Analysis Method)
• In order to proceed with the architecture analysis and
design we need to focus on the following main things:
architectural significant requirements, constraints and
understanding different architectural tactics.
• The W? questions will give you the business drivers,
architectural significant requirements and constraints.
• The main principle of the method is that is a risk-
mitigation process focusing on finding the trade-offs
and sensitivity points to drive you in choosing the
suitable architecture.
ANALYSIS?
• Architectures are mostly driven or shaped by
quality attributes requirements.
• The quality attributes used in general for ATAM are
the following: availability,
interoperability,modifiability,performance,security,t
estability,usability.
• Based on the business drivers, architecturally
significant requirements and this quality attributes
a utility tree will be built as to generate concrete
scenarios. Those will be prioritized from the
business and architectural impact to drive the
architectural design analysis.
• As for that analysis you will need to know
architectural approaches, architectural tactics,
design patterns.
Utility Tree
TEST AUTOMATION FRAMEWORKS?
• A test automation framework is an integrated system that
sets the rules of automation of a specific product.
• It is defined as the set of assumptions, concepts, and
practices that constitute a work platform or support for
automated testing.
• Linear – basic record and playback approach
• Modular – abstraction or encapsulation of scripts
• Data driven – externalization of test data from scripts
• Keyword driven – application-independent automation
• Hybrid – combination of several techniques
ADVANTAGES AND
DISADVANTAGES?
Test framework Advantages Disadvantages
Linear test framework Low technical knowledge
Requires little training
Ease of automation
Short setup time
Brittle tests
Recording is usually repeated for each test
Not respecting software engineering
standards
Modular test framework Reducing the number of test scripts
Greater flexibility and higher scalability
Easier maintenance
Requires technical expertise
Increased time spent for automation
Data driven test framework
model
Reduced maintenance
Less amount of code written
Low data redundancy
Requires expertise in handling test tool and
test data files
Maintenance of test data
Keyword driven test
model
Less technical expertise in automating test cases
Low maintenance cost
Portable architecture between applications and
tools
Extensive technical and tool skills knowledge
for framework development
High cost of implementation
Hybrid test Framework Minimized maintenance
Takes advantages of the other frameworks
strengths
High complexity
High technical expertise
Questions for successful test automation projects

More Related Content

What's hot

Guideto Successful Application Test Automation
Guideto Successful Application Test AutomationGuideto Successful Application Test Automation
Guideto Successful Application Test Automation
aimshigh7
 
Software testing
Software testingSoftware testing
Software testing
davidsantro
 
The Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software TestingThe Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software Testing
Software Testing Solution
 
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour PresentationSoftware Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
XBOSoft
 
Test Automation failure analysis
Test Automation failure analysisTest Automation failure analysis
Test Automation failure analysis
Prashant Chaudhary
 
Software Testing ppt
Software Testing pptSoftware Testing ppt
Software Testing ppt
Pratibha Singh
 
Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success
TEST Huddle
 
Think tank event mobile app testing v1.3
Think tank event   mobile app testing v1.3Think tank event   mobile app testing v1.3
Think tank event mobile app testing v1.3
Samer Desouky
 
Software validation
Software validationSoftware validation
Software validation
Robert Phe
 
Software Testing - Software V&V and selection processes
Software Testing - Software V&V and selection processesSoftware Testing - Software V&V and selection processes
Software Testing - Software V&V and selection processes
anasz3z3
 
6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture
Erdem YILDIRIM
 
Automation Concepts
Automation ConceptsAutomation Concepts
Automation Concepts
Nishant Worah
 
Software testing introduction
Software testing introductionSoftware testing introduction
Software testing introduction
Omkar Deshpande
 
What is Ad-Hoc Testing
What is Ad-Hoc TestingWhat is Ad-Hoc Testing
What is Ad-Hoc Testing
Exforsys Inc
 
Role of Test Automation in Modern Software Delivery Pipelines
Role of Test Automation in Modern Software Delivery PipelinesRole of Test Automation in Modern Software Delivery Pipelines
Role of Test Automation in Modern Software Delivery Pipelines
Kasun Kodagoda
 
Website's functional and non functional requirements
Website's functional and non functional requirementsWebsite's functional and non functional requirements
Website's functional and non functional requirements
OZ Assignment Help Australia
 
AMI Case Studies
AMI Case StudiesAMI Case Studies
Hakan Fredriksson - Experiences With MBT and Qtronic
Hakan Fredriksson - Experiences With MBT and Qtronic Hakan Fredriksson - Experiences With MBT and Qtronic
Hakan Fredriksson - Experiences With MBT and Qtronic
TEST Huddle
 
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
Ho Chi Minh City Software Testing Club
 
Chapter 15 software product metrics
Chapter 15 software product metricsChapter 15 software product metrics
Chapter 15 software product metrics
SHREEHARI WADAWADAGI
 

What's hot (20)

Guideto Successful Application Test Automation
Guideto Successful Application Test AutomationGuideto Successful Application Test Automation
Guideto Successful Application Test Automation
 
Software testing
Software testingSoftware testing
Software testing
 
The Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software TestingThe Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software Testing
 
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour PresentationSoftware Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
 
Test Automation failure analysis
Test Automation failure analysisTest Automation failure analysis
Test Automation failure analysis
 
Software Testing ppt
Software Testing pptSoftware Testing ppt
Software Testing ppt
 
Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success
 
Think tank event mobile app testing v1.3
Think tank event   mobile app testing v1.3Think tank event   mobile app testing v1.3
Think tank event mobile app testing v1.3
 
Software validation
Software validationSoftware validation
Software validation
 
Software Testing - Software V&V and selection processes
Software Testing - Software V&V and selection processesSoftware Testing - Software V&V and selection processes
Software Testing - Software V&V and selection processes
 
6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture
 
Automation Concepts
Automation ConceptsAutomation Concepts
Automation Concepts
 
Software testing introduction
Software testing introductionSoftware testing introduction
Software testing introduction
 
What is Ad-Hoc Testing
What is Ad-Hoc TestingWhat is Ad-Hoc Testing
What is Ad-Hoc Testing
 
Role of Test Automation in Modern Software Delivery Pipelines
Role of Test Automation in Modern Software Delivery PipelinesRole of Test Automation in Modern Software Delivery Pipelines
Role of Test Automation in Modern Software Delivery Pipelines
 
Website's functional and non functional requirements
Website's functional and non functional requirementsWebsite's functional and non functional requirements
Website's functional and non functional requirements
 
AMI Case Studies
AMI Case StudiesAMI Case Studies
AMI Case Studies
 
Hakan Fredriksson - Experiences With MBT and Qtronic
Hakan Fredriksson - Experiences With MBT and Qtronic Hakan Fredriksson - Experiences With MBT and Qtronic
Hakan Fredriksson - Experiences With MBT and Qtronic
 
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
 
Chapter 15 software product metrics
Chapter 15 software product metricsChapter 15 software product metrics
Chapter 15 software product metrics
 

Similar to Questions for successful test automation projects

Qtp - Introduction values
Qtp - Introduction valuesQtp - Introduction values
Qtp - Introduction values
Vibrant Technologies & Computers
 
Embedded world 2017
Embedded world 2017Embedded world 2017
Embedded world 2017
ChantalWauters
 
How To Avoid Continuously Delivering Faulty Software
How To Avoid Continuously Delivering Faulty SoftwareHow To Avoid Continuously Delivering Faulty Software
How To Avoid Continuously Delivering Faulty Software
Erika Barron
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
Lee Barnes
 
Test planning and software's engineering
Test planning and software's engineeringTest planning and software's engineering
Test planning and software's engineering
MansiganeshJawale
 
How to Avoid Continuously Delivering Faulty Software
How to Avoid Continuously Delivering Faulty SoftwareHow to Avoid Continuously Delivering Faulty Software
How to Avoid Continuously Delivering Faulty Software
Perforce
 
What_is_Software_Testing.pdf
What_is_Software_Testing.pdfWhat_is_Software_Testing.pdf
What_is_Software_Testing.pdf
VuongPhm
 
Software Testing
Software Testing Software Testing
Software Testing
sajedah abukhdeir
 
Best Practices in Testing Force.com Application
Best Practices in Testing Force.com ApplicationBest Practices in Testing Force.com Application
Best Practices in Testing Force.com Application
Emtec Inc.
 
Software Productivity Measurement
Software Productivity MeasurementSoftware Productivity Measurement
Software Productivity Measurement
Ajeng Savitri
 
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
DiUS
 
Quality Assurance and Testing services
Quality Assurance and Testing servicesQuality Assurance and Testing services
Quality Assurance and Testing services
Boston Technology Corporation
 
Why Test Automation Fails
Why Test Automation FailsWhy Test Automation Fails
Why Test Automation Fails
Ranorex
 
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity Software Ireland
 
Innovation day 2013 2.5 joris vanderschrick (verhaert) - embedded system de...
Innovation day 2013   2.5 joris vanderschrick (verhaert) - embedded system de...Innovation day 2013   2.5 joris vanderschrick (verhaert) - embedded system de...
Innovation day 2013 2.5 joris vanderschrick (verhaert) - embedded system de...
Verhaert Masters in Innovation
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
Rizky Munggaran
 
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web TestingThe Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
Perfecto by Perforce
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Shivang100
 
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
Richard Robinson
 
Productionising Machine Learning Models
Productionising Machine Learning ModelsProductionising Machine Learning Models
Productionising Machine Learning Models
Tash Bickley
 

Similar to Questions for successful test automation projects (20)

Qtp - Introduction values
Qtp - Introduction valuesQtp - Introduction values
Qtp - Introduction values
 
Embedded world 2017
Embedded world 2017Embedded world 2017
Embedded world 2017
 
How To Avoid Continuously Delivering Faulty Software
How To Avoid Continuously Delivering Faulty SoftwareHow To Avoid Continuously Delivering Faulty Software
How To Avoid Continuously Delivering Faulty Software
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
 
Test planning and software's engineering
Test planning and software's engineeringTest planning and software's engineering
Test planning and software's engineering
 
How to Avoid Continuously Delivering Faulty Software
How to Avoid Continuously Delivering Faulty SoftwareHow to Avoid Continuously Delivering Faulty Software
How to Avoid Continuously Delivering Faulty Software
 
What_is_Software_Testing.pdf
What_is_Software_Testing.pdfWhat_is_Software_Testing.pdf
What_is_Software_Testing.pdf
 
Software Testing
Software Testing Software Testing
Software Testing
 
Best Practices in Testing Force.com Application
Best Practices in Testing Force.com ApplicationBest Practices in Testing Force.com Application
Best Practices in Testing Force.com Application
 
Software Productivity Measurement
Software Productivity MeasurementSoftware Productivity Measurement
Software Productivity Measurement
 
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
 
Quality Assurance and Testing services
Quality Assurance and Testing servicesQuality Assurance and Testing services
Quality Assurance and Testing services
 
Why Test Automation Fails
Why Test Automation FailsWhy Test Automation Fails
Why Test Automation Fails
 
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
 
Innovation day 2013 2.5 joris vanderschrick (verhaert) - embedded system de...
Innovation day 2013   2.5 joris vanderschrick (verhaert) - embedded system de...Innovation day 2013   2.5 joris vanderschrick (verhaert) - embedded system de...
Innovation day 2013 2.5 joris vanderschrick (verhaert) - embedded system de...
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web TestingThe Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
 
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
 
Productionising Machine Learning Models
Productionising Machine Learning ModelsProductionising Machine Learning Models
Productionising Machine Learning Models
 

Recently uploaded

E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
lorraineandreiamcidl
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
pavan998932
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 

Recently uploaded (20)

E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 

Questions for successful test automation projects

  • 1. QUESTIONS FOR SUCCESSFUL TEST AUTOMATION PROJECTS Daniel Ionita SEETEST 2016
  • 2.
  • 3. WHAT IS THE MISSION OF THE PROJECT? • Think BIG, take a more strategical approach • Relate to it with clear and measurable objectives • Involve appropriate stakeholders, including sponsors and beneficiaries Remember as how software changes so the mission may change and your test automation must adapt!
  • 4. WHY ARE WE NEEDING TEST AUTOMATION? • This is related to the quality expectations and analysis of existing testing and that translates into many questions: • What is the current status of your testing? • Can you make your testing scalable? • Can testing keep up with development? • How fast do you want to deliver? • How often do you want to have a specific coverage of testing performed? … and many more
  • 5. SHOW ME WHY? ROI ROE ROI = (CTM- CTA)/ CTA*100 Cost of manual testing (CTM) = Cost of manually testing as many times as the automated test will be executed Cost of test automation(CTA) = Cost of hardware + Cost of software + Cost of developing the test automation + Cost of executing test automation+ Cost of maintaining the test automation ROE= (Efficiency gain – Investment)/Investment*100 Efficiency gain through test automation = Manual test execution and analysis time of tests that will be automated Investment = Test automation development, execution, analysis and maintenance time
  • 6. WHO WILL DO THE AUTOMATION? • Take in consideration • Software testing skills • Software development skills • Knowledge of test automation scripting/programming language • Knowledge of the application under test • Knowledge of the business
  • 7. WHAT TYPE OF TESTING DO YOU TARGET WITH TEST AUTOMATION? • Unit testing • Regression Testing • Performance Testing • Exploratory Testing(mostly to support it) • Random Testing • Security Testing • Usability Testing
  • 8. WHAT TYPE OF AUTOMATION? • Unit tests layer – testing the code • Service layer – testing the services of the application independent from its user interface • UI – testing the application through UI
  • 9. WHAT TO AUTOMATE? • M - must have this – critical to the current delivery • S - should have this if all possible – important but not necessary for delivery • C - could have this but not necessary – desirable but not necessary • W - won’t have this - dropped or reconsidered for inclusion • Other factors: • what takes the most time regarding test execution • priorities of tests • coverage expected (breadth or depth) • tests/requirements age • what are the most tedious and repetitive tests …..
  • 10. WHAT IS THE TEST AUTOMATION INPUT AND OUTPUT DESIRED? Test design Test artifacts Hardware Software Interaction with AUT Traceability Auditing Risk information Artifacts to support manual testing
  • 11. WHAT IS THE COVERAGE EXPECTED FOR THE TEST ENVIRONMENT? • Hardware • Compiler • OS • Databases • Browser • Communication protocols • File system …
  • 12. WHAT TYPE OF FEEDBACK IS NEEDED? • Goal is to offer the fastest possible feedback to the project stakeholders • The information should drive actions • The information needs to target a diverse audience • Reporting • focus on test automation results • communication channels • visualization of test results • Metrics(do not use the metrics as objectives) • costs of test automation • effectiveness of test automation
  • 13. REPORTING • Information useful for test automation engineers • highlighting exceptions and providing alerts • troubleshooting data results at granular and macro level • encouraging actions to improve effectiveness and efficiency • supporting maintenance of tests • Information useful for managers • aggregated info supporting decision making • highlight risks especially at product level • integration data analysis( defect tracker, test case management, coverage …) • Information useful for software test engineers • highlight risks at granular and macro level for tests and products
  • 14. METRICS • A useful metrics should be accurate and related to your goals, objectives. • “Don’t measure anything unless data helps you make a better decision or change your actions.” Seth Godin • Test automation metrics • ROI/ROE • Test automation coverage • Test automation flakiness • Mean time of investigation and Resolve the problem • Cycle time for test automation • Project metrics that may be impacted by test automation • Defect removal efficiency • Customer defect trends post-release • Lead time Do not use the metrics as targets and evaluating performance, use them to for continuous improvement.
  • 15. HOW? • The W? questions should drive the How? Cone of uncertainty Programming process pyramid Steve McConnell Code Complete, Second Editionhttp://www.construx.com/
  • 16. METHOD? • A good method as for putting everything together is ATAM(Architecture Tradeoff Analysis Method) • In order to proceed with the architecture analysis and design we need to focus on the following main things: architectural significant requirements, constraints and understanding different architectural tactics. • The W? questions will give you the business drivers, architectural significant requirements and constraints. • The main principle of the method is that is a risk- mitigation process focusing on finding the trade-offs and sensitivity points to drive you in choosing the suitable architecture.
  • 17. ANALYSIS? • Architectures are mostly driven or shaped by quality attributes requirements. • The quality attributes used in general for ATAM are the following: availability, interoperability,modifiability,performance,security,t estability,usability. • Based on the business drivers, architecturally significant requirements and this quality attributes a utility tree will be built as to generate concrete scenarios. Those will be prioritized from the business and architectural impact to drive the architectural design analysis. • As for that analysis you will need to know architectural approaches, architectural tactics, design patterns. Utility Tree
  • 18. TEST AUTOMATION FRAMEWORKS? • A test automation framework is an integrated system that sets the rules of automation of a specific product. • It is defined as the set of assumptions, concepts, and practices that constitute a work platform or support for automated testing. • Linear – basic record and playback approach • Modular – abstraction or encapsulation of scripts • Data driven – externalization of test data from scripts • Keyword driven – application-independent automation • Hybrid – combination of several techniques
  • 19. ADVANTAGES AND DISADVANTAGES? Test framework Advantages Disadvantages Linear test framework Low technical knowledge Requires little training Ease of automation Short setup time Brittle tests Recording is usually repeated for each test Not respecting software engineering standards Modular test framework Reducing the number of test scripts Greater flexibility and higher scalability Easier maintenance Requires technical expertise Increased time spent for automation Data driven test framework model Reduced maintenance Less amount of code written Low data redundancy Requires expertise in handling test tool and test data files Maintenance of test data Keyword driven test model Less technical expertise in automating test cases Low maintenance cost Portable architecture between applications and tools Extensive technical and tool skills knowledge for framework development High cost of implementation Hybrid test Framework Minimized maintenance Takes advantages of the other frameworks strengths High complexity High technical expertise