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 (20)

Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Software testing
Software testingSoftware testing
Software testing
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Unit testing
Unit testing Unit testing
Unit testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
 
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
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Black box and white box testing
Black box and white box testingBlack box and white box testing
Black box and white box testing
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 
White Box Testing
White Box Testing White Box Testing
White Box Testing
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Testing
TestingTesting
Testing
 

Viewers also liked

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 testingHimanshu
 
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 (16)

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
 
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

Similar to Gray box testing (20)

Testing, black ,white and gray box testing
Testing, black ,white and gray box testingTesting, black ,white and gray box testing
Testing, black ,white and gray box testing
 
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
 

Recently uploaded

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 

Recently uploaded (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 

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