SlideShare a Scribd company logo
DEFINITION
• TEST CASEDESIGNTECHNIQUESIS A TECHNIQUETHATHELPS TESTERS TOWRITETHE TEST CASESIN
SUCH A WAY THATTEST COVERAGEIS MORE.
• BETTER TEST COVERAGEHELPSTO LOG MORENO OF EXISTING BUGSAND DELIVERQUALITYPRODUCT.
TYPES OF TCDT
• ERRORGUESSING
• EQUIVALENTPARTIONING
• BOUNDARYVALUEANALYSIS
• STATETRANSITIONTECHNIQUES
• DECISIONTABLETECHNIQUES
•ERROR GUESSING
• IT IS ONEOF THE TEST CASEDESIGNTECHNIQUEWHERETESTERS ANALYSEMORESCENARIOSAGAINST
THE EXPECTED OUTCOMETO FINDOUTMOREDEFECTS.
• IN THISTECHNIQUESWEUSEMORENO OF NEGATIVEINPUTSWITHDIFFERENTCOMBINATION.
• NOTE:NEGATIVEINPUTDOES NOTMEAN NEGATIVENO.LIKE –4, -7 ETC. RATHERINPUTWHICHDIFFERS
FROMEXPECTED INPUTMIGHTALSO CONSIDERASNEGATIVEINPUT.
•EQUIVALENT PARTIONING
• IN THIS TECHNIQUE WE DIVIDE THEENTIRE RANGE OF INPUTINTO CLASSES AND THEN PICK ANY ONE VALUE
FROM THE SPECIFIC CLASS, IF TEST CASE GETS PASS FOR THAT INPUT VALUE THEN WE ASSUME TEST CASE
WILL GET PASS FOR ALL THEOTHER VALUES FALL UNDER THAT CLASS RANGE.
• EXAMPLE: THERE IS PAYMENT APP WHICH CAN TRANSFER AMOUNT 1-5000 AT A TIME. NOW WE NEED TO
CHECK THAT AMOUNT FIELD FOR THIS RANGE. NOW WE CAN DIVIDE THIS RANGE INTO DIFFERENT CLASSES
LIKE –499 - 0, 1-500, 501-1000, 1001-1500, 1501-2000, 2001-2500, 2501-3000, 3001-3500, 3501-4000,
4001-4500, 4501-5000, 5001-5500. NOW WE CAN PICK ONEONE VALUE FROM THIS CLASS RANGE AND TEST
THAT FIELD. SUPPOSEI PICKED 20FROM 0-499 RANGE IF TEST CASE WILL GET PASSED FOR THIS
VALUE THEN WILL ASSUME 0-499 RANGE IS TESTED NOW MOVE TO OTHER CLASSES.
• NOTE: THERE IS NO ANY RULE THAT SAYS NO.OF DIVISION INTO CLASSES IT'S UP TO TESTERS HOW THEY
DIVIDE. AND ALSO THERE IS NO ANY RULE TO PICK ONLY ONETEST INPUTFROM THE RANGE. TESTERS
MIGHT PICK MULTIPLEVALUES FROM EACH CLASS AS TEST INPUT AND CHECK.
•BOUNDARY VALUE ANALYSIS
• IN THISTECHNIQUEWEUSE ONESMALL FORMULATO TEST THE SPECIFICRANGEOFINPUT.
• SUPPOSEWEARETAKING SAMEEXAMPLEWHICHDISCUSSEDINEQUIVALENTPARTIONING,THERE
ISPAYMENTAPPWHICHCAN TRANSFERAMOUNT1-5000 ATA TIME.WE DIVIDEDTHISRANGE
INTO MULTIPLECLASSES--> –499- 0, 1-500, 501-1000, 1001-1500, 1501-2000, 2001-2500, 2501-
3000, 3001-3500, 3501-4000, 4001-4500, 4501-5000, 5001-5500. GREEN ONEIS
POSITIVEINPUTSANDREDONEISNEGATIVE.NOWWECAN APPLYBELOWFORMULAFOREACHRANGE
X-Y =X-1, X, X+1, Y-1, Y,Y+1.
1001-1500 =1000, 1001, 1002, 1499, 1500, 1501
• NOTE:THIS TECHNIQUEALWAYSUSEFORRANGEOF VALUES.
•STATE TRANSITION TECHNIQUE
• THISISTHE TECHNIQUEWHEREWETEST THE DIFFERENTPHASES/STAGESOFTHEAPPLICATION.
• EXAMPLE: THEREISA CONDITIONINYOURAPPLICATIONLIKEIF USER TRY TO DO THE PAYMENTWITH
INVALIDAMOUNTMORETHAN TWICETHEN BLOCKTHE USERFOR 120SECS. THEN FLOWWILLBE
•DECISION TABLE TECHNIQUES
• THIS TECHNIQUEIS ALSO KNOWNAS CAUSEANDEFFECTTABLE, IN THISTABLEWE COMBINEMULTIPLE
CONDITIONSANDANALYSISTHEIREFFECTINFORMSOFTABULARFORM.
• LET US CONSIDERASCENARIO,WHEREWEHAVE 3 CONDITIONS.
1. FIRSTTIME USER WILLGET100 RUPEESINTHE ACCOUNT,
2.IF SOMEONESHARETHE APPWITHFRIENDSANDTHEY INSTALLIT, EACHINSTALLATIONWILLGIVE50
RUPEESTO THE PERSONUPTO 4 LIMIT.
3. IF 5 ORMORETHAN 5 SUGGESTEDMEMBERSAREINSTALLINGAPP THEN YOU WILLGET350 RUPEES.
• FORMULA=2^N---> N ISNO OF CONDITIONS.
Rules
1 2 3 4 5 6 7 8
Conditions
First Time
User
T T T T F F F F
Shared App
link with
Friends < =4
T T F F T T F F
Shared
App link
with Friends
>=5
T F T F T F T F
Result
-Ve Test
Case
Correct Correct Correct
-Ve
Test Case
Correct (if
not shared
before]
Correct (if
not shared b
efore]
Correct
Test_Case_Design_Techniques

