# What is the Difference Between White-Box and Black-Box Testing?

What is the Difference Between White-Box and Black-Box Testing?

To put it in simple terms:

Under Black box testing, we test the software from a user’s point of view, but in White box, we see and test the actual code.

In Black box testing, we perform testing without seeing the internal system code, but in WBT we do see and test the internal code.

White box testing technique is used by both the developers as well as testers. It helps them to understand which line of code is actually executed and which is not. This may indicate that there is either a missing logic or a typo, which eventually can lead to some negative consequences.

## Related questions

Dynamic testing can be performed on the principles of white and black box testing. (1)True (2)False...
A box contains two pair of socks of two colours (black and white). I have picked out a white sock. I pick out ... I will make a pair? Select the correct answer from above options...
Two marbles are drawn successively from a box containing 3 black and 4 white marbles. Find the probability that ... the second draw. Select the correct answer from above options...
A box B1 contains 1 white ball, 3 red balls, and 2 black balls. Another box B2 contains 2 white balls, 3 red ... (\frac{55}{181}\) Select the correct answer from above options...
Two marbles are drawn successively from a box containing 3 black and 4 white marbles. Find the probability that ... the second draw. Select the correct answer from above options...
A box B 1 B , contains 1 white ball, 3 red balls and 2 black balls. Another box B 2 B , contains 2 white ... 648 558 D. 566 648 566 Select the correct answer from above options...
A box B1 , contains 1 white ball, 3 red balls and 2 black balls. Another box B2 , contains 2 white balls, 3 red ... . 65 181 D. 55 181 Select the correct answer from above options...
A box contains 4 white and 5 black balls. A ball is drawn at random and its colour is noted. A ball is then put ... . 53 99 D. 48 99 Select the correct answer from above options...