SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
Hypothesis Based Testing - Application and
Adaptation for testing Enterprise Software
Satvik Kini, Suite Test Center, SAP Labs India Pvt Ltd., Bangalore
December 19, 2013

Public
Agenda
 Hypothesis Based Tests – Overview

 Traditional Test Approach vs. HBT
 Stages in HBT Approach – (Detailed Explanation with a case study)

 Challenges and Benefits
 Key factors for success

 Summary
 Q&A

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

2
Hypothesis Based Tests - Overview
Hypothesis Based Tests - Overview
Hypothesis :

Tentative explanation for a certain behavior, phenomenon, events that have occurred or will occur
•

Null Hypothesis – H0 – Eg: Heavy Smoking is the cause of Lung Cancer

•

Alternate Hypothesis – H1 – Eg: Heavy Smoking is not the cause of Lung Cancer

Hypothesis Based test:*
Goal focused approach, test methodology based on solid scientific principles built on the core theme of
hypothesizing potential defects.
* HBT is the IP of STAG Software.

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

4
Hypothesis Based Tests - Overview
The Scientific Method
Form a Question

Does my software work ?

Research

Understand Context

Hypothesis

Hypothesize Defects

Experiment

Develop & Execute Tests

Analyze Results

Pass or Fail ?

Draw Conclusions

Does my software work ?

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

5
Traditional Test Approach Vs. HBT
Traditional Test Approach Vs. HBT
Goal

Activities
Manual Test Cases
Automated Test Cases
---------------------------------------------------------------------------------Hopefully results in
Defects

Determines
Risks/
Potential
Defects

Drives
Activities
Test Levels
Test Design
Test Execution
------------------------------------------------------Defect Elimination

Focus: Coverage, Automation,
Test Scripts
© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Clean
Software

Focus: Defect Elimination based
approach for cleanliness
Public

7
Traditional Test Approach - Limitations
Limitations of Traditional Approach
•
•
•
•

Often Software is passed with X% OK Rate
Assumption – existing test cases cover desired parts of the software
Hopeful encounter of bugs
Focus on Quantitative reporting

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

8
Stages in HBT
HBT – An Example
Example 1 : Clean Water
Goal: Having Clean Water
Potential Defects in water: color, odour, suspended particles, bacteria
Cleaning Process:
• Conduct activities to first determine if each of the potential defects exists
• If a potential defect exists, then take steps to clean that defect
• Once all defects are removed, re-test the water for all potential defects and certify that the water is
clean
Result: Clean Water (goal is achieved)

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

10
HBT - Stages
Define
Cleanliness
Criteria

Define
Potential
Defect Types
(PDT)

Perform Testing

Analyze and
Conclude

Understand End
user expectation,
System Behavior

Consider All
possible different
defect types and
identify each with
test quality levels

Use of different
test techniques
and tools to test
each of the PDTs

Document and
Analyze the
results and get
an overall picture
on Quality

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

11
Stages in HBT – Case Study
Scenario – Student Course Registration and Completion

User Types

Equivalency
Determination

•

Course Registration

Student

•

Admin

•

Record External
Achievements

Academic
Advisor/Instructor

Attendance Tracking

Market Places
Produce Transcript

Grading

Examination

US Region

•

Europe Region

•

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

•

APJ Region

Public

12
HBT – Cleanliness Criteria (Goal)
Example 2 : End to End (E2E) Scenario tests
Define
Cleanliness
Criteria

Goal :

Define
Potential
Defect Types

Perform Testing

Analyze and
Conclude

The E2E Scenario Student Course Registration and Completion works fine

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

13
HBT – Define Potential Defect Types
Define
Cleanliness
Criteria

Define
Potential
Defect Types

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Perform Testing

Analyze and
Conclude

Public

14
HBT – Test Levels
Level 5
Expert Level E2E Tests

Level 4
Advanced E2E Scenario
Tests
Level 3
Integration tests
Level 2
Primary E2E Use Cases
Level 1
Transactional Coverage

workflows; role based
tests;Accessibility
Integration across
scenarios

Multiple Users;
Timezone based;
Less Used features

Integration defects;
Reporting
usability

Key E2E Requirements
Browser compatibility
Performance

Obvious Errors
Runtime Errors
Commonly used E2E
Use cases

•
•
•

Each level corresponds to a set of potential Detect Types (PDTs)
A purposeful detection of PDTs
Only once all PDTs are tested for, a level is called to be reached

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

15
HBT – Test Matrix

