Write 10 Test Cases for SBI Web Application Login Flow

❓ How

Positive Test Cases:

  1. Valid Email Test: Enter a valid email id, such as username@example.com, and submit the form. The system should accept the email id and successfully register the user.
  2. Unique Email Test: Register a new user with an email id that hasn't been previously registered. The system should accept the email id and successfully register the user.

Negative Test Cases:

  1. Invalid Email Test: Enter an invalid email id, such as username@example, and try to submit the form. The system should display an error message stating that the email id is invalid.
  2. Duplicate Email Test: Try to register a new user with an email id that has already been registered. The system should display an error message that the email id is already in use.

✅ Points to Remember

  1. Best Practice: Always include both positive and negative test cases when testing a field to ensure that the system can handle both valid and invalid inputs.
  2. Pitfall: Avoid using actual email ids for testing, especially in a production environment, as it may lead to unintended consequences like sending out test emails to real users.