Normally black box test cases are written first and white box test cases later. In order to write black box test cases, we need the requirement document and, design or project plan. All these documents are easily available at the initial start of the project. White box test cases cannot be started in the initial phase of the project because they need more architecture clarity which is not available at the start of the project. So normally white box test cases are written after black box test cases are written.
Black box test cases do not require system understanding but white box testing needs more structural understanding. And structural understanding is clearer i00n the later part of the project, i.e., while executing or designing. For black box testing, you need to only analyze from the functional perspective which is easily available from a simple requirement document.
Software Testing Image