In Black Box Testing, the tester tests an application without knowledge of the internal workings of the functionalities being tested. Data are inputted into the application and the outcome is compared with the expected results; what the program does with the input data or how the program arrives at the output data is not a concern for the tester performing black box testing. All that is tested is the behavior of the functionalities being tested.

This is why black box testing is also known as functional testing which tests the functionality of a program. Note we can also have non-functional black box testing, such as performance testing which is a type of black box testing but instead of verifying the behavior of the system, it tests how long it takes for a function to respond to user’s inputs and how long it takes to process the data and generate outputs.

Because black box testing is not concerned with the underlying code, then the techniques can be derived from the requirement documents or design specifications and hence testing can start as soon as the requirements are written.

Some Black Box Testing Techniques are:

  • Equivalence Partitioning
  • Boundary Value Analysis
  • State Transition Testing
  • Cause / Effect Graphing
  • Classification Tree Method

Advantages of Black Box Testing are:

  • The test is unbiased because the designer and the tester are independent of each other
  • The tester does not need knowledge of any specific programming languages
  • The test is done from the point of view of the user, not the designer
  • Test cases can be designed as soon as the specifications are complete

Disadvantages of Black Box Testing are:

  • The test can be redundant if the software designer has already run a test case
  • The test cases are difficult to design
  • Testing every possible input stream is unrealistic because it would take a inordinate amount of time; therefore, many program paths will go untested
Share
Related Documents
  1. Black box and White box testing (2139)
  2. [Free] Knock Subdomain Scan : Black Box Security Testing Tool (1890)
  3. White Box and Black Box Testing (1670)
  4. Full list of Black Box Testing Techniques? (2642)
  5. Mobile Application Testing (12043)
  6. White Box Testing vs Black Box Testing? (1508)
  7. WINDOWS APPLICATION TESTING AND WEB APPLICATION TESTING (3093)
  8. White Box Testing Vs. Black Box Testing (1221)
  9. WebSite Cookie Testing (2811)
  10. Web Testing: Complete guide on testing web applications (4641)
  11. Selenium Automation Testing Framework for Functional Testing of Web Applications (9661)
  12. Exploratory Testing - Risk-Based Agile Testing (3477)
  13. Top 20 practical software testing tips you should read before testing any application. (3502)
  14. Website Cookie Testing, Test cases for testing web application cookies? (2828)
  15. BLACK BOX TESTING WITH ROBOTIUM ON APK FILES (1165)
  16. Software Testing-Testing Validation (3282)
  17. An Introduction into Software Testing (1986)
  18. Black Box testing (1474)
  19. Black Box (1413)
  20. SoFtWaRe TeStiNg : Black Box software testing methods (1484)

Written by

Mathi,

Testing executive