SlideShare une entreprise Scribd logo
1  sur  18
Black Box Testing or Behavioral
            Testing
                                         Saranya.V
                                           AP/CSE,
    Sri Vidya College of Engineering & Technology,
                                     Virudhunagar
• Only input & output functionality are visible.
• Inputs are given and outputs are compared
  against specification.
Features:
 Correct outputs from inputs properly.
 Test cases are designed from user requirements.
 Test planning can begin early in the software
  process.
 Looking at the program from an external point
  of view.
Black Box Testing
                          Inputs causing
 Input Test Data      I   anomalous
                          behavior


      System



                            Outputs which
output Test Results   O     reveal the
                            presence of
                            defects
Black Box Testing is a “Expert” in
                 Finding
•   Incorrect or missing functions.
•   Interface errors
•   Behavior or performance errors.
•   Initialization and termination errors.
•   Errors in data structures
•   External database errors.
Graph Based Testing Methods
• First step in Black Box Testing to understand the
  objects
• Used to connect the objects.
• Next step is to define a series of tests that verify all
  the objects.
“To accomplish these steps, the software engineer
  begins by creating”
• Graph: collection of nodes that represent objects.
• Links: Relationship between objects.
• Node Weights: Properties of nodes
• Link Weights: Characteristics of a link.
Sample Graph Notation
                         Directed Link
         Object 1                                      Object 2




                                  Object 3


•Nodes are represented as circles.
•Links between nodes are categorized as:
     •Directed Link (one direction)
     •Bidirectional or Undirected or Symmetric Link: both directions.
     •Parceled links: different relationships established between nodes.
1. Equivalence Partitioning
• One of the black box testing method that
  divides the input domain of a program into
  classes
• Define a test case that uncovers classes of
  errors.
• Equivalence class represents a set of valid or
  invalid states for input conditions.
2. Boundary Value Analysis (BVA)
• Errors tend to occur at the boundaries of the input
  domain rather than in center.
• So we need boundary value analysis (testing
  technique)
• BVA derived test cases from the output domain.
3. Comparison Testing
• If the output from the each version is same,
  assume all implementations are correct.
• If the output is different, each of the
  applications is investigated to determine if a
  defect in one or more versions is responsible
  for the difference.
• We have to provide same input and check the
  output.
4. Orthogonal Array Testing
• Used to finding errors associated with region
  faults.
• number of inputs to the system is relatively
  small, but too large to allow for exhaustive
  testing of every possible input to
  the systems.
• It provides good test coverage with test
  cases.
5. Syntax Driven Testing
• Very good methodology for compliers and
   parsers.
• Use BNF notation.
• Described by grammar.
• Grammar for simple arithmetic:
(exp)::=(exp)+(term)|(exp)-(term)|(term)
(term)::=(term)*(factor)|(term)-(factor)|(factor)
(factor)::=(identifier)|(<expression>)
(id)::=|a|b|c|d|e………|z
6. Decision Table-Based Testing
                 •   Ex: Toy Text Editor
                 •   Here n=4;
                 •   1. Copy
                 •   2. Paste
                 •   3. Underline
                 •   4. Boldface
Ex:2 Liquid Level
            • Sensor 1 : used to
              check upper level
            • Sensor 2: used to
 Sensor 1     check Lower level

             • Sensor 1 is active :
               open output valve
             • Sensor 2 is active
Sensor 2       open input valve.
7. Cause and Effect Graphs in
          Functional Testing
• Represents relationship between input and
  output
• Input  cause
• Output  effect.
Ex: ATM Banking Transaction System
Causes:
C1: Command is credit
C2: Command is Debit
C3: Account Number is valid.
C4: Transaction amount is Valid.
Effects:
E1: Print “Invalid command”
E2: Print “invalid account number”
E3: Print “debit amount not valid”
E4: debit account
E5: credit account.
Types processing modes
• And  effect occurs of all the inputs are true.
• Or  Effect occurs if at least one input is true
• Negation : effect occurs if input are false.
C2
                         and


                                                        E3
C3


C4                     Used to reduce the test case count




     C1           C2                   C3                     C4



     Don’t care
     condition          True                                 false

Contenu connexe

Tendances

Equivalence partitions analysis
Equivalence partitions analysisEquivalence partitions analysis
Equivalence partitions analysisVadym Muliavka
 
Equivalence class testing
Equivalence  class testingEquivalence  class testing
Equivalence class testingMani Kanth
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testingHimanshu
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testingHadi Fadlallah
 
Dynamic analysis in Software Testing
Dynamic analysis in Software TestingDynamic analysis in Software Testing
Dynamic analysis in Software TestingSagar Pednekar
 