More Related Content

Similar to Test_Case_Design_Techniques

Operations management takira motors
Operations management takira motorsOperations management takira motors
Operations management takira motors
Shrey Agarwal
 
160627 giab for festival sv workshop
160627 giab for festival sv workshop160627 giab for festival sv workshop
160627 giab for festival sv workshop
GenomeInABottle
 
Om lect 09(r3-jul 11)_quality management_basics_mms_sies
Om lect 09(r3-jul 11)_quality management_basics_mms_siesOm lect 09(r3-jul 11)_quality management_basics_mms_sies
Om lect 09(r3-jul 11)_quality management_basics_mms_siesvideoaakash15
 
Lecture 2 diagnostic molecular microbiology bls
Lecture 2 diagnostic molecular microbiology blsLecture 2 diagnostic molecular microbiology bls
Lecture 2 diagnostic molecular microbiology blsBruno Mmassy
 
Chapter 4 measurement accuracy (1)
Chapter 4   measurement accuracy (1)Chapter 4   measurement accuracy (1)
Chapter 4 measurement accuracy (1)
ashutoshbarua1
 
JF608: Quality Control - Unit 5
JF608: Quality Control - Unit 5JF608: Quality Control - Unit 5
JF608: Quality Control - Unit 5
Asraf Malik
 
crossvalidation.pptx
crossvalidation.pptxcrossvalidation.pptx
crossvalidation.pptx
PriyadharshiniG41
 
Incorporating Peripherally Inserted Central Catheters (PICC) into hospital cl...
Incorporating Peripherally Inserted Central Catheters (PICC) into hospital cl...Incorporating Peripherally Inserted Central Catheters (PICC) into hospital cl...
Incorporating Peripherally Inserted Central Catheters (PICC) into hospital cl...
HTAi Bilbao 2012
 
