Automation testing is mostly a black box testing as we just program the steps that a manual tester performs for application under test without knowing the low-level design or code of the application.
1 Like
Sometimes, automated test scripts need access to the database details that are used in the application under test or some more coding details and thus can be a type of white-box testing.
1 Like
Thus automated testing can be both black or white box type of testing depending on the scenarios in which automation is performed.
1 Like