Creation of Report Card - Derive Test Matrix

Test levels

Potential Defect Types

Level 1

Runtime Errors

Obvious Functional Errors

Commonly used E2E usecases

Level 2

Broswer Compatibility

Calculations

Performance

Level 3

Integration

Reports

Usability

Level 4

Currency conversion

Less used features

Timezone based

Level 5

Workflows

Multiple Users

Accessibility

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Integration to other scenarios

Public

16
HBT – Perform Testing
Define
Cleanliness
Criteria

Define
Potential
Defect Types

Perform Testing

Analyze and
Conclude

I. Use of Existing Test Techniques/Tools :
1.

Test case driven testing or scripted testing
Automated test cases (only scripted tests)
b. Manual test cases (also giving the tester liberty of ad-hoc tests)
a.

2.

All pairs testing

3.

Exploratory testing
Usage of Specific Test tools

4.

II. Preparation of Charters

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

17
HBT – Analyze and Conclude
Define
Cleanliness
Criteria

Define
Potential
Defect Types

Perform Testing

Analyze and
Conclude

•

Document the results using charters/protocols

•

Check the test results for each of the PDTs

•

Update Report Card/Test Matrix - get a overall picture on Product Quality

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

18
HBT – Test Matrix
Update Report Card

Test levels

Potential Defects Types

Level 1

Runtime Errors

Obvious Functional
Errors

Commonly used E2E
usecases

Level 2

Broswer Compatibility

Calculations

Performance

Level 3

Integration

Reports

Usability

Level 4

Currency conversion

Less used features

Timezone based

Level 5

Workflows

Multiple Users

Accessibility

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Integration to
other scenarios

Public

19
Summary - HBT Realization
Define Cleanliness Criteria

Prepare PDT List

Derive Test Matrix
Prepare Charters

Test Using Charters

Protocol Logging

Update Report Card

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

20
Challenges, Benefits and Key Factors for
Success
Challenges
Challenges
•

Understanding different user contexts –
market places

•

Existence of custom code on top of
standard

Ads
•

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Highly configurable software –
customization and Business Functions

Public

22
Benefits
Benefits
• Confidence on what is tested
• Exploration of new scenarios as we do
the tests
• Reduction in customer messages

Ads

• Test Matrix gives an overall picture of
quality

• Higher Probability of finding defects as
the goal is to check existence of PDT
• Improvement - Code Coverage

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

23
Key Factors for Success
Key Factors for Success
• Success mainly depends on
Understanding internal and external
factors and list of PDTs
• Identifying each PDT and its
corresponding level

Ads

• For each of the PDT, choosing right set
of scenarios/risks
• Choosing right set of tools and test
techniques to test each PDT

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

24
Summary
Summary

Goal focused approach, test methodology based on solid scientific principles built
on the core theme of hypothesizing potential defects.
© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Public

26
Q&A
Thank you
Contact information:
Satvik Kini
Associate Quality Manager
SAP Labs India Pvt. Ltd, Bangalore
+91 98863 89654
satvik.kini@sap.com
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
APPENDIX

© 2013 SAP AG or an SAP affiliate company. All rights reserved.
Stages in HBT - Realization

BACK

Example of Charter :
Scope

PDT

Risks To Manage

How

Test Techniques

Tester

All Business
Processes

Common Used E2E
use cases

Check the straight
forward E2E scenario
is working

Run Automated Test
cases

Automated test
cases
Garbage Collector
Tour

Browser
Compatibility

Check Attendance
Tracking UI is
compatible with IE9,
Chrome Version 30,
Firefox, Safari

Check All the Tabs,
Popups, F4 Helps,
Result List, Status
Icons, Calendar
Display

Exploratory Tours :
Super Model Tour,
Garbage Collector
Tour

Mr. B

Equivalency
Determination

Obvious Functional
Errors

Mapping of External
Achievements to
Internal subjects

Try different
achievements with
different status and
validity dates

Exploratory Tour :
Intellectual Tour

Additional Comments

Mr. A

Attendance Tracking
UI

Messages

Mr. C

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

All pair Testing

Public

30
Stages in HBT - Realization

BACK

Update each Charter after testing each of the PDTs
Scope

PDT

Risks To Manage

How

Test Techniques

Tester

Messages

Additional Comments

All Business
Processes

Common Used E2E
use cases

Check the straight
forward E2E scenario
is working

Run Automated Test
cases

Automated test
cases
Landmark Tour

Mr. A

None

