how to write test cases for a Login page

 


  1. Verify that as soon as the login page opens, by default the cursor should remain on the username textbox.
  2. Verify that the user is able to navigate or access the different controls by pressing the ‘Tab’ key on the keyboard.
  3. Verify that the password is in masked form when entered.
  4. Verify if the password can be copy-pasted or not.
  5. Verify that the user is able to login by entering valid credentials and clicking on the ‘Login’ button.
  6. Verify that the user is able to login by entering valid credentials and pressing Enter key.
  7. Verify that the user is not able to login with an invalid username and password.
  8. Verify that the validation message gets displayed in case the user leaves the username or password field as blank.
  9. Verify that the validation message is displayed in the case the user exceeds the character limit of the user name and password fields.

Comments

Popular posts from this blog

Sample Test Cases for Pen

Top 5 manual testing interview questions