login method and login function code example
Example: login functionality
=Verify if a user will be able to login
with a valid username and valid password. Positive
=Verify if a user cannot login with a
valid username and an invalid password. Negative
=Verify the login page for both, when
the field is blank and Submit button is clicked. Negative
=Verify the ‘Forgot Password’ functionality. Positive
=Verify the messages for invalid login. Positive
=Verify the ‘Remember Me’ functionality. Positive
=Verify if the data in password field is
either visible as asterisk or bullet signs. Positive
=Verify if a user is able to login with a
new password only after he/she has changed the password. Positive
=Verify if the login page allows to
log in simultaneously with different
credentials in a different browser. Positive
=Verify if the ‘Enter’ key of the keyboard
is working correctly on the login page. Positive
Other Test Cases
=Verify the time taken to log in with a valid username and password.
Performance & Positive Testing
=Verify if the font, text color, and color coding
of the Login page is as per the standard.
UI Testing & Positive Testing
=Verify if there is a ‘Cancel’ button
available to erase the entered text.
Usability Testing
=Verify the login page and all its controls
in different browsers
Browser Compatibility & Positive Testing.