SlideShare una empresa de Scribd logo
1 de 16
Descargar para leer sin conexión
Are your
test cases fit for automation?
Powered by HBT

Webinar Presentation Nov 27, 2013
T Ashok
Founder & CEO
STAG Software Private Limited
in.linkedin.com/in/AshokSTAG
Ash_Thiru
Good automation is more than frameworks, tools and scripting.

The inherent structure of scenarios/cases plays a vital role in ensuring
rapid development and optimised maintenance.
An ill formed structure makes the script complex making it error
prone and costly to maintain.
We will discuss an interesting idea "Fitness for automation" wherein
we examine properties of test scenarios/cases to ascertain if they are
good enough to automate.
Also what needs to be done in the case where it is "unfit" ?
This is one of the applications of "Hypothesis Based Testing" (HBT)
to ensure rapid automation and optimised maintenance.

© 2013 STAG Software Private Limited. All rights reserved.

2
Expectation and Challenges

๏

๏
๏

Complexity of scenario

Develop scripts rapidly
Adapt to newer functionally quickly

© 2013 STAG Software Private Limited. All rights reserved.

3
Structure of a script

Setup

Prerequisites to be done before “excitation”

Execute

“Excite” the system with inputs

Oracle

Check outcomes to determine pass/fail

Cleanup

Inverse of ‘setup’

© 2013 STAG Software Private Limited. All rights reserved.

4
What contributes to complexity?

Setup

Prerequisites to be done before “excitation”
#Steps to do this

Execute

“Excite” the system with inputs
#Inputs and the ‘kind of inputs(+/-)’
Order, dependency, source

Oracle

Check outcomes to determine pass/fail
The variety of behaviours to check &
#Checks for each behaviour

Cleanup

Inverse of ‘setup’
#Steps to do this

© 2013 STAG Software Private Limited. All rights reserved.

5
“Clarity of purpose”

What “type of bug” are we looking for?
...enables focused & simpler checking

Setup

Prerequisites to be done before “excitation”

Execute

“Excite” the system with inputs

Oracle

Check outcomes to determine pass/fail

Cleanup

Inverse of ‘setup’

© 2013 STAG Software Private Limited. All rights reserved.

6
“Clarity of purpose”

... results in ‘just-enough’ steps,
enables smaller/crisper script

Setup

Prerequisites to be done before “excitation”

Execute

“Excite” the system with inputs

Oracle

Check outcomes to determine pass/fail

Cleanup

Inverse of ‘setup’

© 2013 STAG Software Private Limited. All rights reserved.

7
Characteristics of TS that affect ‘automatability’

1

Clarity of purpose
What types of defects are being targeted by the test cases?

2

Distinctiveness of behaviours (Single output)
Do TS contain multiple behaviours ? or Single minded?

3

Similarity of inputs
Are the various inputs for the TS similar ?

© 2013 STAG Software Private Limited. All rights reserved.

8
Quality Levels & PDTs - Powered by HBT
1

Clarity of purpose

L9

End user value

That user expectations are met
PDTs related to User flows, User experience

L8

Clean Deployment

That it deploys well in the real environment
PDTs related to Compatibility, Migration

L7

Attributes met

That the stated attributes are met
PDTs related to Performance, Load,Volume......

L6

Environment cleanliness

That it does not mess up the environment
PDTs related to Resource leaks, Compatibility...

L5

Flow correctness

That end-to-end flows work correctly
PDTs related to Flow behaviour, Interactions

L4

Behaviour correctness

That the functional behaviour is correct
PDTs related to Functionality

L3

Structural integrity

That the internal structure is robust
PDTs related to Structural aspects

L2

Input interface cleanliness

That the user interface is clean
PDTs related to UI

L1

Input cleanliness

That inputs are handled well
PDTs related to Input data correctness

© 2013 STAG Software Private Limited. All rights reserved.

9
Functional automation covers...
L9

End user value

That user expectations are met
PDTs related to User flows, User experience

L8

Clean Deployment

That it deploys well in the real environment
PDTs related to Compatibility, Migration

L7

Attributes met