New method introduction
New method introductionNew method introduction
Week 11 Model Evalaution Model Evaluation
Week 11 Model Evalaution Model EvaluationWeek 11 Model Evalaution Model Evaluation
Week 11 Model Evalaution Model Evaluation
khairulhuda242
 
JBK Pipetting_Cellometer Final Poster
JBK Pipetting_Cellometer Final PosterJBK Pipetting_Cellometer Final Poster
JBK Pipetting_Cellometer Final PosterJohn Kelley
 
Qc in xray
Qc in xrayQc in xray
Qc in xray
Anupam Niraula
 
So you want to do a: RNAseq experiment, Differential Gene Expression Analysis
So you want to do a: RNAseq experiment, Differential Gene Expression AnalysisSo you want to do a: RNAseq experiment, Differential Gene Expression Analysis
So you want to do a: RNAseq experiment, Differential Gene Expression Analysis
University of California, Davis
 
WESTGARD RULES
WESTGARD RULESWESTGARD RULES
The Importance of Quality Control Steps in Experiments
The Importance of Quality Control Steps in ExperimentsThe Importance of Quality Control Steps in Experiments
The Importance of Quality Control Steps in Experiments
QIAGEN
 
20180805-Hematology-Calibration-1.pptx
20180805-Hematology-Calibration-1.pptx20180805-Hematology-Calibration-1.pptx
20180805-Hematology-Calibration-1.pptx
PUPUTPUJIANTI
 
Reproducibility, Quality Control and Importance of Automation
Reproducibility, Quality Control and Importance of AutomationReproducibility, Quality Control and Importance of Automation
Reproducibility, Quality Control and Importance of Automation
QIAGEN
 
QUALIFICATION OF HPTLC,HPTLC
QUALIFICATION  OF HPTLC,HPTLCQUALIFICATION  OF HPTLC,HPTLC
QUALIFICATION OF HPTLC,HPTLC
suriyapriya kamaraj
 

Similar to Test_Case_Design_Techniques (20)

Operations management takira motors
Operations management takira motorsOperations management takira motors
Operations management takira motors
 
160627 giab for festival sv workshop
160627 giab for festival sv workshop160627 giab for festival sv workshop
160627 giab for festival sv workshop
 
Om lect 09(r3-jul 11)_quality management_basics_mms_sies
Om lect 09(r3-jul 11)_quality management_basics_mms_siesOm lect 09(r3-jul 11)_quality management_basics_mms_sies
Om lect 09(r3-jul 11)_quality management_basics_mms_sies
 
Lecture 2 diagnostic molecular microbiology bls
Lecture 2 diagnostic molecular microbiology blsLecture 2 diagnostic molecular microbiology bls
Lecture 2 diagnostic molecular microbiology bls
 
Quality r (2) (2)
Quality r (2) (2)Quality r (2) (2)
Quality r (2) (2)
 
Quality r (2) (2)
Quality r (2) (2)Quality r (2) (2)
Quality r (2) (2)
 
Chapter 4 measurement accuracy (1)
Chapter 4   measurement accuracy (1)Chapter 4   measurement accuracy (1)
Chapter 4 measurement accuracy (1)
 
JF608: Quality Control - Unit 5
JF608: Quality Control - Unit 5JF608: Quality Control - Unit 5
JF608: Quality Control - Unit 5
 
crossvalidation.pptx
crossvalidation.pptxcrossvalidation.pptx
crossvalidation.pptx
 
Incorporating Peripherally Inserted Central Catheters (PICC) into hospital cl...
Incorporating Peripherally Inserted Central Catheters (PICC) into hospital cl...Incorporating Peripherally Inserted Central Catheters (PICC) into hospital cl...
Incorporating Peripherally Inserted Central Catheters (PICC) into hospital cl...
 
New method introduction
New method introductionNew method introduction
New method introduction
 
Week 11 Model Evalaution Model Evaluation
Week 11 Model Evalaution Model EvaluationWeek 11 Model Evalaution Model Evaluation
Week 11 Model Evalaution Model Evaluation
 