Fundamentals of Software Testing
Fundamentals of Software TestingFundamentals of Software Testing
Fundamentals of Software TestingSagar Joshi
 
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...priyasoundar
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisniharika5412
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box TestingTestbytes
 
ISTQB Eğitim Sunumu
ISTQB Eğitim SunumuISTQB Eğitim Sunumu
ISTQB Eğitim SunumuMesut Güneş
 

Tendances (20)

Equivalence partitions analysis
Equivalence partitions analysisEquivalence partitions analysis
Equivalence partitions analysis
 
Equivalence class testing
Equivalence  class testingEquivalence  class testing
Equivalence class testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
White Box Testing
White Box Testing White Box Testing
White Box Testing
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testing
 
White box ppt
White box pptWhite box ppt
White box ppt
 
7 testing principles
7 testing principles7 testing principles
7 testing principles
 
Types of testing
Types of testingTypes of testing
Types of testing
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
Dynamic analysis in Software Testing
Dynamic analysis in Software TestingDynamic analysis in Software Testing
Dynamic analysis in Software Testing
 
Unit testing
Unit testing Unit testing
Unit testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Software Testing and Debugging
Software Testing and DebuggingSoftware Testing and Debugging
Software Testing and Debugging
 
Fundamentals of Software Testing
Fundamentals of Software TestingFundamentals of Software Testing
Fundamentals of Software Testing
 
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
 
WHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptxWHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptx
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
ISTQB Eğitim Sunumu
ISTQB Eğitim SunumuISTQB Eğitim Sunumu
ISTQB Eğitim Sunumu
 

En vedette

Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life CycleUdayakumar Sree
 
Black Box: Creation and Computation Arduino Project 1
Black Box: Creation and Computation Arduino Project 1Black Box: Creation and Computation Arduino Project 1
Black Box: Creation and Computation Arduino Project 1Lee Jones
 
Producing Quality Software
Producing Quality SoftwareProducing Quality Software
Producing Quality SoftwareSimon Smith
 
Building the "right" regression suite using Behavior Driven Testing (BDT)
Building the "right" regression suite using Behavior Driven Testing (BDT)Building the "right" regression suite using Behavior Driven Testing (BDT)
Building the "right" regression suite using Behavior Driven Testing (BDT)Anand Bagmar
 
Creating A Leadership Culture
Creating A Leadership CultureCreating A Leadership Culture
Creating A Leadership CultureDavid Cancel
 
Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)Anand Bagmar
 
An introduction to Google test framework
An introduction to Google test frameworkAn introduction to Google test framework
An introduction to Google test frameworkAbner Chih Yi Huang
 
Implementing Blackbox Testing
Implementing Blackbox TestingImplementing Blackbox Testing
Implementing Blackbox TestingEdureka!
 
Behavior Driven Development with AngularJS & Jasmine
Behavior Driven Development with AngularJS & JasmineBehavior Driven Development with AngularJS & Jasmine
Behavior Driven Development with AngularJS & JasmineRemus Langu
 
Testing documents
Testing documentsTesting documents
Testing documentssuhasreddy1
 
Strategies for Distributed Agile Testing
Strategies for Distributed Agile TestingStrategies for Distributed Agile Testing
Strategies for Distributed Agile TestingAnand Bagmar
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runnerHimanshu
 
Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)Anand Bagmar
 
Cause effect graphing technique
Cause effect graphing techniqueCause effect graphing technique
Cause effect graphing techniqueAnkush Kumar
 
Quality Assurance
Quality AssuranceQuality Assurance
Quality AssuranceKiran Kumar
 
Software Verification, Validation and Testing
Software Verification, Validation and TestingSoftware Verification, Validation and Testing
Software Verification, Validation and TestingDr Sukhpal Singh Gill
 
Requirement specification
Requirement specificationRequirement specification
Requirement specificationAbdul Basit
 

En vedette (20)

Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Blackbox
BlackboxBlackbox
Blackbox
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
 
Black Box: Creation and Computation Arduino Project 1
Black Box: Creation and Computation Arduino Project 1Black Box: Creation and Computation Arduino Project 1
Black Box: Creation and Computation Arduino Project 1
 
Producing Quality Software
Producing Quality SoftwareProducing Quality Software
Producing Quality Software
 
Building the "right" regression suite using Behavior Driven Testing (BDT)
Building the "right" regression suite using Behavior Driven Testing (BDT)Building the "right" regression suite using Behavior Driven Testing (BDT)
Building the "right" regression suite using Behavior Driven Testing (BDT)
 
Creating A Leadership Culture
Creating A Leadership CultureCreating A Leadership Culture
Creating A Leadership Culture
 
Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)
 
Manual testing
Manual testingManual testing
Manual testing
 
An introduction to Google test framework
An introduction to Google test frameworkAn introduction to Google test framework
An introduction to Google test framework
 
