White-box testing (also known as clear box testing, glass box testing, transparent box testing, and structural testing) tests internal structures or workings of a program, as opposed to the functionality exposed to the end-user.
Black-box testing treats the software as a "black box", examining functionality without any knowledge of internal implementation. The tester is only aware of what the software is supposed to do, not how it does it
من قبل
Roanne Eteiwi , Quality Assurance Engineer , Bayt.com
Black box testing is performed with the software under test treated as a black box. You can't "see" into it. The test provides inputs and responds to outputs without considering how the software works. The internal structure/design of the software is not known to the tester.
White box testing is used to test areas that cannot be reached from a black box level. There is awareness of the internal structure of the software and it tests the internal structure as well. The internal structure/design of the software is known to the tester.
Black box testing is carried out without the knowledge of the internal structure, it ignores the internal mechanism of a system.
White box testing is the testing that takes into account the internal mechanism of a system or component .