That the stated attributes are met
PDTs related to Performance, Load,Volume......

L6

Environment cleanliness

That it does not mess up the environment
PDTs related to Resource leaks, Compatibility...

L5

Flow correctness

That end-to-end flows work correctly
PDTs related to Flow behaviour, Interactions

L4

Behaviour correctness

That the functional behaviour is correct
PDTs related to Functionality

L3

Structural integrity

That the internal structure is robust
PDTs related to Structural aspects

L2

Input interface cleanliness

That the user interface is clean
PDTs related to UI

L1

Input cleanliness

That inputs are handled well
PDTs related to Input data correctness

© 2013 STAG Software Private Limited. All rights reserved.

10
Scripts automate scenarios, not cases
2
3

Entity
under test

Distinctiveness of behaviours
Similarity of inputs

Behaviour

Stimuli

Conditions govern behaviour
Outcome is Test Scenarios

Conditions

Inputs
i1
i2
i3

}

© 2013 STAG Software Private Limited. All rights reserved.

Outputs
1
C4

C2
C1
C3

Input (data) is Stimuli
Outcome is Test Cases

2
3
4
5

11
Fitness for automation

1

Does the TS look for a variety for defects?
What types of defects are being targeted by the test cases?

2

Does the TS check for a specific behaviour?
Is a specific behaviour being checked?

© 2013 STAG Software Private Limited. All rights reserved.

12
What if TS are “unfit”?

1

The TS is looking for a variety for defects?
Simplify a scenario.
Simplify it by decomposing it into various levels.
“Levelize”

2

The TS is checking a variety of behaviours
Make the single minded.
Split the scenarios such that each TS checks a
specific combination of conditions.

© 2013 STAG Software Private Limited. All rights reserved.

13
Hypothesis Based Testing - HBT

impeded by

should satisfy

Cleanliness Criteria
Potential Defect
Types

System Under Test

Requirements
traceability
“what to test”

© 2013 STAG Software Private Limited. All rights reserved.

Test Cases

Fault
traceability
“test for what”

14
HBT Overview
SIX staged purposeful activities, powered by EIGHT disciplines of thinking

SIX Stages of DOING
S1: Understand expectations
S2: Understand context
S3: Formulate hypothesis
S4: Devise proof
S5: Tooling support
S6: Assess & Analyse

S1

S6
D1

D2

D8

S5

Core Concepts

D7

D6

D3

D5
D4

S4

S3

S2

EIGHT Disciplines of Thinking
D1: Business value understanding
D2: Defect hypothesis
D3: Strategy & Planning
D4: Test design
D5: Tooling
D6:Visibility
D7: Execution & Reporting
D8: Analysis & Management
Uses 32 Core Concepts
For Problem solving
- Techniques, Principles, Guideline

Click here to know more about HBT.
http://stagsoftware.com/blog?p=570
© 2013 STAG Software Private Limited. All rights reserved.

15
Are your
test cases fit for automation?
Powered by HBT

Thank you.

Connect with us...
@stagsoft
blog.stagsoftware.com
HBT is the intellectual property of STAG Software Private Limited.
STEMTM is the trademark of STAG Software Private Limited.

© 2013 STAG Software Private Limited. All rights reserved.

www.stagsoftware.com

Más contenido relacionado

La actualidad más candente

Refactoring legacy code driven by tests - ITA
Refactoring legacy code driven by tests -  ITARefactoring legacy code driven by tests -  ITA
Refactoring legacy code driven by tests - ITALuca Minudel
 
Manual testing interview question by INFOTECH
Manual testing interview question by INFOTECHManual testing interview question by INFOTECH
Manual testing interview question by INFOTECHPravinsinh
 
Online Software Testing Course
Online Software Testing CourseOnline Software Testing Course
Online Software Testing Coursejaymicrosoftva
 

La actualidad más candente (7)

Language shapes the way you think
Language shapes the way you thinkLanguage shapes the way you think
Language shapes the way you think
 
Regression Suite Optimization
Regression Suite OptimizationRegression Suite Optimization
Regression Suite Optimization
 
