The three boxes in one picture
Black box
You see inputs and outputs only. Tests come from requirements and user expectations.
Typical: manual testers, UAT
Grey box
You test from the outside, but use some inside knowledge: the messages the app sends to its server (API calls), the stored data (the database), the app’s record of errors (logs).
Typical: modern manual testers
White box
You see the code itself and design tests so every line and branch runs.
Typical: developers, unit tests
Check this part
In grey-box testing, what do you use besides the user interface?
Who typically does white-box testing?