What is Black Box Testing?

BLACK BOX TESTING is defined as a testing technique in which functionality of the Application under Test (AUT) is tested without looking at the internal code structure, implementation details and knowledge of internal paths of the software. This type of testing is based entirely on software requirements and specifications. In BlackBox Testing we just focus on inputs and output of the software system without bothering about internal knowledge of the software program

 BLACK Box Testing image

How to do Black Box Testing

  • Initially, the requirements and specifications of the system are examined.
  • Tester chooses valid inputs (positive test scenario) to check whether SUT processes them correctly. Also, some invalid inputs (negative test scenario) are chosen to verify that the SUT is able to detect them.
  • Tester determines expected outputs for all those inputs.
  • Software tester compares the actual outputs with the expected outputs.
  • Defects if any are fixed and re-tested.
Types of Black Box Testing

  • There are many types of Black Box Testing but the following are the prominent ones -
  • Functional testing - This black box testing type is related to the functional requirements of a system; it is done by software testers.
  • Non-functional testing - This type of black box testing is not related to testing of specific functionality, but non-functional requirements such as performance, scalability, usability.Regression testing - Regression Testing is done after code fixes, upgrades or any other system maintenance to check the new code has not affected the existing code.