Tuesday 5 March 2013

Gray-Box Testing Definition, Example

What is Grey / Gray box testing ?

Definition :
Gray Box Testing is a software testing method which is a combination of Black Box Testing method and White Box Testing method. In Black Box Testing, the internal structure of the item being tested is unknown to the tester and in White Box Testing the internal structure in known. In Gray Box Testing, the internal structure is partially known. This involves having access to internal data structures and algorithms for purposes of designing the test cases, but testing at the user, or black-box level.

Gray Box Testing is named so because the software program, in the eyes of the tester is like a gray/semi-transparent box; inside which one can partially see.

What is Grey/Gray box testing ?


Example :

An example of Gray Box Testing would be when the codes for two units/modules are studied (White Box Testing method) for designing test cases and actual tests are conducted using the exposed interfaces (Black Box Testing method).

Levels Applicable to :

  • Though Gray Box Testing method may be used in other levels of testing, it is primarily useful in Integration Testing.
Note that Gray known as Grey. Hence Grey Box Testing and Gray Box Testing mean the same.
Click to know about White box testing and Black box testing and Differences between Black Box and White Box Testing and Compare Quality-Assurance, Quality-Control, Testing

4 comments:

  1. Hello,
    The Article on Gray Box Testing basic defination and Example gives detailed information about it. Thanks for Sharing the information about Grey Box Testing For More information check the detail on the Gray Box testing here Mobile App Testing

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Article is really nice.My doubts are clear
    https://www.exltech.in/software-testing-course.html

    ReplyDelete
  4. Thank you for sharing such great information very useful to us.
    https://www.exltech.in/software-testing-course.html

    ReplyDelete

Share your feedback and queries here. Your feedback are more valuable to us!