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

What's hot (20)

Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
Software testing
Software testing Software testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Integration testing
Integration testingIntegration testing
Integration testing
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Integration test
Integration testIntegration test
Integration test
 
Unit testing
Unit testing Unit testing
Unit testing
 
Principles of Software testing
Principles of Software testingPrinciples of Software testing
Principles of Software testing
 
White box ppt
White box pptWhite box ppt
White box ppt
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to 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.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
Testing
TestingTesting
Testing
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 
Software Testing Techniques: An Overview
Software Testing Techniques: An Overview Software Testing Techniques: An Overview
Software Testing Techniques: An Overview
 

Viewers also liked

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 ChokdenSunil Kumar
 
Experiences in Software Testing (lecture slides)
Experiences in Software Testing (lecture slides)Experiences in Software Testing (lecture slides)
Experiences in Software Testing (lecture slides)Dagmar Monett
 
software testing strategies
software testing strategiessoftware testing strategies
software testing strategiesHemanth Gajula
 
Testing artifacts test cases
Testing artifacts   test casesTesting artifacts   test cases
Testing artifacts test casesPetro Chernii
 
UNIT TESTING PPT
UNIT TESTING PPTUNIT TESTING PPT
UNIT TESTING PPTsuhasreddy1
 
Whitebox testing
Whitebox testingWhitebox testing
Whitebox testingOana Feidi
 
THESIS - WIKANG FILIPINO, SA MAKABAGONG PANAHON
THESIS - WIKANG FILIPINO, SA MAKABAGONG PANAHONTHESIS - WIKANG FILIPINO, SA MAKABAGONG PANAHON
THESIS - WIKANG FILIPINO, SA MAKABAGONG PANAHONMi L
 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]qwerty626
 
Orthogonal array testing
Orthogonal array testingOrthogonal array testing
Orthogonal array testingPrince Bhanwra
 

Viewers also liked (15)

Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
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
 
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

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
 
Software Testing Techniques
 Software Testing Techniques  Software Testing Techniques
Software Testing Techniques
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testing
 
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

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 

Recently uploaded (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 

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