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

Gray box testing

  • 1.
    Gray Box Testing -Dasun Eranthika
  • 2.
    Outline What isGray 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 GrayBox 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 needfor 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.! GrayBox Testing | Dasun Eranthika

Editor's Notes