SlideShare a Scribd company logo
1
Orthogonal Array approach
in Testing
Presenter – Karthikeyan Rajendran
Enterprise Testing Services
Agenda-
 Introduction-Current scenario & Customer
Expectations
 Normal approach in testing
 Testing – The only validation Method
 Challenges while designing test cases
 Orthogonal Array Testing – Basics &
Terminologies
 Implementing OA techniques
 Case Study I – Mobile application
 Case Study II – GradeGuru application
 Benefits of OA
 Limitations of OA
 Mistakes to avoid while implementing OA
 Conclusion
2
Introduction: Current Scenario
Tight Budget
Schedule Pressure
Demanding Customer
3
Zero Defect
Lower Execution Cost
Faster Execution Efficiency
Customer Satisfaction
Introduction: Expectations
4
Normal Approach in Testing
Study ‘Requirement
Specification’.
Identify Test
Parameter & their
Levels
Remove Redundancy
& Invalid Test Cases
Design Test CaseExecute Test CaseLog Errors
This is repeated for each Test Case
More the Test Cases: More Time & Effort
5
Testing: The only Validation Method!
Whether the product is the “Right Product”!
The challenge in identifying Test Cases:
 Are all the paths covered?
(Unit Testing or white box testing)
 Are all interfaces tested?
(Integration Testing)
 Is the system functionality validated?
(System Testing)
 Are all single mode and double mode faults detected?
6
Challenges while Designing Test Cases
Endless executing tests don’t increase
Confidence Level in the System
May not have time to execute 100%
combinations of Test Cases
All boundary conditions may
not be tested.
Repeated test cycles incase
of Regression may not be
feasible.
7
Orthogonal Array Testing:
An Efficient and Effective Test Strategy
Covers all the Boundary Conditions
Optimize the test cases that are likely to
uncover most of the bugs
Increase the confidence level in the system by
executing concise and well defined sets of tests.
Orthogonal Array is the tool used to generate the Test Cases
8
OA Terminologies-
OA is a 2-Dimensional Array consisting of:
 Runs:
 number of rows in the array or
 number of test cases that will be generated by the OA technique.
 Factors:
 number of columns in an array or
 the parameter/ variables that need to be tested in the system.
 Levels:
 the maximum number of values that can be taken on by any single
factor.
 the values in orthogonal array
 Orthogonal arrays are represented by:
L Runs
(Levels Factors
)
9
Implementing OA Techniques-
1. Decide the independent variables will be tested for interaction. This
will map to the Factors of the array.
2. Decide the maximum number of values that each independent
variable/ factor will take on. This will map to the Levels of the array.
3. Find a suitable orthogonal array with the smallest number of Runs.
4. Calculate Degrees of freedom (DOF) using formula:
DOF = 1+ factors (level – 1)
The number of experimental runs (test cases) should be >= DOF.
10
Case Study I-
Consider a mobile application -
 Three call types (Free, National, International)
 Three call methods (Phone Book, Voice Activated, Quick Dial)
 Two account types (Postpaid, Prepaid)
11
All possible combinations-
Call Types Call Methods Account Types
Free PB Prepaid
Free PB Postpaid
Free VA Prepaid
Free VA Postpaid
Free QD Prepaid
Free QD Postpaid
National PB Prepaid
National PB Postpaid
National VA Prepaid
National VA Postpaid
National QD Prepaid
National QD Postpaid
International PB Prepaid
International PB Postpaid
International VA Prepaid
International VA Postpaid
International QD Prepaid
International QD Postpaid
12
Applying OA-
Call Types Call Methods Account Types
Free PB Postpaid
Free VA Postpaid
Free QD Prepaid
National PB Postpaid
National VA Prepaid
National QD Postpaid
International PB Prepaid
International VA Prepaid
International QD Postpaid
13
Case Study I contd…
 Test cases count before applying OA =18
 Test Cases count after applying OA=9
 Reduction percentage = 50%
14
Case Study II-
HPI GradeGuru application:
 Notes – 17 formats
 Users – 3 types
 Operation – 4 types