All Business
processes are
working fine

Attendance Tracking
UI

Browser
Compatibility

Check Attendance
Tracking UI is
compatible with IE9,
Chrome Version 30,
Firefox, Safari

Check All the Tabs,
Popups, F4 Helps,
Result List, Status
Icons, Calendar
Display

Exploratory Tours :
Super Model Tour,
Garbage Collector

Mr. B

23348743
32476764

Checked browser
compatible for the
IE9,chrome,Safari .
Yet to check for
Firefox

Equivalency
Determination

Obvious Functional
Errors

Mapping of External
Achievements to
Internal subjects

Try different
achievements with
different status and
validity dates

Exploratory Tour :
Intellectual Tour

Mr. C

43234234

Runtime Error while
clicking on the Sort
Button
Blocked

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

All pair Testing

Public

31

Contenu connexe

Tendances

Large-Scale Agile Test Automation Strategies in Practice
Large-Scale Agile Test Automation Strategies in PracticeLarge-Scale Agile Test Automation Strategies in Practice
Large-Scale Agile Test Automation Strategies in PracticeTechWell
 
Testing Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation FrameworksTesting Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation FrameworksŁukasz Morawski
 
Test Automation Strategies for the Agile World
Test Automation Strategies for the Agile WorldTest Automation Strategies for the Agile World
Test Automation Strategies for the Agile WorldTechWell
 
Interview questions
Interview questionsInterview questions
Interview questionssivareddyeda
 
Test Automation Strategies in a Continuous Delivery Ecosystem
Test Automation Strategies in a Continuous Delivery EcosystemTest Automation Strategies in a Continuous Delivery Ecosystem
Test Automation Strategies in a Continuous Delivery EcosystemCognizant
 
Usability Testing Plan & Report
Usability Testing Plan & ReportUsability Testing Plan & Report
Usability Testing Plan & ReportGaurav Bhatia
 
Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...
Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...
Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...QA or the Highway
 
Test Automation Principles
Test Automation PrinciplesTest Automation Principles
Test Automation PrinciplesNetSuite
 
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys Computer Trainings Online
 
QA interview questions and answers
QA interview questions and answersQA interview questions and answers
QA interview questions and answersMehul Chauhan
 
Introducing Keyword-Driven Test Automation
Introducing Keyword-Driven Test AutomationIntroducing Keyword-Driven Test Automation
Introducing Keyword-Driven Test AutomationTechWell
 
Manual testing interview question by INFOTECH
Manual testing interview question by INFOTECHManual testing interview question by INFOTECH
Manual testing interview question by INFOTECHPravinsinh
 
Qa interview questions and answers
Qa interview questions and answersQa interview questions and answers
Qa interview questions and answersGaruda Trainings
 
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 -  test automation strategy for Scrum ProjectsScrum gathering Paris 2013 -  test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum ProjectsEliane Collins
 
Test automation and Agile software development
Test automation and Agile software developmentTest automation and Agile software development
Test automation and Agile software developmentBas Dijkstra
 

Tendances (19)

Are Your Test Cases Fit For Automation?
Are Your Test Cases Fit For Automation?Are Your Test Cases Fit For Automation?
Are Your Test Cases Fit For Automation?
 
Language shapes the way you think
Language shapes the way you thinkLanguage shapes the way you think
Language shapes the way you think
 
Large-Scale Agile Test Automation Strategies in Practice
Large-Scale Agile Test Automation Strategies in PracticeLarge-Scale Agile Test Automation Strategies in Practice
Large-Scale Agile Test Automation Strategies in Practice
 
Testing Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation FrameworksTesting Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation Frameworks
 
Test Automation Strategies for the Agile World
Test Automation Strategies for the Agile WorldTest Automation Strategies for the Agile World
Test Automation Strategies for the Agile World
 
new anu resume
new anu resumenew anu resume
new anu resume
 
Interview questions
Interview questionsInterview questions
Interview questions
 
Block 1 ms-034 unit-1
Block 1 ms-034 unit-1Block 1 ms-034 unit-1
Block 1 ms-034 unit-1
 
Test Automation Strategies in a Continuous Delivery Ecosystem
Test Automation Strategies in a Continuous Delivery EcosystemTest Automation Strategies in a Continuous Delivery Ecosystem
Test Automation Strategies in a Continuous Delivery Ecosystem
 
Usability Testing Plan & Report
Usability Testing Plan & ReportUsability Testing Plan & Report
Usability Testing Plan & Report
 
Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...
Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...
Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...
 
