SlideShare a Scribd company logo
1 of 9
SPECIFICATION-
BASED (BLACK-BOX)
TESTING TECHNIQUES
http://appium-selenium.com/
SPECIFICATION-BASED (BLACK-BOX) TESTING
TECHNIQUES
• Each design has different types of defects
• Broadly Testing can be divided into Static and Dynamic testing
• Under dynamic testing we have Specification based or black box
• The tester is concentrating on what the software does, not how it does it
• Tester consider system under test as a black box, he only know sending this
input he will get expected output
• Includes functional as well as non-functional(performance, maintainability) etc.
• 4 types of specification based testing we be covering are:
1. Equivalence partitioning
2. Boundary value analysis
3. Decision tables
4. State transition testing
http://appium-selenium.com/
EQUIVALENCE AND BOUNDARY VALUE ANALYSIS
• Most common testing and people follow this without knowing
• In Equivalence Partitioning we make groups of similar conditions
• The equivalence partitioning technique requires that we need test
only one condition from each partition
Example
Interest paid in range 0 up to $100 is 2%
Interest paid over 100 to $500 is 5%
Interest above $500 is 10%
Wrong way
$50, $100, $150, $200, $250, $300
http://appium-selenium.com/
EQUIVALENCE AND BOUNDARY VALUE ANALYSIS
Equivalence partitioning
Invalid Valid-2% Valid-5% Valid-10%
-$0.01 $0-$100 $100.01-$500 $500.01
Correct way
-$10, $50, $123, $700
Boundary value analysis (BVA) is based on testing at the boundaries between
partitions
-$0.01, $0.00, $100, $100.01, $500, $500.01
http://appium-selenium.com/
DECISION TABLES
• Decision tables testing are more focused on business logic or business rules
• If different combinations of inputs result in different actions being taken, this can be
more difficult to show using equivalence partitioning and boundary value analysis
• Decision tables provide a systematic way of stating complex business rules, which is
useful for developers as well as for testers
1. While making decision table we need to identify input combinations
Conditions should be minimum
Conditions Rule 1 Rule 2 Rule 3 Rule 4
Age greater than 15
Man
2. Second step is to identify True/False
Conditions Rule 1 Rule 2 Rule 3 Rule 4
Age greater than 15 T T F F
Man T F T F
http://appium-selenium.com/
DECISION TABLES3. Third step is to enter outcome for each combination
Conditions Rule 1 Rule 2 Rule 3 Rule 4
Age greater than 15 T T F F
Man T F T F
-----------------------------------------------------------------------------------
Drink beer T T
Go to Club T T
4. Fourth step is to also consider the error messages
Conditions Rule 1 Rule 2 Rule 3 Rule 4
Age greater than 15 T T F F
Man T F T F
-----------------------------------------------------------------------------------
Drink beer T T
Go to Club T T
Error messages T
http://appium-selenium.com/
DECISION TABLES
5. Fifth steps table can easily adapt to requirements
Conditions Rule 1 Rule 2 Rule 3 Rule 4
Age greater than 15 T T F F
Man T F T F
-----------------------------------------------------------------------------------
Drink beer T
Go to Club T
Error messages T
6. Representing table again if more than one action results from any of the combinations
Conditions Rule 1 Rule 2 Rule 3 Rule 4
Age greater than 15 T T F F
Man T F T F
-----------------------------------------------------------------------------------
Outcomes Error Drink beer Goto Club Error
• Write test case for each Rule
http://appium-selenium.com/
STATE TRANSITION
• State transition testing is used when system can be in a (finite) number of
different states, and the transitions from one state to another are determined
by the rules
• e.g. withdrawing of $500 from ATM will depend on how much money in your
account
Stop
Acceleratebraking
Constant
Speed
Press accelerator
Press accelerator
Apply brakes
Apply brakes
Apply brakes
http://appium-selenium.com/
THANKS
http://appium-selenium.com/

More Related Content

Viewers also liked

Leidy pinzon
Leidy pinzon Leidy pinzon
Leidy pinzon lkpiinzon
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled PresentationRocio Solarte
 