Total possible combinations – 204
Applying OA it is reduced to 85.
15
Case Study II contd…
 The Challenge:
 Optimize the number of Test Cases.
 Reduce the Test Case Execution time.
 Cover 100% Functionality.
 The Solution:
 Orthogonal Array Test Strategy to generate Test Cases.
 The Benefits:
 Execution Time is reduced.
 Result Analysis time is reduced.
 Code Coverage is increased.
 Increase in Productivity.
16
Benefits of OA-
 Helps in productivity improvement with cycle time
reduction.
 Helps in improving test coverage.
 Orthogonal Array test cases can be customized
based on available time and known problems.
 Independent of platforms and domains.
17
Limitations of OA-
Conclusion
 To reveal problems by OA’s the error probability and
the dimension of the OA need to be in balance;
 Rare failures require many tests (low L-index),
 Frequent failures will almost always be revealed by
OA’s.
Challenge
 To know the levels and critical combinations in
advance
 To know the probability of errors in advance.
18
Mistakes to avoid while implementing-
 Applying OATS manually
 Focusing the testing effort on the wrong area of the
application
 Using OATS for minimal testing efforts
 Picking the wrong parameters to combine
19
Conclusion-
 The Orthogonal Array Testing is a systematic, statistical way of testing
the software.
 Creates an efficient and concise test set with many fewer test cases.
 A uniform distributed coverage of all variable pair combinations to be
tested.
 Highly effective for the detection of region faults with a relatively small
number of tests.
 Is simpler to generate and less error prone than test sets created by
hand.
20
References…
1. Bret Pettichord, “A Unified Theory of Software Testing”,
Feb 2003.
< http://testingeducation.org/conference/ >
2. Perry, William.E. “Effective Methods for Software Testing”
Wiley Press, 2nd
Edition, Oct 1999.
3. Jeremy M. Harrell, Quality Assurance Manager, Seilevel,
Inc., Orthogonal Array Testing Strategy (OATS) Technique.
http://www.cvc.uab.es/shared/teach/a21291/apunts/Prova%20orientada%20o
4. Phadke, M.S. "Quality Engineering Using Robust Design"
Prentice Hall, Englewood Cliff, NJ. November 1989.
5. Sloane, Neil J. A. “A Library of Orthogonal Arrays”.
Information Sciences Research Center, AT&T Shannon
Labs. Aug 2001 <http://www.research.att.com/~njas/oadir/
>
21
THANK YOU
22

More Related Content

What's hot

Test design techniques
Test design techniquesTest design techniques
Test design techniquesOksana
 
COSMOS1_Scitech_2014_Ali
COSMOS1_Scitech_2014_AliCOSMOS1_Scitech_2014_Ali
COSMOS1_Scitech_2014_Ali
MDO_Lab
 
Model Checking in Formal Methods
Model Checking in Formal MethodsModel Checking in Formal Methods
Model Checking in Formal Methods
Sana Rahim
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
niharika5412
 
NASA Formal Methods Symposium
NASA Formal Methods SymposiumNASA Formal Methods Symposium
NASA Formal Methods Symposium
Daniela Remenska
 
Intro to Feature Selection
Intro to Feature SelectionIntro to Feature Selection
Intro to Feature Selectionchenhm
 
EquivalencePartition
EquivalencePartitionEquivalencePartition
EquivalencePartitionswornim nepal
 
Equivalence partitions analysis
Equivalence partitions analysisEquivalence partitions analysis
Equivalence partitions analysis
Vadym Muliavka
 
Reusable Test Matrices Presentaion
Reusable Test Matrices PresentaionReusable Test Matrices Presentaion
Reusable Test Matrices Presentaion
Eswaranand Attuluri
 
Data Analyst - Interview Guide
Data Analyst - Interview GuideData Analyst - Interview Guide
Data Analyst - Interview Guide
Venkata Reddy Konasani
 
Lesson 4 ar-ma
Lesson 4 ar-maLesson 4 ar-ma
Lesson 4 ar-ma
ankit_ppt
 
Latin square design
Latin square designLatin square design
Latin square design
anghelsalupa_120407
 