Test Automation Principles
Test Automation PrinciplesTest Automation Principles
Test Automation Principles
 
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys
 
QA interview questions and answers
QA interview questions and answersQA interview questions and answers
QA interview questions and answers
 
Introducing Keyword-Driven Test Automation
Introducing Keyword-Driven Test AutomationIntroducing Keyword-Driven Test Automation
Introducing Keyword-Driven Test Automation
 
Manual testing interview question by INFOTECH
Manual testing interview question by INFOTECHManual testing interview question by INFOTECH
Manual testing interview question by INFOTECH
 
Qa interview questions and answers
Qa interview questions and answersQa interview questions and answers
Qa interview questions and answers
 
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 -  test automation strategy for Scrum ProjectsScrum gathering Paris 2013 -  test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
 
Test automation and Agile software development
Test automation and Agile software developmentTest automation and Agile software development
Test automation and Agile software development
 

Similaire à Hypothesis Based Testing – Application and Adaptation for testing Enterprise Software - at SAP Labs

Similaire à Hypothesis Based Testing – Application and Adaptation for testing Enterprise Software - at SAP Labs (20)

Test Policy and Practices
Test Policy and PracticesTest Policy and Practices
Test Policy and Practices
 
Regression Testing - A Complete Guide
Regression Testing - A Complete GuideRegression Testing - A Complete Guide
Regression Testing - A Complete Guide
 
Dev ops I Best Practices I NuggetHub
Dev ops I Best Practices I NuggetHubDev ops I Best Practices I NuggetHub
Dev ops I Best Practices I NuggetHub
 
Abhijit_Testing
Abhijit_TestingAbhijit_Testing
Abhijit_Testing
 
Gap assessment Continuous Testing
Gap assessment   Continuous TestingGap assessment   Continuous Testing
Gap assessment Continuous Testing
 
Shraddha_Test_Analyst_10_years_Exp
Shraddha_Test_Analyst_10_years_ExpShraddha_Test_Analyst_10_years_Exp
Shraddha_Test_Analyst_10_years_Exp
 
QAIBP
QAIBPQAIBP
QAIBP
 
Agile case studies
Agile case studiesAgile case studies
Agile case studies
 
TEA Presentation V 0.3
TEA Presentation V 0.3TEA Presentation V 0.3
TEA Presentation V 0.3
 
Ekta Gupta - CV
Ekta Gupta - CVEkta Gupta - CV
Ekta Gupta - CV
 
A Complete Guide to Functional Testing
A Complete Guide to Functional TestingA Complete Guide to Functional Testing
A Complete Guide to Functional Testing
 
Kumari Meenu_Test Analyst
Kumari Meenu_Test AnalystKumari Meenu_Test Analyst
Kumari Meenu_Test Analyst
 
A Complete Guide to Functional Testing
A Complete Guide to Functional TestingA Complete Guide to Functional Testing
A Complete Guide to Functional Testing
 
Test plan
Test planTest plan
Test plan
 
Abir_Resume
Abir_ResumeAbir_Resume
Abir_Resume
 
Ieee829mtp
Ieee829mtpIeee829mtp
Ieee829mtp
 
Test Automation in Agile
Test Automation in AgileTest Automation in Agile
Test Automation in Agile
 
Sfeldman performance bb_worldemea07
Sfeldman performance bb_worldemea07Sfeldman performance bb_worldemea07
Sfeldman performance bb_worldemea07
 
Resume
ResumeResume
Resume
 
Estimating test effort part 1 of 2
Estimating test effort part 1 of 2Estimating test effort part 1 of 2
Estimating test effort part 1 of 2
 

Plus 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
 

Plus 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
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
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
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
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
 

