018 ‐ Live Project (Part 11) ‐ Test Cases for Forgot Password - rkb-sdet/SoftwareTesting GitHub Wiki

18. Session 18 - Live Project (Part 11) - Test Cases for Forgot Password

TC ID Test Scenario Test Case Title Pre-requisites Key Steps Summary Expected Result Summary
TC_FP_001 (TS_004) Forgot Password Verify User is able to reset the password Open app, existing account Navigate to login page → Click 'Forgotten password' → Enter email → Continue → Reset password via email → Login with new password User navigates to reset page, receives confirmation email, successfully resets password, able to login
TC_FP_002 (TS_004) Forgot Password Verify email sent with proper reset password details Open app, existing account Reset password request → Check email received with subject, body, from address and reset link Email correctly sent with all required details
TC_FP_003 (TS_004) Forgot Password Verify login with new password and rejection of old password Password reset completed Login with new password → Login with old password New password works; old password fails
TC_FP_004 (TS_004) Forgot Password Verify old password still works if reset not completed Reset process initiated but not completed Attempt login with old password without completing reset process Old password still works
TC_FP_005 (TS_004) Forgot Password Verify reset password flow for non-registered email Open app Enter unregistered email in forgot password form Success message shown (security best practice), no info revealed about validity of email
TC_FP_006 (TS_004) Forgot Password Verify reset link usage limited to one-time only Reset link sent Use reset link multiple times Link is valid for one use only, further attempts show expired/invalid message
TC_FP_007 (TS_004) Forgot Password Verify error when password and confirm password do not match Password reset page open Enter mismatched passwords → Submit Field-level warning shown "Password and confirmation do not match"
TC_FP_008 (TS_004) Forgot Password Verify placeholders in password and confirm password fields Reset password page open Check fields for placeholders Proper placeholder text displayed
TC_FP_009 (TS_004) Forgot Password Verify error if new password fields left blank Reset password page open Submit with empty password/confirm password Field-level warning "Password must be between 4 and 20 characters"
TC_FP_010 (TS_004) Forgot Password Verify back button in reset password page navigates to login Reset password page open Click 'Back' button User navigated back to login page
TC_FP_011 (TS_004) Forgot Password Verify right column options are displayed in reset password page Reset password page open Check right column UI Right column options visible
TC_FP_012 (TS_004) Forgot Password Verify breadcrumb on reset password page Reset password page open Check breadcrumb Proper working breadcrumb displayed
TC_FP_013 (TS_004) Forgot Password Verify page heading, title, and URL on reset password page Reset password page open Check heading, title, URL All displayed correctly
TC_FP_014 (TS_004) Forgot Password Verify UI compliance of reset password page Reset password page open Check UI adherence UI conforms to checklist
TC_FP_015 (TS_004) Forgot Password Verify error when email field empty on forgot password Forgot password page open Submit with empty email field Field-level warning "Email must be between 4 and 20 characters"
TC_FP_016 (TS_004) Forgot Password Verify email address field placeholder on forgot password Forgot password page open Check placeholder on email field Proper placeholder text displayed
TC_FP_017 (TS_004) Forgot Password Verify email field marked mandatory on forgot password page Forgot password page open Check mandatory indication Email field marked as mandatory
TC_FP_018 (TS_004) Forgot Password Verify email format validation on forgot password page Forgot password page open Enter invalid email formats Warning shown "Provide valid email address"
TC_FP_019 (TS_004) Forgot Password Verify back button on forgot password page Forgot password page open Click back button User navigated back to login page
TC_FP_020 (TS_004) Forgot Password Verify navigation to forgot password page from right column Open app Use right column link User goes to forgot password page
TC_FP_021 (TS_004) Forgot Password Verify breadcrumb on forgot password page Forgot password page open Check breadcrumb Proper breadcrumb shown
TC_FP_022 (TS_004) Forgot Password Verify email forwarded from login page to forgot password Pre-fill email on login page Email field carries to forgot password page Email carried correctly (usability improvement)
TC_FP_023 (TS_004) Forgot Password Verify UI compliance of forgot password page Forgot password page open Check UI adherence UI adheres to checklist
TC_FP_024 (TS_004) Forgot Password Verify password fields mask input on reset password page Reset password page open Enter passwords Password and confirm fields hide actual text (use dots or asterisks)
TC_FP_025 (TS_004) Forgot Password Verify forgot password functionality on all supported envs Open app Test on different browsers/environments Functionality works consistently

Additional Notes:

  • Test cases emphasize both functional correctness and security best practices, including:
    • Not revealing whether an email is registered when submitting forgot password requests.
    • Limiting reset link usage to one-time.
    • Validating user inputs thoroughly.
    • Ensuring UI elements and navigation aid usability (e.g., breadcrumbs, placeholders, mandatory marking).
  • There is a focus on verifying email notifications—subject, content, including reset links.
  • Usability improvements suggested, such as passing forward email addresses between login and forgot password forms.
  • Several test cases cover negative and boundary conditions, like invalid or missing inputs and mismatching passwords.
  • Password masking is verified for privacy.

This table and notes provide a concise overview of all critical forgot password related test coverage in the project. Let me know if you want me to help with extraction or formatting specific test steps or expected results.