Steering Model Selection with Visual Diagnostics: Women in Analytics 2019
Steering Model Selection with Visual Diagnostics: Women in Analytics 2019Steering Model Selection with Visual Diagnostics: Women in Analytics 2019
Steering Model Selection with Visual Diagnostics: Women in Analytics 2019
Rebecca Bilbro
 
An Empirical Comparison of Model Validation Techniques for Defect Prediction ...
An Empirical Comparison of Model Validation Techniques for Defect Prediction ...An Empirical Comparison of Model Validation Techniques for Defect Prediction ...
An Empirical Comparison of Model Validation Techniques for Defect Prediction ...
Chakkrit (Kla) Tantithamthavorn
 
Cause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case DesignCause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case Design
TechWell
 
Tester contribution to Testing Effectiveness. An Empirical Research
Tester contribution to Testing Effectiveness. An Empirical ResearchTester contribution to Testing Effectiveness. An Empirical Research
Tester contribution to Testing Effectiveness. An Empirical Research
Natalia Juristo
 
Output analysis of a single model
Output analysis of a single modelOutput analysis of a single model
Output analysis of a single model
De La Salle University-Manila
 
Synthetic Data Generation for Statistical Testing
Synthetic Data Generation for Statistical TestingSynthetic Data Generation for Statistical Testing
Synthetic Data Generation for Statistical Testing
Lionel Briand
 

What's hot (20)

Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
COSMOS1_Scitech_2014_Ali
COSMOS1_Scitech_2014_AliCOSMOS1_Scitech_2014_Ali
COSMOS1_Scitech_2014_Ali
 
Model Checking in Formal Methods
Model Checking in Formal MethodsModel Checking in Formal Methods
Model Checking in Formal Methods
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
 
NASA Formal Methods Symposium
NASA Formal Methods SymposiumNASA Formal Methods Symposium
NASA Formal Methods Symposium
 
Intro to Feature Selection
Intro to Feature SelectionIntro to Feature Selection
Intro to Feature Selection
 
EquivalencePartition
EquivalencePartitionEquivalencePartition
EquivalencePartition
 
Equivalence partitions analysis
Equivalence partitions analysisEquivalence partitions analysis
Equivalence partitions analysis
 
Reusable Test Matrices Presentaion
Reusable Test Matrices PresentaionReusable Test Matrices Presentaion
Reusable Test Matrices Presentaion
 
Data Analyst - Interview Guide
Data Analyst - Interview GuideData Analyst - Interview Guide
Data Analyst - Interview Guide
 
Lesson 4 ar-ma
Lesson 4 ar-maLesson 4 ar-ma
Lesson 4 ar-ma
 
Latin square design
Latin square designLatin square design
Latin square design
 
Steering Model Selection with Visual Diagnostics: Women in Analytics 2019
Steering Model Selection with Visual Diagnostics: Women in Analytics 2019Steering Model Selection with Visual Diagnostics: Women in Analytics 2019
Steering Model Selection with Visual Diagnostics: Women in Analytics 2019
 
Ad test
Ad testAd test
Ad test
 
An Empirical Comparison of Model Validation Techniques for Defect Prediction ...
An Empirical Comparison of Model Validation Techniques for Defect Prediction ...An Empirical Comparison of Model Validation Techniques for Defect Prediction ...
An Empirical Comparison of Model Validation Techniques for Defect Prediction ...
 
Cause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case DesignCause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case Design
 
Tester contribution to Testing Effectiveness. An Empirical Research
Tester contribution to Testing Effectiveness. An Empirical ResearchTester contribution to Testing Effectiveness. An Empirical Research
Tester contribution to Testing Effectiveness. An Empirical Research
 
Output analysis of a single model
Output analysis of a single modelOutput analysis of a single model
Output analysis of a single model
 
Synthetic Data Generation for Statistical Testing
Synthetic Data Generation for Statistical TestingSynthetic Data Generation for Statistical Testing
Synthetic Data Generation for Statistical Testing
 

Similar to Orthogonal array approach a case study