JBK Pipetting_Cellometer Final Poster
JBK Pipetting_Cellometer Final PosterJBK Pipetting_Cellometer Final Poster
JBK Pipetting_Cellometer Final Poster
 
Qc in xray
Qc in xrayQc in xray
Qc in xray
 
So you want to do a: RNAseq experiment, Differential Gene Expression Analysis
So you want to do a: RNAseq experiment, Differential Gene Expression AnalysisSo you want to do a: RNAseq experiment, Differential Gene Expression Analysis
So you want to do a: RNAseq experiment, Differential Gene Expression Analysis
 
WESTGARD RULES
WESTGARD RULESWESTGARD RULES
WESTGARD RULES
 
The Importance of Quality Control Steps in Experiments
The Importance of Quality Control Steps in ExperimentsThe Importance of Quality Control Steps in Experiments
The Importance of Quality Control Steps in Experiments
 
20180805-Hematology-Calibration-1.pptx
20180805-Hematology-Calibration-1.pptx20180805-Hematology-Calibration-1.pptx
20180805-Hematology-Calibration-1.pptx
 
Reproducibility, Quality Control and Importance of Automation
Reproducibility, Quality Control and Importance of AutomationReproducibility, Quality Control and Importance of Automation
Reproducibility, Quality Control and Importance of Automation
 
QUALIFICATION OF HPTLC,HPTLC
QUALIFICATION  OF HPTLC,HPTLCQUALIFICATION  OF HPTLC,HPTLC
QUALIFICATION OF HPTLC,HPTLC
 

More from Mithilesh Singh

Cucumber Basics.pdf
Cucumber Basics.pdfCucumber Basics.pdf
Cucumber Basics.pdf
Mithilesh Singh
 
Data Migration.pdf
Data Migration.pdfData Migration.pdf
Data Migration.pdf
Mithilesh Singh
 
SDLC Models.pdf
SDLC Models.pdfSDLC Models.pdf
SDLC Models.pdf
Mithilesh Singh
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
Mithilesh Singh
 
Software_requirement_collection
Software_requirement_collectionSoftware_requirement_collection
Software_requirement_collection
Mithilesh Singh
 
Stub_&_Drive
Stub_&_DriveStub_&_Drive
Stub_&_Drive
Mithilesh Singh
 
Functional_Testing_Part-1
Functional_Testing_Part-1Functional_Testing_Part-1
Functional_Testing_Part-1
Mithilesh Singh
 
TestersMindSet 2022
TestersMindSet 2022TestersMindSet 2022
TestersMindSet 2022
Mithilesh Singh
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_Postman
Mithilesh Singh
 
Agile_basics
Agile_basicsAgile_basics
Agile_basics
Mithilesh Singh
 
Selenium_Grid
Selenium_GridSelenium_Grid
Selenium_Grid
Mithilesh Singh
 
Appium_set_up
Appium_set_upAppium_set_up
Appium_set_up
Mithilesh Singh
 
Appium- part 1
Appium- part 1Appium- part 1
Appium- part 1
Mithilesh Singh
 
Alpha & Beta Testing
Alpha & Beta TestingAlpha & Beta Testing
Alpha & Beta Testing
Mithilesh Singh
 
Severity and Priority
Severity and PrioritySeverity and Priority
Severity and Priority
Mithilesh Singh
 
GIT_Overview.
GIT_Overview.GIT_Overview.
GIT_Overview.
Mithilesh Singh
 
Selenium-Locators
Selenium-LocatorsSelenium-Locators
Selenium-Locators
Mithilesh Singh
 
Browser_Stack_Intro
Browser_Stack_IntroBrowser_Stack_Intro
Browser_Stack_Intro
Mithilesh Singh
 
UI_UX_testing tips
UI_UX_testing tipsUI_UX_testing tips
UI_UX_testing tips
Mithilesh Singh
 
Emulator vs Simulator
Emulator vs SimulatorEmulator vs Simulator
Emulator vs Simulator
Mithilesh Singh
 

More from Mithilesh Singh (20)