Implementing Blackbox Testing
Implementing Blackbox TestingImplementing Blackbox Testing
Implementing Blackbox Testing
 
Behavior Driven Development with AngularJS & Jasmine
Behavior Driven Development with AngularJS & JasmineBehavior Driven Development with AngularJS & Jasmine
Behavior Driven Development with AngularJS & Jasmine
 
Testing documents
Testing documentsTesting documents
Testing documents
 
Strategies for Distributed Agile Testing
Strategies for Distributed Agile TestingStrategies for Distributed Agile Testing
Strategies for Distributed Agile Testing
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runner
 
Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)
 
Cause effect graphing technique
Cause effect graphing techniqueCause effect graphing technique
Cause effect graphing technique
 
Quality Assurance
Quality AssuranceQuality Assurance
Quality Assurance
 
Software Verification, Validation and Testing
Software Verification, Validation and TestingSoftware Verification, Validation and Testing
Software Verification, Validation and Testing
 
Requirement specification
Requirement specificationRequirement specification
Requirement specification
 

Similaire à Black box testing or behavioral testing

Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic TestingJimi Patel
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case DesignSelvi Vts
 
Software Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingSoftware Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingNikita Knysh
 
&lt;p>Software Testing&lt;/p>
&lt;p>Software Testing&lt;/p>&lt;p>Software Testing&lt;/p>
&lt;p>Software Testing&lt;/p>Atul Mishra
 
An overview to Software Testing
An overview to Software TestingAn overview to Software Testing
An overview to Software TestingAtul Mishra
 
Test Case Design
Test Case DesignTest Case Design
Test Case DesignVidya-QA
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and TechniqueFayis-QA
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and TechniqueANKUR-BA
 
Test Case Design & Technique
Test Case Design & TechniqueTest Case Design & Technique
Test Case Design & TechniqueRajesh-QA
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and TechniqueSachin-QA
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)1Arun_Pandey
 
Testing strategies -2
Testing strategies -2Testing strategies -2
Testing strategies -2Divya Tiwari
 

Similaire à Black box testing or behavioral testing (20)

Testing
TestingTesting
Testing
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic Testing
 
CPP09 - Testing
CPP09 - TestingCPP09 - Testing
CPP09 - Testing
 
Unit Testing a Primer
Unit Testing a PrimerUnit Testing a Primer
Unit Testing a Primer
 
Blackbox
BlackboxBlackbox
Blackbox
 
Black box testing
Black box testingBlack box testing
Black box testing
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
 
Software Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingSoftware Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box Testing
 
Unit 6
Unit 6Unit 6
Unit 6
 
&lt;p>Software Testing&lt;/p>
&lt;p>Software Testing&lt;/p>&lt;p>Software Testing&lt;/p>
&lt;p>Software Testing&lt;/p>
 
An overview to Software Testing
An overview to Software TestingAn overview to Software Testing
An overview to Software Testing
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
 
Test Case Design & Technique
Test Case Design & TechniqueTest Case Design & Technique
Test Case Design & Technique
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
 
Unit 4 testing
Unit 4 testingUnit 4 testing
Unit 4 testing
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
 
Testing strategies -2
Testing strategies -2Testing strategies -2
Testing strategies -2
 
Black box testing
Black box testingBlack box testing
Black box testing
 

Plus de Slideshare

Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Slideshare
 
Report generation
Report generationReport generation
Report generationSlideshare
 
Security in Relational model
Security in Relational modelSecurity in Relational model
Security in Relational modelSlideshare
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship ModelSlideshare
 
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data miningSlideshare
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingSlideshare
 
What is in you
What is in youWhat is in you
What is in youSlideshare
 
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inferenceSlideshare
 
Logical reasoning 21.1.13
Logical reasoning 21.1.13Logical reasoning 21.1.13
Logical reasoning 21.1.13Slideshare
 
Statistical learning
Statistical learningStatistical learning
Statistical learningSlideshare
 
Resolution(decision)
Resolution(decision)Resolution(decision)
Resolution(decision)Slideshare
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313Slideshare
 
Neural networks
Neural networksNeural networks
Neural networksSlideshare
 
Instance based learning
Instance based learningInstance based learning
Instance based learningSlideshare
 
Statistical learning
Statistical learningStatistical learning
Statistical learningSlideshare
 
Neural networks
Neural networksNeural networks
Neural networksSlideshare
 
Logical reasoning
Logical reasoning Logical reasoning
Logical reasoning Slideshare
 

Plus de Slideshare (20)

Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010
 
Report generation
Report generationReport generation
Report generation
 
Trigger
TriggerTrigger
Trigger
 