Combinatorial testing ppt
Combinatorial testing pptCombinatorial testing ppt
Combinatorial testing ppt
Kedar Kumar
 
Combinatorial testing
Combinatorial testingCombinatorial testing
Combinatorial testing
Kedar Kumar
 
Testing
TestingTesting
Testing
Muni Ram
 
A beginners guide to testing
A beginners guide to testingA beginners guide to testing
A beginners guide to testingPhilip Johnson
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhar
deepikakaler1
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
deepikakaler1
 
Software testing
Software testingSoftware testing
Software testingBala Ganesh
 
Test case development
Test case developmentTest case development
Test case development
Hrushikesh Wakhle
 
5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.ppt5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.ppt
SyedAhmad732853
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
SIMONTHOMAS S
 

Similar to Orthogonal array approach a case study (20)

Combinatorial testing ppt
Combinatorial testing pptCombinatorial testing ppt
Combinatorial testing ppt
 
Combinatorial testing
Combinatorial testingCombinatorial testing
Combinatorial testing
 
Testing
TestingTesting
Testing
 
Testing
TestingTesting
Testing
 
A beginners guide to testing
A beginners guide to testingA beginners guide to testing
A beginners guide to testing
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhar
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
 
Software testing
Software testingSoftware testing
Software testing
 
Test case development
Test case developmentTest case development
Test case development
 
5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.ppt5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.ppt
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
 
prova4
prova4prova4
prova4
 
provalast
provalastprovalast
provalast
 
test3
test3test3
test3
 
test
testtest
test
 
prova2
prova2prova2
prova2
 
testsfw2
testsfw2testsfw2
testsfw2
 
prova2
prova2prova2
prova2
 
test2
test2test2
test2
 
testsfw7
testsfw7testsfw7
testsfw7
 

Recently uploaded

Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 

Recently uploaded (20)

Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 