Cucumber Basics.pdf
Cucumber Basics.pdfCucumber Basics.pdf
Cucumber Basics.pdf
 
Data Migration.pdf
Data Migration.pdfData Migration.pdf
Data Migration.pdf
 
SDLC Models.pdf
SDLC Models.pdfSDLC Models.pdf
SDLC Models.pdf
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Software_requirement_collection
Software_requirement_collectionSoftware_requirement_collection
Software_requirement_collection
 
Stub_&_Drive
Stub_&_DriveStub_&_Drive
Stub_&_Drive
 
Functional_Testing_Part-1
Functional_Testing_Part-1Functional_Testing_Part-1
Functional_Testing_Part-1
 
TestersMindSet 2022
TestersMindSet 2022TestersMindSet 2022
TestersMindSet 2022
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_Postman
 
Agile_basics
Agile_basicsAgile_basics
Agile_basics
 
Selenium_Grid
Selenium_GridSelenium_Grid
Selenium_Grid
 
Appium_set_up
Appium_set_upAppium_set_up
Appium_set_up
 
Appium- part 1
Appium- part 1Appium- part 1
Appium- part 1
 
Alpha & Beta Testing
Alpha & Beta TestingAlpha & Beta Testing
Alpha & Beta Testing
 
Severity and Priority
Severity and PrioritySeverity and Priority
Severity and Priority
 
GIT_Overview.
GIT_Overview.GIT_Overview.
GIT_Overview.
 
Selenium-Locators
Selenium-LocatorsSelenium-Locators
Selenium-Locators
 
Browser_Stack_Intro
Browser_Stack_IntroBrowser_Stack_Intro
Browser_Stack_Intro
 
UI_UX_testing tips
UI_UX_testing tipsUI_UX_testing tips
UI_UX_testing tips
 
Emulator vs Simulator
Emulator vs SimulatorEmulator vs Simulator
Emulator vs Simulator
 

Recently uploaded

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
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
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
 
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
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
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 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
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - 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)

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
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
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
 
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
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
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 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
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - 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...
 