Security in Relational model
Security in Relational modelSecurity in Relational model
Security in Relational model
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
OLAP
OLAPOLAP
OLAP
 
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data mining
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
What is in you
What is in youWhat is in you
What is in you
 
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inference
 
Logical reasoning 21.1.13
Logical reasoning 21.1.13Logical reasoning 21.1.13
Logical reasoning 21.1.13
 
Logic agent
Logic agentLogic agent
Logic agent
 
Statistical learning
Statistical learningStatistical learning
Statistical learning
 
Resolution(decision)
Resolution(decision)Resolution(decision)
Resolution(decision)
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
 
Neural networks
Neural networksNeural networks
Neural networks
 
Instance based learning
Instance based learningInstance based learning
Instance based learning
 
Statistical learning
Statistical learningStatistical learning
Statistical learning
 
Neural networks
Neural networksNeural networks
Neural networks
 
Logical reasoning
Logical reasoning Logical reasoning
Logical reasoning
 

Dernier

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
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
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 

Dernier (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.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
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 

Black box testing or behavioral testing

  • 1. Black Box Testing or Behavioral Testing Saranya.V AP/CSE, Sri Vidya College of Engineering & Technology, Virudhunagar
  • 2. • Only input & output functionality are visible. • Inputs are given and outputs are compared against specification. Features:  Correct outputs from inputs properly.  Test cases are designed from user requirements.  Test planning can begin early in the software process.  Looking at the program from an external point of view.
  • 3.
  • 4. Black Box Testing Inputs causing Input Test Data I anomalous behavior System Outputs which output Test Results O reveal the presence of defects
  • 5. Black Box Testing is a “Expert” in Finding • Incorrect or missing functions. • Interface errors • Behavior or performance errors. • Initialization and termination errors. • Errors in data structures • External database errors.
  • 6. Graph Based Testing Methods • First step in Black Box Testing to understand the objects • Used to connect the objects. • Next step is to define a series of tests that verify all the objects. “To accomplish these steps, the software engineer begins by creating” • Graph: collection of nodes that represent objects. • Links: Relationship between objects. • Node Weights: Properties of nodes • Link Weights: Characteristics of a link.
  • 7. Sample Graph Notation Directed Link Object 1 Object 2 Object 3 •Nodes are represented as circles. •Links between nodes are categorized as: •Directed Link (one direction) •Bidirectional or Undirected or Symmetric Link: both directions. •Parceled links: different relationships established between nodes.
  • 8. 1. Equivalence Partitioning • One of the black box testing method that divides the input domain of a program into classes • Define a test case that uncovers classes of errors. • Equivalence class represents a set of valid or invalid states for input conditions.
  • 9. 2. Boundary Value Analysis (BVA) • Errors tend to occur at the boundaries of the input domain rather than in center. • So we need boundary value analysis (testing technique) • BVA derived test cases from the output domain.
  • 10. 3. Comparison Testing • If the output from the each version is same, assume all implementations are correct. • If the output is different, each of the applications is investigated to determine if a defect in one or more versions is responsible for the difference. • We have to provide same input and check the output.
  • 11. 4. Orthogonal Array Testing • Used to finding errors associated with region faults. • number of inputs to the system is relatively small, but too large to allow for exhaustive testing of every possible input to the systems. • It provides good test coverage with test cases.
  • 12. 5. Syntax Driven Testing • Very good methodology for compliers and parsers. • Use BNF notation. • Described by grammar. • Grammar for simple arithmetic: (exp)::=(exp)+(term)|(exp)-(term)|(term) (term)::=(term)*(factor)|(term)-(factor)|(factor) (factor)::=(identifier)|(<expression>) (id)::=|a|b|c|d|e………|z
  • 13. 6. Decision Table-Based Testing • Ex: Toy Text Editor • Here n=4; • 1. Copy • 2. Paste • 3. Underline • 4. Boldface
  • 14. Ex:2 Liquid Level • Sensor 1 : used to check upper level • Sensor 2: used to Sensor 1 check Lower level • Sensor 1 is active : open output valve • Sensor 2 is active Sensor 2 open input valve.
  • 15. 7. Cause and Effect Graphs in Functional Testing • Represents relationship between input and output • Input  cause • Output  effect. Ex: ATM Banking Transaction System
  • 16. Causes: C1: Command is credit C2: Command is Debit C3: Account Number is valid. C4: Transaction amount is Valid. Effects: E1: Print “Invalid command” E2: Print “invalid account number” E3: Print “debit amount not valid” E4: debit account E5: credit account.
  • 17. Types processing modes • And  effect occurs of all the inputs are true. • Or  Effect occurs if at least one input is true • Negation : effect occurs if input are false.
  • 18. C2 and E3 C3 C4 Used to reduce the test case count C1 C2 C3 C4 Don’t care condition True false