Test case id | Test cases | Priority | Preconditions | Input test data | Steps to be executed | Expected results | Actual results | Pass /fail |
Com ments |
TC-01 | Test if user is able to login successfully. | A | User must be registered already | Correct user name, Correct password |
1)Enter the correct username and correct password. 2)click submit/login |
User must successfully login to the web page | (note down the results you have observed) | ||
TC-02 | Test if unregistered users is not able to login to the site | P1 | Incorrect username, Incorrect password |
1)Enter wrong username & wrong password on the respective fields 2)click submit/login |
Proper error must be displayed and prompt to enter login again | note down the results you have observed | |||
TC-03 | Test with valid username and empty password such that login must get failed | P2 | User must be registered already | 1)Enter correct username and wrong password on the respective fields 2)click submit/login |
Proper error must be displayed and prompt to enter login again | ||||
Test with valid username and empty password such that login must get failed | 1)Enter wrong username and correct password on the respective fields 2)click submit/login |
||||||||
TC-04 | Test with empty username and valid password such that login must get failed | P2 | Registered user's password | empty username and valid password |
1)Leave the username empty in the user id fields and enter a valid user's password in the password field 2)click submit/login |
Proper error must be displayed and prompt to enter login again | |||
1)Enter username in the user id fields and leave the empty in the user's password field 2)click submit/login |
|||||||||
There should not be space between text in Login/userid field |
1)Enter usename with space between text in userid field and enter password |
It should be displayed and promote message there is no spaces between username and password | |||||||
Enter username with special characters and enter and password |
Please enter valid username without special characters | ||||||||
Enter username as more than max limit and enter password |
User name should not more than Max | ||||||||
Enter username as less than min limit and enter password |
User name should not be less than Min limit. | ||||||||
Enter the user name and password should be more than max limit |
System should throw a error message password should not be more than Max limit |
||||||||
Enter the user name and password should be less than min Limit |
System should throw an error message Password should not be less than Min Limit |
||||||||
Automatic logout on using BACKSPACE button (browser) to get back to the "Login page" screen after successful login | Logged in successfully with valid credential. Push BACKSPACE button. User gets back to Login/Passwors screen page. | ||||||||
Password field masked with bullets or asterisk symbols; | |||||||||
1)"Copy" menu is disabled in Password field; 2)"Cut" menu is disabled in Password field; |
|||||||||
TC-05 | Test with empty username and valid password such that login must get failed | 1)Enter nothing in the usernid and password fields 2)click login/submit button |
Proper error must be displayed and prompt to enter login again | ||||||
TC-06 | Check of the password is masked on the screen i.e., password must be in bullets or asterisks | some password (can be a registered /unregistered) |
1)Enter the password field with some characters | The password field should display the characters in asterisks or bullets such that the password is not visible on the screen | |||||
TC-07 | Go to User Id/Login Id field and without entring data in that field press "Enter" key. |
Proper error must be displayed and prompt message " Please enter 'User Id/Login Id' " | |||||||
TC-08 | Go to login screen enter "User Id" and winthout entering password try to click on "OK" button. |
Proper error must be displayed and should prompt message "Please enter 'Password '". | |||||||
TC-09 | Go to Login screen enter all required data and press "Submit" button then software window will open. In that window click on "Back" button. |
It should go back to 'Login' screen and that screen should not show "User Id" and "Password" | |||||||