Use Case is a document which is prepared from the requirements and specifications. Use cases are used as common document by both the development and the testing team. The development team will do the coding part by keeping use case document as the base. Also the testing team will start writing the test cases based on the use case document.
Use case document will explain in depth regarding the flow of actions in and between the modules. There will be three flows viz., (1) Basic Flow (2) Alternate Flow and (3) Exceptional Flow.
Basic flow is the normal flow of action, for example in a login page the basic flow will be entering user id, password and clicking the submit button will go to the next page. Alternate flow is what are the other flows than the basic flow, in the same example, the alternate flow will be before clicking the submit button, click the link to verify the user name exists in the data base. Exceptional flow is some undesired event happens how the system will reacts. In the same login example, after clicking the submit button and the user does not exists in the database the error page will be displayed saying that the user does not exists will be the exceptional flow.
Application development and the test cases will be written based on the above mentioned flows from the use case.
Use case document may be in any format such as in flow chart type or in descriptive type





Reply With Quote