Test_Case_Design_Techniques

  • 1.
  • 2. DEFINITION • TEST CASEDESIGNTECHNIQUESIS A TECHNIQUETHATHELPS TESTERS TOWRITETHE TEST CASESIN SUCH A WAY THATTEST COVERAGEIS MORE. • BETTER TEST COVERAGEHELPSTO LOG MORENO OF EXISTING BUGSAND DELIVERQUALITYPRODUCT.
  • 3. TYPES OF TCDT • ERRORGUESSING • EQUIVALENTPARTIONING • BOUNDARYVALUEANALYSIS • STATETRANSITIONTECHNIQUES • DECISIONTABLETECHNIQUES
  • 4. •ERROR GUESSING • IT IS ONEOF THE TEST CASEDESIGNTECHNIQUEWHERETESTERS ANALYSEMORESCENARIOSAGAINST THE EXPECTED OUTCOMETO FINDOUTMOREDEFECTS. • IN THISTECHNIQUESWEUSEMORENO OF NEGATIVEINPUTSWITHDIFFERENTCOMBINATION. • NOTE:NEGATIVEINPUTDOES NOTMEAN NEGATIVENO.LIKE –4, -7 ETC. RATHERINPUTWHICHDIFFERS FROMEXPECTED INPUTMIGHTALSO CONSIDERASNEGATIVEINPUT.
  • 5. •EQUIVALENT PARTIONING • IN THIS TECHNIQUE WE DIVIDE THEENTIRE RANGE OF INPUTINTO CLASSES AND THEN PICK ANY ONE VALUE FROM THE SPECIFIC CLASS, IF TEST CASE GETS PASS FOR THAT INPUT VALUE THEN WE ASSUME TEST CASE WILL GET PASS FOR ALL THEOTHER VALUES FALL UNDER THAT CLASS RANGE. • EXAMPLE: THERE IS PAYMENT APP WHICH CAN TRANSFER AMOUNT 1-5000 AT A TIME. NOW WE NEED TO CHECK THAT AMOUNT FIELD FOR THIS RANGE. NOW WE CAN DIVIDE THIS RANGE INTO DIFFERENT CLASSES LIKE –499 - 0, 1-500, 501-1000, 1001-1500, 1501-2000, 2001-2500, 2501-3000, 3001-3500, 3501-4000, 4001-4500, 4501-5000, 5001-5500. NOW WE CAN PICK ONEONE VALUE FROM THIS CLASS RANGE AND TEST THAT FIELD. SUPPOSEI PICKED 20FROM 0-499 RANGE IF TEST CASE WILL GET PASSED FOR THIS VALUE THEN WILL ASSUME 0-499 RANGE IS TESTED NOW MOVE TO OTHER CLASSES. • NOTE: THERE IS NO ANY RULE THAT SAYS NO.OF DIVISION INTO CLASSES IT'S UP TO TESTERS HOW THEY DIVIDE. AND ALSO THERE IS NO ANY RULE TO PICK ONLY ONETEST INPUTFROM THE RANGE. TESTERS MIGHT PICK MULTIPLEVALUES FROM EACH CLASS AS TEST INPUT AND CHECK.
  • 6. •BOUNDARY VALUE ANALYSIS • IN THISTECHNIQUEWEUSE ONESMALL FORMULATO TEST THE SPECIFICRANGEOFINPUT. • SUPPOSEWEARETAKING SAMEEXAMPLEWHICHDISCUSSEDINEQUIVALENTPARTIONING,THERE ISPAYMENTAPPWHICHCAN TRANSFERAMOUNT1-5000 ATA TIME.WE DIVIDEDTHISRANGE INTO MULTIPLECLASSES--> –499- 0, 1-500, 501-1000, 1001-1500, 1501-2000, 2001-2500, 2501- 3000, 3001-3500, 3501-4000, 4001-4500, 4501-5000, 5001-5500. GREEN ONEIS POSITIVEINPUTSANDREDONEISNEGATIVE.NOWWECAN APPLYBELOWFORMULAFOREACHRANGE X-Y =X-1, X, X+1, Y-1, Y,Y+1. 1001-1500 =1000, 1001, 1002, 1499, 1500, 1501 • NOTE:THIS TECHNIQUEALWAYSUSEFORRANGEOF VALUES.
  • 7. •STATE TRANSITION TECHNIQUE • THISISTHE TECHNIQUEWHEREWETEST THE DIFFERENTPHASES/STAGESOFTHEAPPLICATION. • EXAMPLE: THEREISA CONDITIONINYOURAPPLICATIONLIKEIF USER TRY TO DO THE PAYMENTWITH INVALIDAMOUNTMORETHAN TWICETHEN BLOCKTHE USERFOR 120SECS. THEN FLOWWILLBE
  • 8. •DECISION TABLE TECHNIQUES • THIS TECHNIQUEIS ALSO KNOWNAS CAUSEANDEFFECTTABLE, IN THISTABLEWE COMBINEMULTIPLE CONDITIONSANDANALYSISTHEIREFFECTINFORMSOFTABULARFORM. • LET US CONSIDERASCENARIO,WHEREWEHAVE 3 CONDITIONS. 1. FIRSTTIME USER WILLGET100 RUPEESINTHE ACCOUNT, 2.IF SOMEONESHARETHE APPWITHFRIENDSANDTHEY INSTALLIT, EACHINSTALLATIONWILLGIVE50 RUPEESTO THE PERSONUPTO 4 LIMIT. 3. IF 5 ORMORETHAN 5 SUGGESTEDMEMBERSAREINSTALLINGAPP THEN YOU WILLGET350 RUPEES. • FORMULA=2^N---> N ISNO OF CONDITIONS.
  • 9. Rules 1 2 3 4 5 6 7 8 Conditions First Time User T T T T F F F F Shared App link with Friends < =4 T T F F T T F F Shared App link with Friends >=5 T F T F T F T F Result -Ve Test Case Correct Correct Correct -Ve Test Case Correct (if not shared before] Correct (if not shared b efore] Correct