Wednesday, August 15, 2012

Black Box Testing


The Black box testing is the testing method in which the tester does not know the internal design/structure of the functionality that is to be tested. It is also referred as Behavioral Testing.

In this method, the tester is not concerned about the inner structure of the system/program; the tester assumes it as a Black Box, he just gives input to the box and gets output from the box. That’s the reason why this method got its name “Black Box Testing”.

Click here to read about White Box Testing 



Black Box Testing Levels

Black box testing method is implemented on all the basic levels of testing. You can use Black box testing in:
  • Unit Testing
  • Integration Testing
  • System Testing
  • Acceptance Testing
As the system starts getting more and more complex, Black box testing is used more.

Advantages
  • Test cases can be prepared as soon as the specifications are finalized even before the programming starts.
  • Black box testing can be done by the testers who have no knowledge about the programming stuff.
  • Testing is done according to the END USER’s point of view.

 Disadvantages
  • If the specifications are not clear, preparing test cases becomes very difficult and misleading.
  • System/Program cannot be tested thoroughly.
  • Limited number of tests can be performed based on the inputs & outputs of the program that is to be tested.

3 comments:

  1. Black Box testing is giving nd checking input or output to the system......

    ReplyDelete
  2. In the black box testing we will check the functionality of an application. here the difference between black box and white box testing means, in the white box testing the developers will do this, means they only consentrate on the structure of an application.

    but black box testing a QA will do, here the test engineer should think out of the box.

    ReplyDelete