SlideShare a Scribd company logo
1 of 10
Gray Box Testing
         -Dasun Eranthika
Outline

What  is Gray Box Testing?
Gray-Box Testers
What we need for Gray Box Testing
What we need for Gray box Testing?
Gray Box Testing Techniques
Advantages
Disadvantages
Suitable Applications


              Gray Box Testing | Dasun Eranthika   6/21/2012   2
What is Gray Box Testing?

“Gray Box Testing is a combination
 of White-box Testing and Black-box
 Testing.”
                             -Wikipedia




              Gray Box Testing | Dasun Eranthika   6/21/2012   3
Gray-box Testers

Black-box  tester is unaware if internal
 structure of the system.
White-box tester is know internal structure of
 the system.
Gray-box  tester partially knows the internal
 structure & algorithms of defining test cases.
Need overall and detailed description of
 documents of the application.

                 Gray Box Testing | Dasun Eranthika   6/21/2012   4
What we need for Gray-box
Testing
Gray-box   testing is applies straight
  forward technique of black-box testing
  and influences it against the code targeted
  systems in white-box testing.


Gray-box   testing is based on requirement
  test case generation because it presets all
  the condition before program is tested by
  using assertion method.

                Gray Box Testing | Dasun Eranthika   6/21/2012   5
Gray-box Testing
Techniques
 Matrix  Testing
  -States the status report of the project
 Regression  Testing
  -Rerunning of the test cases if new changes are
  made.
 Pattern Testing
  -Rerunning of the test cases if new changes are
  made.
 Orthogonal  Array Testing
  -Used as subset of all possible combination.

                   Gray Box Testing | Dasun Eranthika   6/21/2012   6
Advantages of Gray-box
Testing
 Offers combined benefits: It serves advantages
  from both Black-box and White-box Testing.
 Non  Intrusive: Based on functional specification,
  architectural view whereas not on source code or
  binaries which makes it invasive too.
 Intelligent   Test Authoring: Tester handles
  intelligent test scenario. Ex: data type handling,
  communication protocol, exception handling.
 Unbiased  Testing: Gray-box testing maintains
  boundary for testing between tester and developer.



                     Gray Box Testing | Dasun Eranthika   6/21/2012   7
Disadvantages of Gray-box
Testing
Partial   code coverage: Source code or
  binaries are missing because of limited
  access to internal or structure of the
  applications which results in limited access
  for code path traversal.

Defect    Identification: In distributed
  applications, it is difficult to associate
  defect identification.

                 Gray Box Testing | Dasun Eranthika   6/21/2012   8
Suitable Applications
Web   Applications: The Web
 Applications have distributed network or
 systems.

Functional    or business domain
 testing: Functional testing is done
 basically a test of user interactions with
 may be external systems.



                Gray Box Testing | Dasun Eranthika   6/21/2012   9
Thank you.!




 Gray Box Testing | Dasun Eranthika

More Related Content

What's hot

Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
Chankey Pathak
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
Komal Garg
 

What's hot (20)

Software Testing Techniques
Software Testing TechniquesSoftware Testing Techniques
Software Testing Techniques
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
V model
V modelV model
V model
 
Software testing
Software testing Software testing
Software testing
 
White box black box & gray box testing
White box black box & gray box testingWhite box black box & gray box testing
White box black box & gray box testing
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Unit testing
Unit testing Unit testing
Unit testing
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Coding and testing in Software Engineering
Coding and testing in Software EngineeringCoding and testing in Software Engineering
Coding and testing in Software Engineering
 
Waterfall model
Waterfall modelWaterfall model
Waterfall model
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
 
White box testing
White box testingWhite box testing
White box testing
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 
Software Testing
Software TestingSoftware Testing
Software Testing
 

Viewers also liked

software testing strategies
software testing strategiessoftware testing strategies
software testing strategies
Hemanth Gajula
 
Testing artifacts test cases
Testing artifacts   test casesTesting artifacts   test cases
Testing artifacts test cases
Petro Chernii
 
UNIT TESTING PPT
UNIT TESTING PPTUNIT TESTING PPT
UNIT TESTING PPT
suhasreddy1
 
Whitebox testing
Whitebox testingWhitebox testing
Whitebox testing
Oana Feidi
 
Orthogonal array testing
Orthogonal array testingOrthogonal array testing
Orthogonal array testing
Prince Bhanwra
 

Viewers also liked (15)

n|u Dharamsala Humla : Memory Forensic by Tenzin Chokden
n|u Dharamsala Humla : Memory Forensic by Tenzin Chokdenn|u Dharamsala Humla : Memory Forensic by Tenzin Chokden
n|u Dharamsala Humla : Memory Forensic by Tenzin Chokden
 
Experiences in Software Testing (lecture slides)
Experiences in Software Testing (lecture slides)Experiences in Software Testing (lecture slides)
Experiences in Software Testing (lecture slides)
 
Threat Modelling
Threat ModellingThreat Modelling
Threat Modelling
 
software testing strategies
software testing strategiessoftware testing strategies
software testing strategies
 
Testing artifacts test cases
Testing artifacts   test casesTesting artifacts   test cases
Testing artifacts test cases
 
Black box
Black boxBlack box
Black box
 
UNIT TESTING PPT
UNIT TESTING PPTUNIT TESTING PPT
UNIT TESTING PPT
 
