The MailStack Api (Email Testing) is now available!

Register Test Cases

To perform these tests, please navigate to this page

Register Automation Test Cases

Test Case 1: Successful Registration (Happy Path)

  1. Launch the browser.
  2. Navigate to the Register page URL (/register).
  3. Enter a valid Username.
  4. Enter a valid Password.
  5. Confirm the Password by re-entering it correctly.
  6. Click the Register button.
  7. Verify that the user is redirected to the Login page (/login).
  8. Confirm that the success message "Successfully registered, you can log in now." is displayed.

Test Case 2: Registration with Missing Username

  1. Launch the browser.
  2. Navigate to the Register page URL (/register).
  3. Leave the Username field blank.
  4. Enter a valid Password.
  5. Confirm the Password by re-entering it.
  6. Click the Register button.
  7. Verify that an error message "All fields are required." is displayed.

Test Case 3: Registration with Missing Password

  1. Launch the browser.
  2. Navigate to the Register page URL (/register).
  3. Enter a valid Username.
  4. Leave the Password field blank.
  5. Confirm the Password by entering any value.
  6. Click the Register button.
  7. Verify that an error message "All fields are required." is displayed.

Test Case 4: Registration with Non-matching Passwords

  1. Launch the browser.
  2. Navigate to the Register page URL (/register).
  3. Enter a valid Username.
  4. Enter a valid Password.
  5. Confirm the Password by entering a different value.
  6. Click the Register button.
  7. Verify that an error message "Passwords do not match." is displayed.