Form and structure of test case MATTERS!
Form and structure of test case MATTERS!Form and structure of test case MATTERS!
Form and structure of test case MATTERS!
 
Refactoring legacy code driven by tests - ITA
Refactoring legacy code driven by tests -  ITARefactoring legacy code driven by tests -  ITA
Refactoring legacy code driven by tests - ITA
 
DreamWork Animation DWA
DreamWork Animation DWADreamWork Animation DWA
DreamWork Animation DWA
 
Manual testing interview question by INFOTECH
Manual testing interview question by INFOTECHManual testing interview question by INFOTECH
Manual testing interview question by INFOTECH
 
Online Software Testing Course
Online Software Testing CourseOnline Software Testing Course
Online Software Testing Course
 

Similar a Are Your Test Cases Fit For Automation?

DOES15 - Scott Prugh & Erica Morrison - Conway & Taylor Meet the Strangler (v...
DOES15 - Scott Prugh & Erica Morrison - Conway & Taylor Meet the Strangler (v...DOES15 - Scott Prugh & Erica Morrison - Conway & Taylor Meet the Strangler (v...
DOES15 - Scott Prugh & Erica Morrison - Conway & Taylor Meet the Strangler (v...Gene Kim
 
Automating Pragmatically - Testival 20190604
Automating Pragmatically - Testival 20190604Automating Pragmatically - Testival 20190604
Automating Pragmatically - Testival 20190604Alan Richardson
 
Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2Universal Technology Solutions
 
Agile Mumbai 2019 Conference | Intelligent DevOps enabling Enterprise Agilit...
Agile Mumbai 2019 Conference |  Intelligent DevOps enabling Enterprise Agilit...Agile Mumbai 2019 Conference |  Intelligent DevOps enabling Enterprise Agilit...
Agile Mumbai 2019 Conference | Intelligent DevOps enabling Enterprise Agilit...AgileNetwork
 
Building Efficient Software with Property Based Testing
Building Efficient Software with Property Based TestingBuilding Efficient Software with Property Based Testing
Building Efficient Software with Property Based TestingCitiusTech
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...Agile Testing Alliance
 
Agile-plus-DevOps Testing for Packaged Applications
Agile-plus-DevOps Testing for Packaged ApplicationsAgile-plus-DevOps Testing for Packaged Applications
Agile-plus-DevOps Testing for Packaged ApplicationsWorksoft
 
ITARC15 Workshop - Architecting a Large Software Project - Lessons Learned
ITARC15 Workshop - Architecting a Large Software Project - Lessons LearnedITARC15 Workshop - Architecting a Large Software Project - Lessons Learned
ITARC15 Workshop - Architecting a Large Software Project - Lessons LearnedJoão Pedro Martins
 
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012TEST Huddle
 
SplunkLive! Zurich 2018: Monitoring the End User Experience with Splunk
SplunkLive! Zurich 2018: Monitoring the End User Experience with SplunkSplunkLive! Zurich 2018: Monitoring the End User Experience with Splunk
SplunkLive! Zurich 2018: Monitoring the End User Experience with SplunkSplunk
 
implementing_ai_for_improved_performance_testing_the_key_to_success.pptx
implementing_ai_for_improved_performance_testing_the_key_to_success.pptximplementing_ai_for_improved_performance_testing_the_key_to_success.pptx
implementing_ai_for_improved_performance_testing_the_key_to_success.pptxsarah david
 
Foundation for optimized data center & private cloud
Foundation for optimized data center & private cloudFoundation for optimized data center & private cloud
Foundation for optimized data center & private cloudJS Park
 
Kelly potvin nosurprises_odtug_oow12
Kelly potvin nosurprises_odtug_oow12Kelly potvin nosurprises_odtug_oow12
Kelly potvin nosurprises_odtug_oow12Enkitec
 
SplunkLive! Frankfurt 2018 - Monitoring the End User Experience with Splunk
SplunkLive! Frankfurt 2018 - Monitoring the End User Experience with SplunkSplunkLive! Frankfurt 2018 - Monitoring the End User Experience with Splunk
SplunkLive! Frankfurt 2018 - Monitoring the End User Experience with SplunkSplunk
 

Similar a Are Your Test Cases Fit For Automation? (20)

DOES15 - Scott Prugh & Erica Morrison - Conway & Taylor Meet the Strangler (v...
DOES15 - Scott Prugh & Erica Morrison - Conway & Taylor Meet the Strangler (v...DOES15 - Scott Prugh & Erica Morrison - Conway & Taylor Meet the Strangler (v...
DOES15 - Scott Prugh & Erica Morrison - Conway & Taylor Meet the Strangler (v...
 
Automating Pragmatically - Testival 20190604
Automating Pragmatically - Testival 20190604Automating Pragmatically - Testival 20190604
Automating Pragmatically - Testival 20190604
 
Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2
 
Agile Mumbai 2019 Conference | Intelligent DevOps enabling Enterprise Agilit...
Agile Mumbai 2019 Conference |  Intelligent DevOps enabling Enterprise Agilit...Agile Mumbai 2019 Conference |  Intelligent DevOps enabling Enterprise Agilit...
Agile Mumbai 2019 Conference | Intelligent DevOps enabling Enterprise Agilit...
 
Building Efficient Software with Property Based Testing
Building Efficient Software with Property Based TestingBuilding Efficient Software with Property Based Testing
Building Efficient Software with Property Based Testing
 
Orchestration, the conductor's score
Orchestration, the conductor's scoreOrchestration, the conductor's score
Orchestration, the conductor's score
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...
 
Agile-plus-DevOps Testing for Packaged Applications
Agile-plus-DevOps Testing for Packaged ApplicationsAgile-plus-DevOps Testing for Packaged Applications
Agile-plus-DevOps Testing for Packaged Applications
 
MathumithaGnanasekaran_Resume(1)
MathumithaGnanasekaran_Resume(1)MathumithaGnanasekaran_Resume(1)
MathumithaGnanasekaran_Resume(1)
 
ITARC15 Workshop - Architecting a Large Software Project - Lessons Learned
ITARC15 Workshop - Architecting a Large Software Project - Lessons LearnedITARC15 Workshop - Architecting a Large Software Project - Lessons Learned
ITARC15 Workshop - Architecting a Large Software Project - Lessons Learned
 
Anubhav_Resume
Anubhav_ResumeAnubhav_Resume
Anubhav_Resume
 
NITIN_DIXIT
NITIN_DIXITNITIN_DIXIT
NITIN_DIXIT
 
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
 
SplunkLive! Zurich 2018: Monitoring the End User Experience with Splunk
SplunkLive! Zurich 2018: Monitoring the End User Experience with SplunkSplunkLive! Zurich 2018: Monitoring the End User Experience with Splunk
SplunkLive! Zurich 2018: Monitoring the End User Experience with Splunk
 
implementing_ai_for_improved_performance_testing_the_key_to_success.pptx
implementing_ai_for_improved_performance_testing_the_key_to_success.pptximplementing_ai_for_improved_performance_testing_the_key_to_success.pptx
implementing_ai_for_improved_performance_testing_the_key_to_success.pptx
 
Foundation for optimized data center & private cloud
Foundation for optimized data center & private cloudFoundation for optimized data center & private cloud
Foundation for optimized data center & private cloud
 
Kelly potvin nosurprises_odtug_oow12
Kelly potvin nosurprises_odtug_oow12Kelly potvin nosurprises_odtug_oow12
Kelly potvin nosurprises_odtug_oow12
 
SplunkLive! Frankfurt 2018 - Monitoring the End User Experience with Splunk
SplunkLive! Frankfurt 2018 - Monitoring the End User Experience with SplunkSplunkLive! Frankfurt 2018 - Monitoring the End User Experience with Splunk
SplunkLive! Frankfurt 2018 - Monitoring the End User Experience with Splunk
 
Pstc 2018
Pstc 2018Pstc 2018
Pstc 2018
 

Más de STAG Software Private Limited

Application Scenarios of "doSmartQA -Smart Probing Assistant"
Application Scenarios of "doSmartQA -Smart Probing Assistant"Application Scenarios of "doSmartQA -Smart Probing Assistant"
Application Scenarios of "doSmartQA -Smart Probing Assistant"STAG Software Private Limited
 
Think better using “Descriptive-Prescriptive” Approach
Think better using “Descriptive-Prescriptive” ApproachThink better using “Descriptive-Prescriptive” Approach
Think better using “Descriptive-Prescriptive” ApproachSTAG Software Private Limited
 
Test Process Transformation Protects Product Development Investment
Test Process Transformation Protects Product Development InvestmentTest Process Transformation Protects Product Development Investment
Test Process Transformation Protects Product Development InvestmentSTAG Software Private Limited
 
Enhanced Delivery Confidence Improved Product Maturity
Enhanced Delivery Confidence Improved Product MaturityEnhanced Delivery Confidence Improved Product Maturity
Enhanced Delivery Confidence Improved Product MaturitySTAG Software Private Limited
 
Pre-deployment Performance Evaluation of Web-based Product
Pre-deployment Performance Evaluation of Web-based ProductPre-deployment Performance Evaluation of Web-based Product
Pre-deployment Performance Evaluation of Web-based ProductSTAG Software Private Limited
 
Enhanced Automation Framework delivers Business Outcomes
Enhanced Automation Framework delivers Business OutcomesEnhanced Automation Framework delivers Business Outcomes
Enhanced Automation Framework delivers Business OutcomesSTAG Software Private Limited
 
Differential QA Staffing Strategy makes Captive Center Operational
Differential QA Staffing Strategy makes Captive Center OperationalDifferential QA Staffing Strategy makes Captive Center Operational
Differential QA Staffing Strategy makes Captive Center OperationalSTAG Software Private Limited
 

Más de STAG Software Private Limited (20)

Application Scenarios of "doSmartQA -Smart Probing Assistant"
Application Scenarios of "doSmartQA -Smart Probing Assistant"Application Scenarios of "doSmartQA -Smart Probing Assistant"
Application Scenarios of "doSmartQA -Smart Probing Assistant"
 
Choked by technical debt?
Choked by technical debt?Choked by technical debt?
Choked by technical debt?
 
Are your quality metrics insightful?
Are your quality metrics insightful?Are your quality metrics insightful?
Are your quality metrics insightful?
 
Weighed down by automation?
Weighed down by automation?Weighed down by automation?
Weighed down by automation?
 
Covid19 and Clean Code Part 2 - Process & Criteria
Covid19 and Clean Code Part 2 - Process & CriteriaCovid19 and Clean Code Part 2 - Process & Criteria
Covid19 and Clean Code Part 2 - Process & Criteria
 
Seven Thinking Tools to Test Rapidly
Seven Thinking Tools to Test RapidlySeven Thinking Tools to Test Rapidly
Seven Thinking Tools to Test Rapidly
 
How to test less and accomplish more
How to test less and accomplish moreHow to test less and accomplish more
How to test less and accomplish more
 
Is regression hindering your progression?
Is regression hindering your progression?Is regression hindering your progression?
Is regression hindering your progression?
 
The Power of Checklist
The Power of ChecklistThe Power of Checklist
The Power of Checklist
 
The power of checklist
The power of checklist The power of checklist
The power of checklist
 
Think better using “Descriptive-Prescriptive” Approach
Think better using “Descriptive-Prescriptive” ApproachThink better using “Descriptive-Prescriptive” Approach
Think better using “Descriptive-Prescriptive” Approach
 
Reflect and Change
Reflect and ChangeReflect and Change
Reflect and Change
 
Test Process Transformation Protects Product Development Investment
Test Process Transformation Protects Product Development InvestmentTest Process Transformation Protects Product Development Investment
Test Process Transformation Protects Product Development Investment
 
Intelligent Automation and Smart Tooling
Intelligent Automation and Smart ToolingIntelligent Automation and Smart Tooling
Intelligent Automation and Smart Tooling
 
Enhanced Delivery Confidence Improved Product Maturity
Enhanced Delivery Confidence Improved Product MaturityEnhanced Delivery Confidence Improved Product Maturity
Enhanced Delivery Confidence Improved Product Maturity
 
Too Many Conditions!
Too Many Conditions!Too Many Conditions!
Too Many Conditions!
 
Pre-deployment Performance Evaluation of Web-based Product
Pre-deployment Performance Evaluation of Web-based ProductPre-deployment Performance Evaluation of Web-based Product
Pre-deployment Performance Evaluation of Web-based Product
 
Enhanced Automation Framework delivers Business Outcomes
Enhanced Automation Framework delivers Business OutcomesEnhanced Automation Framework delivers Business Outcomes
Enhanced Automation Framework delivers Business Outcomes
 
Regulatory Compliance QA
Regulatory Compliance QARegulatory Compliance QA
Regulatory Compliance QA
 
Differential QA Staffing Strategy makes Captive Center Operational
Differential QA Staffing Strategy makes Captive Center OperationalDifferential QA Staffing Strategy makes Captive Center Operational
Differential QA Staffing Strategy makes Captive Center Operational
 

Último

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Are Your Test Cases Fit For Automation?

  • 1. Are your test cases fit for automation? Powered by HBT Webinar Presentation Nov 27, 2013 T Ashok Founder & CEO STAG Software Private Limited in.linkedin.com/in/AshokSTAG Ash_Thiru
  • 2. Good automation is more than frameworks, tools and scripting. The inherent structure of scenarios/cases plays a vital role in ensuring rapid development and optimised maintenance. An ill formed structure makes the script complex making it error prone and costly to maintain. We will discuss an interesting idea "Fitness for automation" wherein we examine properties of test scenarios/cases to ascertain if they are good enough to automate. Also what needs to be done in the case where it is "unfit" ? This is one of the applications of "Hypothesis Based Testing" (HBT) to ensure rapid automation and optimised maintenance. © 2013 STAG Software Private Limited. All rights reserved. 2
  • 3. Expectation and Challenges ๏ ๏ ๏ Complexity of scenario Develop scripts rapidly Adapt to newer functionally quickly © 2013 STAG Software Private Limited. All rights reserved. 3
  • 4. Structure of a script Setup Prerequisites to be done before “excitation” Execute “Excite” the system with inputs Oracle Check outcomes to determine pass/fail Cleanup Inverse of ‘setup’ © 2013 STAG Software Private Limited. All rights reserved. 4
  • 5. What contributes to complexity? Setup Prerequisites to be done before “excitation” #Steps to do this Execute “Excite” the system with inputs #Inputs and the ‘kind of inputs(+/-)’ Order, dependency, source Oracle Check outcomes to determine pass/fail The variety of behaviours to check & #Checks for each behaviour Cleanup Inverse of ‘setup’ #Steps to do this © 2013 STAG Software Private Limited. All rights reserved. 5
  • 6. “Clarity of purpose” What “type of bug” are we looking for? ...enables focused & simpler checking Setup Prerequisites to be done before “excitation” Execute “Excite” the system with inputs Oracle Check outcomes to determine pass/fail Cleanup Inverse of ‘setup’ © 2013 STAG Software Private Limited. All rights reserved. 6
  • 7. “Clarity of purpose” ... results in ‘just-enough’ steps, enables smaller/crisper script Setup Prerequisites to be done before “excitation” Execute “Excite” the system with inputs Oracle Check outcomes to determine pass/fail Cleanup Inverse of ‘setup’ © 2013 STAG Software Private Limited. All rights reserved. 7
  • 8. Characteristics of TS that affect ‘automatability’ 1 Clarity of purpose What types of defects are being targeted by the test cases? 2 Distinctiveness of behaviours (Single output) Do TS contain multiple behaviours ? or Single minded? 3 Similarity of inputs Are the various inputs for the TS similar ? © 2013 STAG Software Private Limited. All rights reserved. 8
  • 9. Quality Levels & PDTs - Powered by HBT 1 Clarity of purpose L9 End user value That user expectations are met PDTs related to User flows, User experience L8 Clean Deployment That it deploys well in the real environment PDTs related to Compatibility, Migration L7 Attributes met That the stated attributes are met PDTs related to Performance, Load,Volume...... L6 Environment cleanliness That it does not mess up the environment PDTs related to Resource leaks, Compatibility... L5 Flow correctness That end-to-end flows work correctly PDTs related to Flow behaviour, Interactions L4 Behaviour correctness That the functional behaviour is correct PDTs related to Functionality L3 Structural integrity That the internal structure is robust PDTs related to Structural aspects L2 Input interface cleanliness That the user interface is clean PDTs related to UI L1 Input cleanliness That inputs are handled well PDTs related to Input data correctness © 2013 STAG Software Private Limited. All rights reserved. 9
  • 10. Functional automation covers... L9 End user value That user expectations are met PDTs related to User flows, User experience L8 Clean Deployment That it deploys well in the real environment PDTs related to Compatibility, Migration L7 Attributes met That the stated attributes are met PDTs related to Performance, Load,Volume...... L6 Environment cleanliness That it does not mess up the environment PDTs related to Resource leaks, Compatibility... L5 Flow correctness That end-to-end flows work correctly PDTs related to Flow behaviour, Interactions L4 Behaviour correctness That the functional behaviour is correct PDTs related to Functionality L3 Structural integrity That the internal structure is robust PDTs related to Structural aspects L2 Input interface cleanliness That the user interface is clean PDTs related to UI L1 Input cleanliness That inputs are handled well PDTs related to Input data correctness © 2013 STAG Software Private Limited. All rights reserved. 10
  • 11. Scripts automate scenarios, not cases 2 3 Entity under test Distinctiveness of behaviours Similarity of inputs Behaviour Stimuli Conditions govern behaviour Outcome is Test Scenarios Conditions Inputs i1 i2 i3 } © 2013 STAG Software Private Limited. All rights reserved. Outputs 1 C4 C2 C1 C3 Input (data) is Stimuli Outcome is Test Cases 2 3 4 5 11
  • 12. Fitness for automation 1 Does the TS look for a variety for defects? What types of defects are being targeted by the test cases? 2 Does the TS check for a specific behaviour? Is a specific behaviour being checked? © 2013 STAG Software Private Limited. All rights reserved. 12
  • 13. What if TS are “unfit”? 1 The TS is looking for a variety for defects? Simplify a scenario. Simplify it by decomposing it into various levels. “Levelize” 2 The TS is checking a variety of behaviours Make the single minded. Split the scenarios such that each TS checks a specific combination of conditions. © 2013 STAG Software Private Limited. All rights reserved. 13
  • 14. Hypothesis Based Testing - HBT impeded by should satisfy Cleanliness Criteria Potential Defect Types System Under Test Requirements traceability “what to test” © 2013 STAG Software Private Limited. All rights reserved. Test Cases Fault traceability “test for what” 14
  • 15. HBT Overview SIX staged purposeful activities, powered by EIGHT disciplines of thinking SIX Stages of DOING S1: Understand expectations S2: Understand context S3: Formulate hypothesis S4: Devise proof S5: Tooling support S6: Assess & Analyse S1 S6 D1 D2 D8 S5 Core Concepts D7 D6 D3 D5 D4 S4 S3 S2 EIGHT Disciplines of Thinking D1: Business value understanding D2: Defect hypothesis D3: Strategy & Planning D4: Test design D5: Tooling D6:Visibility D7: Execution & Reporting D8: Analysis & Management Uses 32 Core Concepts For Problem solving - Techniques, Principles, Guideline Click here to know more about HBT. http://stagsoftware.com/blog?p=570 © 2013 STAG Software Private Limited. All rights reserved. 15
  • 16. Are your test cases fit for automation? Powered by HBT Thank you. Connect with us... @stagsoft blog.stagsoftware.com HBT is the intellectual property of STAG Software Private Limited. STEMTM is the trademark of STAG Software Private Limited. © 2013 STAG Software Private Limited. All rights reserved. www.stagsoftware.com