Enigmas
Enigmas Enigmas
Enigmas Gaby OM
 
Endokrin sistem
Endokrin sistemEndokrin sistem
Endokrin sistemzabekki
 
Makalah masyarakat madani
Makalah masyarakat madaniMakalah masyarakat madani
Makalah masyarakat madaniNia31
 
Referat fisiologi menstruasi dan kehamilan (pembimbing : dr. Arie Widiyasa, s...
Referat fisiologi menstruasi dan kehamilan (pembimbing : dr. Arie Widiyasa, s...Referat fisiologi menstruasi dan kehamilan (pembimbing : dr. Arie Widiyasa, s...
Referat fisiologi menstruasi dan kehamilan (pembimbing : dr. Arie Widiyasa, s...Adeline Dlin
 
Perubahan anatomi fisiologi pada ibu hamil
Perubahan anatomi fisiologi pada ibu hamilPerubahan anatomi fisiologi pada ibu hamil
Perubahan anatomi fisiologi pada ibu hamildiana permatasari
 
Anatomi fisiologi sistem reproduksi
Anatomi fisiologi sistem reproduksiAnatomi fisiologi sistem reproduksi
Anatomi fisiologi sistem reproduksiHetty Astri
 

Viewers also liked (11)

Leidy pinzon
Leidy pinzon Leidy pinzon
Leidy pinzon
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentation
 
buku-panduan-simas-2014-depag-kua
buku-panduan-simas-2014-depag-kuabuku-panduan-simas-2014-depag-kua
buku-panduan-simas-2014-depag-kua
 
Enigmas
Enigmas Enigmas
Enigmas
 
Pembiakan
PembiakanPembiakan
Pembiakan
 
Endokrin sistem
Endokrin sistemEndokrin sistem
Endokrin sistem
 
Makalah masyarakat madani
Makalah masyarakat madaniMakalah masyarakat madani
Makalah masyarakat madani
 
Referat fisiologi menstruasi dan kehamilan (pembimbing : dr. Arie Widiyasa, s...
Referat fisiologi menstruasi dan kehamilan (pembimbing : dr. Arie Widiyasa, s...Referat fisiologi menstruasi dan kehamilan (pembimbing : dr. Arie Widiyasa, s...
Referat fisiologi menstruasi dan kehamilan (pembimbing : dr. Arie Widiyasa, s...
 
Sistem Pemerintahan di Dunia
Sistem Pemerintahan di Dunia Sistem Pemerintahan di Dunia
Sistem Pemerintahan di Dunia
 
Perubahan anatomi fisiologi pada ibu hamil
Perubahan anatomi fisiologi pada ibu hamilPerubahan anatomi fisiologi pada ibu hamil
Perubahan anatomi fisiologi pada ibu hamil
 
Anatomi fisiologi sistem reproduksi
Anatomi fisiologi sistem reproduksiAnatomi fisiologi sistem reproduksi
Anatomi fisiologi sistem reproduksi
 

Similar to Specification based (black-box) testing techniques

Implementing Blackbox Testing
Implementing Blackbox TestingImplementing Blackbox Testing
Implementing Blackbox TestingEdureka!
 
Software Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solutionSoftware Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solutionMazenetsolution
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques finalshraavank
 
Test case techniques
Test case techniquesTest case techniques
Test case techniquesPina Parmar
 
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ ykblckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ ykSMayankSharma
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case DesignSelvi Vts
 
An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing BugRaptors
 
Black box testing techniques
Black box testing techniques Black box testing techniques
Black box testing techniques Nguyen Quoc Dung
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4SIMONTHOMAS S
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfFarjanaParvin5
 
Testing lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqaTesting lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqaMuhammadAdnan845624
 
Lavenya Testing.pptx
Lavenya Testing.pptxLavenya Testing.pptx
Lavenya Testing.pptxssuser94400e
 
Episode 6 : HAZARD IDENTIFICATION (FMEA & HAZOP)
Episode 6 :  HAZARD IDENTIFICATION (FMEA & HAZOP)Episode 6 :  HAZARD IDENTIFICATION (FMEA & HAZOP)
Episode 6 : HAZARD IDENTIFICATION (FMEA & HAZOP)SAJJAD KHUDHUR ABBAS
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic TestingJimi Patel
 

Similar to Specification based (black-box) testing techniques (20)

Implementing Blackbox Testing
Implementing Blackbox TestingImplementing Blackbox Testing
Implementing Blackbox Testing
 
Software Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solutionSoftware Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solution
 
CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ ykblckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
 
G53 qat09pdf6up
G53 qat09pdf6upG53 qat09pdf6up
G53 qat09pdf6up
 
Fmea
FmeaFmea
Fmea
 
An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing
 
Black box testing techniques
Black box testing techniques Black box testing techniques
Black box testing techniques
 
New Tools for a Next Generation of Metering - TESCO Solutions
New Tools for a Next Generation of Metering - TESCO SolutionsNew Tools for a Next Generation of Metering - TESCO Solutions
New Tools for a Next Generation of Metering - TESCO Solutions
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdf
 
Testing lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqaTesting lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqa
 
Lavenya Testing.pptx
Lavenya Testing.pptxLavenya Testing.pptx
Lavenya Testing.pptx
 
Engineering
EngineeringEngineering
Engineering
 
Episode 6 : HAZARD IDENTIFICATION (FMEA & HAZOP)
Episode 6 :  HAZARD IDENTIFICATION (FMEA & HAZOP)Episode 6 :  HAZARD IDENTIFICATION (FMEA & HAZOP)
Episode 6 : HAZARD IDENTIFICATION (FMEA & HAZOP)
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic Testing
 
Block 1 ms-034 unit-1
Block 1 ms-034 unit-1Block 1 ms-034 unit-1
Block 1 ms-034 unit-1
 

More from Vaibhav Dash

Why need software testing
Why need software testingWhy need software testing
Why need software testingVaibhav Dash
 
Types of test tools
Types of test toolsTypes of test tools
Types of test toolsVaibhav Dash
 
The psychology of testing
The psychology of testingThe psychology of testing
The psychology of testingVaibhav Dash
 
Test progress, monitoring and control
Test progress, monitoring and controlTest progress, monitoring and control
Test progress, monitoring and controlVaibhav Dash
 
Static analysis by tools
Static analysis by toolsStatic analysis by tools
Static analysis by toolsVaibhav Dash
 
Seven testing principles
Seven testing principlesSeven testing principles
Seven testing principlesVaibhav Dash
 
Roles and responsibilties in reviews
Roles and responsibilties in reviewsRoles and responsibilties in reviews
Roles and responsibilties in reviewsVaibhav Dash
 
Rapid application development model
Rapid application development modelRapid application development model
Rapid application development modelVaibhav Dash
 
Non functional testing
Non functional testingNon functional testing
Non functional testingVaibhav Dash
 
Maintenance testing
Maintenance testingMaintenance testing
Maintenance testingVaibhav Dash
 

More from Vaibhav Dash (20)

Why need software testing
Why need software testingWhy need software testing
Why need software testing
 
What is testing
What is testingWhat is testing
What is testing
 
Waterfall model
Waterfall modelWaterfall model
Waterfall model
 
V model
V modelV model
V model
 
Types of test tools
Types of test toolsTypes of test tools
Types of test tools
 
Types of reviews
Types of reviewsTypes of reviews
Types of reviews
 
The psychology of testing
The psychology of testingThe psychology of testing
The psychology of testing
 
Test progress, monitoring and control
Test progress, monitoring and controlTest progress, monitoring and control
Test progress, monitoring and control
 
Test organization
Test organizationTest organization
Test organization
 
System testing
System testingSystem testing
System testing
 
Structure testing
Structure testingStructure testing
Structure testing
 
Static testing
Static testingStatic testing
Static testing
 
Static analysis by tools
Static analysis by toolsStatic analysis by tools
Static analysis by tools
 
Seven testing principles
Seven testing principlesSeven testing principles
Seven testing principles
 
Roles and responsibilties in reviews
Roles and responsibilties in reviewsRoles and responsibilties in reviews
Roles and responsibilties in reviews
 
Risk & testing
Risk & testingRisk & testing
Risk & testing
 
Rapid application development model
Rapid application development modelRapid application development model
Rapid application development model
 
Phases of review
Phases of reviewPhases of review
Phases of review
 
Non functional testing
Non functional testingNon functional testing
Non functional testing
 
Maintenance testing
Maintenance testingMaintenance testing
Maintenance testing
 

Recently uploaded

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 

Specification based (black-box) testing techniques

  • 2. SPECIFICATION-BASED (BLACK-BOX) TESTING TECHNIQUES • Each design has different types of defects • Broadly Testing can be divided into Static and Dynamic testing • Under dynamic testing we have Specification based or black box • The tester is concentrating on what the software does, not how it does it • Tester consider system under test as a black box, he only know sending this input he will get expected output • Includes functional as well as non-functional(performance, maintainability) etc. • 4 types of specification based testing we be covering are: 1. Equivalence partitioning 2. Boundary value analysis 3. Decision tables 4. State transition testing http://appium-selenium.com/
  • 3. EQUIVALENCE AND BOUNDARY VALUE ANALYSIS • Most common testing and people follow this without knowing • In Equivalence Partitioning we make groups of similar conditions • The equivalence partitioning technique requires that we need test only one condition from each partition Example Interest paid in range 0 up to $100 is 2% Interest paid over 100 to $500 is 5% Interest above $500 is 10% Wrong way $50, $100, $150, $200, $250, $300 http://appium-selenium.com/
  • 4. EQUIVALENCE AND BOUNDARY VALUE ANALYSIS Equivalence partitioning Invalid Valid-2% Valid-5% Valid-10% -$0.01 $0-$100 $100.01-$500 $500.01 Correct way -$10, $50, $123, $700 Boundary value analysis (BVA) is based on testing at the boundaries between partitions -$0.01, $0.00, $100, $100.01, $500, $500.01 http://appium-selenium.com/
  • 5. DECISION TABLES • Decision tables testing are more focused on business logic or business rules • If different combinations of inputs result in different actions being taken, this can be more difficult to show using equivalence partitioning and boundary value analysis • Decision tables provide a systematic way of stating complex business rules, which is useful for developers as well as for testers 1. While making decision table we need to identify input combinations Conditions should be minimum Conditions Rule 1 Rule 2 Rule 3 Rule 4 Age greater than 15 Man 2. Second step is to identify True/False Conditions Rule 1 Rule 2 Rule 3 Rule 4 Age greater than 15 T T F F Man T F T F http://appium-selenium.com/
  • 6. DECISION TABLES3. Third step is to enter outcome for each combination Conditions Rule 1 Rule 2 Rule 3 Rule 4 Age greater than 15 T T F F Man T F T F ----------------------------------------------------------------------------------- Drink beer T T Go to Club T T 4. Fourth step is to also consider the error messages Conditions Rule 1 Rule 2 Rule 3 Rule 4 Age greater than 15 T T F F Man T F T F ----------------------------------------------------------------------------------- Drink beer T T Go to Club T T Error messages T http://appium-selenium.com/
  • 7. DECISION TABLES 5. Fifth steps table can easily adapt to requirements Conditions Rule 1 Rule 2 Rule 3 Rule 4 Age greater than 15 T T F F Man T F T F ----------------------------------------------------------------------------------- Drink beer T Go to Club T Error messages T 6. Representing table again if more than one action results from any of the combinations Conditions Rule 1 Rule 2 Rule 3 Rule 4 Age greater than 15 T T F F Man T F T F ----------------------------------------------------------------------------------- Outcomes Error Drink beer Goto Club Error • Write test case for each Rule http://appium-selenium.com/
  • 8. STATE TRANSITION • State transition testing is used when system can be in a (finite) number of different states, and the transitions from one state to another are determined by the rules • e.g. withdrawing of $500 from ATM will depend on how much money in your account Stop Acceleratebraking Constant Speed Press accelerator Press accelerator Apply brakes Apply brakes Apply brakes http://appium-selenium.com/