how to write test cases for a Login page
- Verify that as soon as the login page opens, by default the cursor should remain on the username textbox.
- Verify that the user is able to navigate or access the different controls by pressing the ‘Tab’ key on the keyboard.
- Verify that the password is in masked form when entered.
- Verify if the password can be copy-pasted or not.
- Verify that the user is able to login by entering valid credentials and clicking on the ‘Login’ button.
- Verify that the user is able to login by entering valid credentials and pressing Enter key.
- Verify that the user is not able to login with an invalid username and password.
- Verify that the validation message gets displayed in case the user leaves the username or password field as blank.
- Verify that the validation message is displayed in the case the user exceeds the character limit of the user name and password fields.
Reference: Test Case of Login page
Comments
Post a Comment