Orthogonal array approach a case study

  • 1. 1 Orthogonal Array approach in Testing Presenter – Karthikeyan Rajendran Enterprise Testing Services
  • 2. Agenda-  Introduction-Current scenario & Customer Expectations  Normal approach in testing  Testing – The only validation Method  Challenges while designing test cases  Orthogonal Array Testing – Basics & Terminologies  Implementing OA techniques  Case Study I – Mobile application  Case Study II – GradeGuru application  Benefits of OA  Limitations of OA  Mistakes to avoid while implementing OA  Conclusion 2
  • 3. Introduction: Current Scenario Tight Budget Schedule Pressure Demanding Customer 3
  • 4. Zero Defect Lower Execution Cost Faster Execution Efficiency Customer Satisfaction Introduction: Expectations 4
  • 5. Normal Approach in Testing Study ‘Requirement Specification’. Identify Test Parameter & their Levels Remove Redundancy & Invalid Test Cases Design Test CaseExecute Test CaseLog Errors This is repeated for each Test Case More the Test Cases: More Time & Effort 5
  • 6. Testing: The only Validation Method! Whether the product is the “Right Product”! The challenge in identifying Test Cases:  Are all the paths covered? (Unit Testing or white box testing)  Are all interfaces tested? (Integration Testing)  Is the system functionality validated? (System Testing)  Are all single mode and double mode faults detected? 6
  • 7. Challenges while Designing Test Cases Endless executing tests don’t increase Confidence Level in the System May not have time to execute 100% combinations of Test Cases All boundary conditions may not be tested. Repeated test cycles incase of Regression may not be feasible. 7
  • 8. Orthogonal Array Testing: An Efficient and Effective Test Strategy Covers all the Boundary Conditions Optimize the test cases that are likely to uncover most of the bugs Increase the confidence level in the system by executing concise and well defined sets of tests. Orthogonal Array is the tool used to generate the Test Cases 8
  • 9. OA Terminologies- OA is a 2-Dimensional Array consisting of:  Runs:  number of rows in the array or  number of test cases that will be generated by the OA technique.  Factors:  number of columns in an array or  the parameter/ variables that need to be tested in the system.  Levels:  the maximum number of values that can be taken on by any single factor.  the values in orthogonal array  Orthogonal arrays are represented by: L Runs (Levels Factors ) 9
  • 10. Implementing OA Techniques- 1. Decide the independent variables will be tested for interaction. This will map to the Factors of the array. 2. Decide the maximum number of values that each independent variable/ factor will take on. This will map to the Levels of the array. 3. Find a suitable orthogonal array with the smallest number of Runs. 4. Calculate Degrees of freedom (DOF) using formula: DOF = 1+ factors (level – 1) The number of experimental runs (test cases) should be >= DOF. 10
  • 11. Case Study I- Consider a mobile application -  Three call types (Free, National, International)  Three call methods (Phone Book, Voice Activated, Quick Dial)  Two account types (Postpaid, Prepaid) 11
  • 12. All possible combinations- Call Types Call Methods Account Types Free PB Prepaid Free PB Postpaid Free VA Prepaid Free VA Postpaid Free QD Prepaid Free QD Postpaid National PB Prepaid National PB Postpaid National VA Prepaid National VA Postpaid National QD Prepaid National QD Postpaid International PB Prepaid International PB Postpaid International VA Prepaid International VA Postpaid International QD Prepaid International QD Postpaid 12
  • 13. Applying OA- Call Types Call Methods Account Types Free PB Postpaid Free VA Postpaid Free QD Prepaid National PB Postpaid National VA Prepaid National QD Postpaid International PB Prepaid International VA Prepaid International QD Postpaid 13
  • 14. Case Study I contd…  Test cases count before applying OA =18  Test Cases count after applying OA=9  Reduction percentage = 50% 14
  • 15. Case Study II- HPI GradeGuru application:  Notes – 17 formats  Users – 3 types  Operation – 4 types Total possible combinations – 204 Applying OA it is reduced to 85. 15
  • 16. Case Study II contd…  The Challenge:  Optimize the number of Test Cases.  Reduce the Test Case Execution time.  Cover 100% Functionality.  The Solution:  Orthogonal Array Test Strategy to generate Test Cases.  The Benefits:  Execution Time is reduced.  Result Analysis time is reduced.  Code Coverage is increased.  Increase in Productivity. 16
  • 17. Benefits of OA-  Helps in productivity improvement with cycle time reduction.  Helps in improving test coverage.  Orthogonal Array test cases can be customized based on available time and known problems.  Independent of platforms and domains. 17
  • 18. Limitations of OA- Conclusion  To reveal problems by OA’s the error probability and the dimension of the OA need to be in balance;  Rare failures require many tests (low L-index),  Frequent failures will almost always be revealed by OA’s. Challenge  To know the levels and critical combinations in advance  To know the probability of errors in advance. 18
  • 19. Mistakes to avoid while implementing-  Applying OATS manually  Focusing the testing effort on the wrong area of the application  Using OATS for minimal testing efforts  Picking the wrong parameters to combine 19
  • 20. Conclusion-  The Orthogonal Array Testing is a systematic, statistical way of testing the software.  Creates an efficient and concise test set with many fewer test cases.  A uniform distributed coverage of all variable pair combinations to be tested.  Highly effective for the detection of region faults with a relatively small number of tests.  Is simpler to generate and less error prone than test sets created by hand. 20
  • 21. References… 1. Bret Pettichord, “A Unified Theory of Software Testing”, Feb 2003. < http://testingeducation.org/conference/ > 2. Perry, William.E. “Effective Methods for Software Testing” Wiley Press, 2nd Edition, Oct 1999. 3. Jeremy M. Harrell, Quality Assurance Manager, Seilevel, Inc., Orthogonal Array Testing Strategy (OATS) Technique. http://www.cvc.uab.es/shared/teach/a21291/apunts/Prova%20orientada%20o 4. Phadke, M.S. "Quality Engineering Using Robust Design" Prentice Hall, Englewood Cliff, NJ. November 1989. 5. Sloane, Neil J. A. “A Library of Orthogonal Arrays”. Information Sciences Research Center, AT&T Shannon Labs. Aug 2001 <http://www.research.att.com/~njas/oadir/ > 21