Modelling and simulation
Modelling and simulationModelling and simulation
Modelling and simulation
 
Whitebox testing
Whitebox testingWhitebox testing
Whitebox testing
 
Simulation Powerpoint- Lecture Notes
Simulation Powerpoint- Lecture NotesSimulation Powerpoint- Lecture Notes
Simulation Powerpoint- Lecture Notes
 
THESIS - WIKANG FILIPINO, SA MAKABAGONG PANAHON
THESIS - WIKANG FILIPINO, SA MAKABAGONG PANAHONTHESIS - WIKANG FILIPINO, SA MAKABAGONG PANAHON
THESIS - WIKANG FILIPINO, SA MAKABAGONG PANAHON
 
Final na final thesis
Final na final thesisFinal na final thesis
Final na final thesis
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]
 
Orthogonal array testing
Orthogonal array testingOrthogonal array testing
Orthogonal array testing
 

Similar to Gray box testing

Software Testing - Day Two
Software Testing - Day TwoSoftware Testing - Day Two
Software Testing - Day Two
Govardhan Reddy
 
Software Testing Tecniques
Software Testing TecniquesSoftware Testing Tecniques
Software Testing Tecniques
ersanbilik
 

Similar to Gray box testing (20)

Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan
GrayBox Testing and Crud Testing By: Er. Priyanka PradhanGrayBox Testing and Crud Testing By: Er. Priyanka Pradhan
GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan
 
Software testing
Software testingSoftware testing
Software testing
 
UNIT testing
UNIT testingUNIT testing
UNIT testing
 
Black box testing
Black box testingBlack box testing
Black box testing
 
Software Testing - Day Two
Software Testing - Day TwoSoftware Testing - Day Two
Software Testing - Day Two
 
st1.ppt
st1.pptst1.ppt
st1.ppt
 
St 1.3
St 1.3St 1.3
St 1.3
 
Testing chapter updated (1)
Testing chapter updated (1)Testing chapter updated (1)
Testing chapter updated (1)
 
Paper 06
Paper 06Paper 06
Paper 06
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testing
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testing
 
Software Testing Techniques
 Software Testing Techniques  Software Testing Techniques
Software Testing Techniques
 
software engineering-best placement guarentee
software engineering-best placement guarenteesoftware engineering-best placement guarentee
software engineering-best placement guarentee
 
Testing ppt
Testing pptTesting ppt
Testing ppt
 
Software testing- an introduction
Software testing- an introductionSoftware testing- an introduction
Software testing- an introduction
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Software Testing Tecniques
Software Testing TecniquesSoftware Testing Tecniques
Software Testing Tecniques
 
Testing
TestingTesting
Testing
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Gray box testing

  • 1. Gray Box Testing -Dasun Eranthika
  • 2. Outline What is Gray Box Testing? Gray-Box Testers What we need for Gray Box Testing What we need for Gray box Testing? Gray Box Testing Techniques Advantages Disadvantages Suitable Applications Gray Box Testing | Dasun Eranthika 6/21/2012 2
  • 3. What is Gray Box Testing? “Gray Box Testing is a combination of White-box Testing and Black-box Testing.” -Wikipedia Gray Box Testing | Dasun Eranthika 6/21/2012 3
  • 4. Gray-box Testers Black-box tester is unaware if internal structure of the system. White-box tester is know internal structure of the system. Gray-box tester partially knows the internal structure & algorithms of defining test cases. Need overall and detailed description of documents of the application. Gray Box Testing | Dasun Eranthika 6/21/2012 4
  • 5. What we need for Gray-box Testing Gray-box testing is applies straight forward technique of black-box testing and influences it against the code targeted systems in white-box testing. Gray-box testing is based on requirement test case generation because it presets all the condition before program is tested by using assertion method. Gray Box Testing | Dasun Eranthika 6/21/2012 5
  • 6. Gray-box Testing Techniques  Matrix Testing -States the status report of the project  Regression Testing -Rerunning of the test cases if new changes are made.  Pattern Testing -Rerunning of the test cases if new changes are made.  Orthogonal Array Testing -Used as subset of all possible combination. Gray Box Testing | Dasun Eranthika 6/21/2012 6
  • 7. Advantages of Gray-box Testing  Offers combined benefits: It serves advantages from both Black-box and White-box Testing.  Non Intrusive: Based on functional specification, architectural view whereas not on source code or binaries which makes it invasive too.  Intelligent Test Authoring: Tester handles intelligent test scenario. Ex: data type handling, communication protocol, exception handling.  Unbiased Testing: Gray-box testing maintains boundary for testing between tester and developer. Gray Box Testing | Dasun Eranthika 6/21/2012 7
  • 8. Disadvantages of Gray-box Testing Partial code coverage: Source code or binaries are missing because of limited access to internal or structure of the applications which results in limited access for code path traversal. Defect Identification: In distributed applications, it is difficult to associate defect identification. Gray Box Testing | Dasun Eranthika 6/21/2012 8
  • 9. Suitable Applications Web Applications: The Web Applications have distributed network or systems. Functional or business domain testing: Functional testing is done basically a test of user interactions with may be external systems. Gray Box Testing | Dasun Eranthika 6/21/2012 9
  • 10. Thank you.! Gray Box Testing | Dasun Eranthika

Editor's Notes

  1. 11/25/2012