Free Detailed Use Case Template

Detailed Use Case

Prepared by: [Your Name]

Title: User Login


I. Actor

  • User (the individual trying to access their account)

II. Preconditions

  • The user must have an existing account with valid login credentials (username and password).

  • The system must be operational and accessible.

III. Triggers

  • The user navigates to the login page of the application.

IV. Basic Flow

  1. User Action: The user enters their username and password into the login form.

  2. System Response: The system validates the credentials.

  3. User Action: The user clicks the "Login" button.

  4. System Response: The system verifies the credentials and, if correct, grants access to the user’s account.

  5. System Response: The user is redirected to their account dashboard or the homepage.

V. Alternate Flows

Alternate Flow 1: Incorrect Password

  1. User Action: The user enters a correct username but an incorrect password.

  2. System Response: The system detects the incorrect password.

  3. System Response: The system displays an error message indicating that the password is incorrect.

  4. User Action: The user can attempt to re-enter the password or click on a “Forgot Password” link.

Alternate Flow 2: Username Not Found

  1. User Action: The user enters a username that does not exist in the system.

  2. System Response: The system detects that the username is not found.

  3. System Response: The system displays an error message indicating that the username is not found.

VI. Postconditions

  • The user is logged in and has access to their account or is informed of the login failure.

VII. Exceptions

Exception 1: System Down

  1. User Action: The user attempts to log in while the system is down or experiencing issues.

  2. System Response: The system is unable to process the login request.

  3. System Response: The system displays a message indicating that the system is temporarily unavailable and suggests trying again later.

Exception 2: Network Failure

  1. User Action: The user attempts to log in but encounters a network failure.

  2. System Response: The login attempt fails due to the network issue.

  3. System Response: The system displays an error message indicating a network problem and prompts the user to check their connection.

Use Case Templates @ Template.net