Dernier (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
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)
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Hypothesis Based Testing – Application and Adaptation for testing Enterprise Software - at SAP Labs

  • 1. Hypothesis Based Testing - Application and Adaptation for testing Enterprise Software Satvik Kini, Suite Test Center, SAP Labs India Pvt Ltd., Bangalore December 19, 2013 Public
  • 2. Agenda  Hypothesis Based Tests – Overview  Traditional Test Approach vs. HBT  Stages in HBT Approach – (Detailed Explanation with a case study)  Challenges and Benefits  Key factors for success  Summary  Q&A © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 2
  • 4. Hypothesis Based Tests - Overview Hypothesis : Tentative explanation for a certain behavior, phenomenon, events that have occurred or will occur • Null Hypothesis – H0 – Eg: Heavy Smoking is the cause of Lung Cancer • Alternate Hypothesis – H1 – Eg: Heavy Smoking is not the cause of Lung Cancer Hypothesis Based test:* Goal focused approach, test methodology based on solid scientific principles built on the core theme of hypothesizing potential defects. * HBT is the IP of STAG Software. © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 4
  • 5. Hypothesis Based Tests - Overview The Scientific Method Form a Question Does my software work ? Research Understand Context Hypothesis Hypothesize Defects Experiment Develop & Execute Tests Analyze Results Pass or Fail ? Draw Conclusions Does my software work ? © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 5
  • 7. Traditional Test Approach Vs. HBT Goal Activities Manual Test Cases Automated Test Cases ---------------------------------------------------------------------------------Hopefully results in Defects Determines Risks/ Potential Defects Drives Activities Test Levels Test Design Test Execution ------------------------------------------------------Defect Elimination Focus: Coverage, Automation, Test Scripts © 2013 SAP AG or an SAP affiliate company. All rights reserved. Clean Software Focus: Defect Elimination based approach for cleanliness Public 7
  • 8. Traditional Test Approach - Limitations Limitations of Traditional Approach • • • • Often Software is passed with X% OK Rate Assumption – existing test cases cover desired parts of the software Hopeful encounter of bugs Focus on Quantitative reporting © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 8
  • 10. HBT – An Example Example 1 : Clean Water Goal: Having Clean Water Potential Defects in water: color, odour, suspended particles, bacteria Cleaning Process: • Conduct activities to first determine if each of the potential defects exists • If a potential defect exists, then take steps to clean that defect • Once all defects are removed, re-test the water for all potential defects and certify that the water is clean Result: Clean Water (goal is achieved) © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 10
  • 11. HBT - Stages Define Cleanliness Criteria Define Potential Defect Types (PDT) Perform Testing Analyze and Conclude Understand End user expectation, System Behavior Consider All possible different defect types and identify each with test quality levels Use of different test techniques and tools to test each of the PDTs Document and Analyze the results and get an overall picture on Quality © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 11
  • 12. Stages in HBT – Case Study Scenario – Student Course Registration and Completion User Types Equivalency Determination • Course Registration Student • Admin • Record External Achievements Academic Advisor/Instructor Attendance Tracking Market Places Produce Transcript Grading Examination US Region • Europe Region • © 2013 SAP AG or an SAP affiliate company. All rights reserved. • APJ Region Public 12
  • 13. HBT – Cleanliness Criteria (Goal) Example 2 : End to End (E2E) Scenario tests Define Cleanliness Criteria Goal : Define Potential Defect Types Perform Testing Analyze and Conclude The E2E Scenario Student Course Registration and Completion works fine © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 13
  • 14. HBT – Define Potential Defect Types Define Cleanliness Criteria Define Potential Defect Types © 2013 SAP AG or an SAP affiliate company. All rights reserved. Perform Testing Analyze and Conclude Public 14
  • 15. HBT – Test Levels Level 5 Expert Level E2E Tests Level 4 Advanced E2E Scenario Tests Level 3 Integration tests Level 2 Primary E2E Use Cases Level 1 Transactional Coverage workflows; role based tests;Accessibility Integration across scenarios Multiple Users; Timezone based; Less Used features Integration defects; Reporting usability Key E2E Requirements Browser compatibility Performance Obvious Errors Runtime Errors Commonly used E2E Use cases • • • Each level corresponds to a set of potential Detect Types (PDTs) A purposeful detection of PDTs Only once all PDTs are tested for, a level is called to be reached © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 15
  • 16. HBT – Test Matrix Creation of Report Card - Derive Test Matrix Test levels Potential Defect Types Level 1 Runtime Errors Obvious Functional Errors Commonly used E2E usecases Level 2 Broswer Compatibility Calculations Performance Level 3 Integration Reports Usability Level 4 Currency conversion Less used features Timezone based Level 5 Workflows Multiple Users Accessibility © 2013 SAP AG or an SAP affiliate company. All rights reserved. Integration to other scenarios Public 16
  • 17. HBT – Perform Testing Define Cleanliness Criteria Define Potential Defect Types Perform Testing Analyze and Conclude I. Use of Existing Test Techniques/Tools : 1. Test case driven testing or scripted testing Automated test cases (only scripted tests) b. Manual test cases (also giving the tester liberty of ad-hoc tests) a. 2. All pairs testing 3. Exploratory testing Usage of Specific Test tools 4. II. Preparation of Charters © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 17
  • 18. HBT – Analyze and Conclude Define Cleanliness Criteria Define Potential Defect Types Perform Testing Analyze and Conclude • Document the results using charters/protocols • Check the test results for each of the PDTs • Update Report Card/Test Matrix - get a overall picture on Product Quality © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 18
  • 19. HBT – Test Matrix Update Report Card Test levels Potential Defects Types Level 1 Runtime Errors Obvious Functional Errors Commonly used E2E usecases Level 2 Broswer Compatibility Calculations Performance Level 3 Integration Reports Usability Level 4 Currency conversion Less used features Timezone based Level 5 Workflows Multiple Users Accessibility © 2013 SAP AG or an SAP affiliate company. All rights reserved. Integration to other scenarios Public 19
  • 20. Summary - HBT Realization Define Cleanliness Criteria Prepare PDT List Derive Test Matrix Prepare Charters Test Using Charters Protocol Logging Update Report Card © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 20
  • 21. Challenges, Benefits and Key Factors for Success
  • 22. Challenges Challenges • Understanding different user contexts – market places • Existence of custom code on top of standard Ads • © 2013 SAP AG or an SAP affiliate company. All rights reserved. Highly configurable software – customization and Business Functions Public 22
  • 23. Benefits Benefits • Confidence on what is tested • Exploration of new scenarios as we do the tests • Reduction in customer messages Ads • Test Matrix gives an overall picture of quality • Higher Probability of finding defects as the goal is to check existence of PDT • Improvement - Code Coverage © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 23
  • 24. Key Factors for Success Key Factors for Success • Success mainly depends on Understanding internal and external factors and list of PDTs • Identifying each PDT and its corresponding level Ads • For each of the PDT, choosing right set of scenarios/risks • Choosing right set of tools and test techniques to test each PDT © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 24
  • 26. Summary Goal focused approach, test methodology based on solid scientific principles built on the core theme of hypothesizing potential defects. © 2013 SAP AG or an SAP affiliate company. All rights reserved. Public 26
  • 27. Q&A
  • 28. Thank you Contact information: Satvik Kini Associate Quality Manager SAP Labs India Pvt. Ltd, Bangalore +91 98863 89654 satvik.kini@sap.com © 2013 SAP AG or an SAP affiliate company. All rights reserved.
  • 29. APPENDIX © 2013 SAP AG or an SAP affiliate company. All rights reserved.
  • 30. Stages in HBT - Realization BACK Example of Charter : Scope PDT Risks To Manage How Test Techniques Tester All Business Processes Common Used E2E use cases Check the straight forward E2E scenario is working Run Automated Test cases Automated test cases Garbage Collector Tour Browser Compatibility Check Attendance Tracking UI is compatible with IE9, Chrome Version 30, Firefox, Safari Check All the Tabs, Popups, F4 Helps, Result List, Status Icons, Calendar Display Exploratory Tours : Super Model Tour, Garbage Collector Tour Mr. B Equivalency Determination Obvious Functional Errors Mapping of External Achievements to Internal subjects Try different achievements with different status and validity dates Exploratory Tour : Intellectual Tour Additional Comments Mr. A Attendance Tracking UI Messages Mr. C © 2013 SAP AG or an SAP affiliate company. All rights reserved. All pair Testing Public 30
  • 31. Stages in HBT - Realization BACK Update each Charter after testing each of the PDTs Scope PDT Risks To Manage How Test Techniques Tester Messages Additional Comments All Business Processes Common Used E2E use cases Check the straight forward E2E scenario is working Run Automated Test cases Automated test cases Landmark Tour Mr. A None All Business processes are working fine Attendance Tracking UI Browser Compatibility Check Attendance Tracking UI is compatible with IE9, Chrome Version 30, Firefox, Safari Check All the Tabs, Popups, F4 Helps, Result List, Status Icons, Calendar Display Exploratory Tours : Super Model Tour, Garbage Collector Mr. B 23348743 32476764 Checked browser compatible for the IE9,chrome,Safari . Yet to check for Firefox Equivalency Determination Obvious Functional Errors Mapping of External Achievements to Internal subjects Try different achievements with different status and validity dates Exploratory Tour : Intellectual Tour Mr. C 43234234 Runtime Error while clicking on the Sort Button Blocked © 2013 SAP AG or an SAP affiliate company. All rights reserved. All pair Testing Public 31