Click here to Skip to main content
Licence CPOL
First Posted 3 Dec 2003
Views 70,049
Bookmarked 6 times

Black Box Testing, Its Advantages and Disadvantages

By | 25 Jun 2010 | Article
The advantages and disadvantages of black box testing

Black Box Testing is a testing technique where no knowledge of the internal functionality and structure of the system is available. This testing technique treats the system as a black box or closed box. The tester only knows the formal inputs and expected outputs, but does not know how the program actually arrives at those outputs. As a result, all testing must be based on functional specifications. For this reason black box testing is also considered to be functional testing and is also a form of behavioral testing or opaque box testing or simply closed box testing. Although black box testing is behavioral testing, behavioral test design is slightly different from black box test design because internal knowledge may be available in behavioral testing.

Advantages of Black Box Testing

  • Efficient when used on large systems.
  • SInce the tester and developer are independent of each other, testing is balanced and unprejudiced.
  • Tester can be non-technical.
  • There is no need for the tester to have detailed functional knowledge of system.
  • Tests will be done from an end user's point of view, because the end user should accept the system. (This testing technique is sometimes also called Acceptance testing.)
  • Testing helps to identify vagueness and contradictions in functional specifications.
  • Test cases can be designed as soon as the functional specifications are complete.

Disadvantages of Black Box Testing

  • Test cases are challenging to design without having clear functional specifications.
  • It is difficult to identify tricky inputs if the test cases are not developed based on specifications.
  • It is difficult to identify all possible inputs in limited testing time. As a result, writing test cases may be slow and difficult.
  • There are chances of having unidentified paths during the testing process.
  • There is a high probability of repeating tests already performed by the programmer.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Koundinya

Web Developer

India India

Member

Hi
I am from South India (Hyderabad). Basically I am lover of mathematics which made me to enter computer field. I started learning computer sciences with language B.B.C Basic.
Later I changed my track to C, C++ and Java.
 


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Generalvery good PinsussAnonymous19:34 6 Apr '05  
GeneralSuggestions and comments PinmemberAndrew Peace2:10 4 Dec '03  
Generalincredible PinmemberMark Focas2:00 4 Dec '03  
GeneralGreat... PinmemberRay Hayes1:09 4 Dec '03  
GeneralRe: Great... PinsussAnonymous1:21 4 Dec '03  
GeneralRe: Great... PinsussAnonymous1:27 4 Dec '03  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 25 Jun 2010
Article Copyright 2003 by Koundinya
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid