Difference between white box testing and black box testing

Posted: September 3, 2012 in Manual Testing, Testing Basics, Testing Technique
Tags: , , , ,

Difference between white box testing and black box testing:

White box testing:

  • White box testing is done by the Developers. This requires knowledge of the internal coding of the software.
  • White box testing is concerned with testing the implementation of the program. The intent of this testing is not to exercise all the different input or output conditions, but to exercise different programming structures and data structures used in the program. It is commonly called structural testing.
  • White box testing mainly applicable to lower levels of testing: Unit testing and Integration Testing.
  • Implementation knowledge is required for white box testing.

Black box testing:

  • Black box testing is done by the professional testing team. This does not require knowledge of internal coding of the application. Testing the application against the functionality of the application without the knowledge of internal coding of the software.
  • In Black box testing the structure of the program is not considered. Test cases are decided solely on the basis of the requirements or specification of the program or module.
  • Black box testing mainly applicable to higher levels of testing: Acceptance Testing and System Testing.
  • Implementation knowledge is not required for black box testing.
Advertisements
Comments
  1. excellent article on QA and testing.

  2. Fouzia anjum says:

    Thnxxx a lot. For such perfact helpfull answer

  3. Srihari says:

    Thanks

  4. Funmi says:

    thank you. your a life saver

  5. Divya says:

    Concept has bn xplaind in a simple way whch s easier to get through in a shrt tme..:-)

  6. Madhuri Gite says:

    Thanks

  7. Anita says:

    Its very gud answer to undrstand the concept……nd differenc between white box nd black box testing

  8. Usman Asghar says:

    thanks

  9. suchi says:

    Can we change from software development field to software testing field after having 4 yrs of experience in software development field. Becoz i have passion for software testing

  10. suchi says:

    please also suggest me is there mandatory to do testing course to switch in testing field

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s