Gray Box Testing


Gray Box Testing or Gray box testing is a software testing technique to test a software product or application with partial knowledge of internal structure of the application. The purpose of grey box testing is to search and identify the defects due to improper code structure or improper use of applications.

In this process, context-specific errors that are related to web systems are commonly identified. It increases the testing coverage by concentrating on all of the layers of any complex system.

Gray Box Testing is a software testing method, which is a combination of both White Box Testing and Black Box Testing method.


  1. In White Box testing internal structure (code) is known
  2. In Black Box testing internal structure (code) is unknown
  3. In Grey Box Testing internal structure (code) is partially known



In Software Engineering, Gray Box Testing gives the ability to test both sides of an application, presentation layer as well as the code part. It is primarily useful in Integration Testing and Penetration Testing.

Example of Gray Box Testing: While testing websites feature like links or orphan links, if tester encounters any problem with these links, then he can make the changes straightaway in HTML code and can check in real time.




Useful Links:
Gray-box testing article/eng

Gray-box testing article/eng

Gray-box testing article/rus

Gray-box testing video tutorial/rus

Gray-box testing video tutorial/eng

Content