Scenarios & Error Messages Template

A Scenarios & Error Messages table documents possible situations, user actions, and the messages the system should show. It keeps responses consistent and testable.

Purpose and Benefits

  • Improves UX: Clear feedback helps users recover quickly.
  • Standardizes responses: Consistent wording and behavior.
  • Supports dev: Developers know exact messages per scenario.
  • Strengthens testing: QA can validate edge cases and errors.
  • Documents edge cases: Captures rare conditions explicitly.

Scenarios & Error Messages Template

Sr.Case / ScenarioActionMessageComment
1User enters incorrect passwordUser clicks login with wrong passwordInvalid username or password. Please try again.Security message should not reveal which field is incorrect
2Email already registeredUser tries to register with existing emailThis email address is already registered. Please login or reset your password.Prevent duplicate accounts
3Password reset email not foundUser enters email not registered in systemNo account found with this email address.Avoid exposing user existence details
4Required field missingUser submits form without required fieldPlease fill in all required fields.Highlight missing fields
5Session expiredUser inactive for long timeYour session has expired. Please log in again.Security requirement
6Payment failedPayment gateway declines transactionPayment could not be processed. Please try another payment method.Log gateway error internally
7File upload size exceededUser uploads large fileFile size exceeds the maximum allowed limit.Limit defined by system configuration
8Invalid input formatUser enters invalid email formatPlease enter a valid email address.Input validation

Field Explanation

  • Sr.: Serial number for reference.
  • Case / Scenario: Situation that occurs (e.g., invalid login, duplicate email).
  • Action: User or system action that triggers the scenario.
  • Message: Clear, concise, actionable text shown to the user.
  • Comment: Notes for security, validation, or implementation.