How To Run Positive and Negative Test Cases for Login Page?

Timothy Joseph | September 20, 2021
How To Run Positive and Negative Test Cases for Login Page?

Positive Test Cases:

  1. Verify if a user will be able to login with a valid username and valid password.
  2. Verify the ‘Forgot Password' functionality.
  3. Verify the ‘Remember Me’ functionality.
  4. Verify the validation messages for invalid login.
  5. Verify if a user is able to login with a new password once the password has changed.
  6. Verify the timeout functionality of the login session.
  7. Use enter button after typing the correct username and password.
  8. Use tab to navigate from username textbox to password textbox and then to login button.
  9. Verify the validation for the maximum allowed incorrect login attempt.
  10. Verify the login using deactivated user.


Negative Test Cases:

  1. Verify the login page when the fields are blank and the 'Submit' button is clicked.
  2. Verify the sign-in functionality by clicking multiple times on the sign-in button.
  3. Verify if a user is unable to enter the characters more than the specified limit in each field (Username and Password).
  4. Verify the login page by pressing the 'Back' and 'Forward' buttons of the browser. It should not allow users to enter into the system once logged out.
  5. Verify if a user should be allowed to log in with different credentials from the same browser at the same time.

If you need further assistance with creating test automation cases or need to extend your QA resources and capabilities, contact QASource today.


This publication is for informational purposes only, and nothing contained in it should be considered legal advice. We expressly disclaim any warranty or responsibility for damages arising out of this information and encourage you to consult with legal counsel regarding your specific needs. We do not undertake any duty to update previously posted materials.

Post a Comment