Write 5 best test cases for :

Login screen

Login ( Min 5 to max 15 )
Password ( Min 5 to max 15)
alphanumeric characters ans case senstive

Answer Posted / nehal dadhaniya

Test Case Id Test Case Name Pre-condition Process
Expected Result Actual Result Pass/Fail
(P/F)
Index_01 Username Textbox User should be
either Administrator or registered user. User enters
Username and press the Tab key. Control should go to
password textbox. Control goes to the password
textbox. P
Index_02 Password Textbox User should be
either Administrator or registered user. User enters
password and press the Tab key. Control should go to Login
button. Control goes to the Login button. P
Index_03 Login Button User should be either
Administrator or registered user. Clicks on the Login
button. If the username and password are correct then,
admin homepage should be displayed to the administrator or
user homepage should be displayed to the registered user.
The admin home page is displayed is the user is
admin, and the user home page is displayed if the user is a
registered user. P
Index_04 Login Button User should be either
Administrator or registered user. Clicks on the Login
button without entering username and password. A required
field mark ‘*’ should be appeared near both textboxes. A
required field mark ‘*’ appears near both textboxes. P
Index_05 Login Button User should be either
Administrator or registered user. Clicks on the Login
button without entering either username or password. A
required field mark ‘*’ should be appeared near the textbox
which has been left. A required field mark ‘*’ appears
near the textbox which has been left. P
Index_06 Login Button User should be either
Administrator or registered user. Clicks on the Login
Button entering wrong password. A message should appear
stating ‘Invalid Password’ and the password textbox should
become empty. A message appears stating ‘Invalid
Password’ and the password textbox becomes empty. P
Index_07 Login Button User should be a registered
user with his/her account expired. Clicks on the Login
button. A message should appear stating ‘Your account has
been expired’. A message should appear stating ‘Your
account has been expired’. P
Index_08 Login Button User is Logging in to the
system for the first time. Clicks on the Login button.
User should be redirected to the Change password
Page. System redirects the user to the Change password
Page. P
Index_09 Login Button User should be either
Administrator or registered user or anonymous user.
Clicks on the login button entering wrong username.
A message should appear stating ‘Invalid User Name’
and the password textbox should become empty and control
should go to the username textbox. A message appears
stating ‘Invalid User Name’ and the password textbox
becomes empty and control goes to the username textbox. P

Is This Answer Correct ?    77 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What knowledge I must have as a 3 yrs. manual tester??

1634


Hi , Please send me the interview questions which were asked in manual testing mainly the test cases asked to write in interview.

1506


iwant know IEEE formate ,how it is used and exactly where it is used? i have details it follows test plan, testcases...etc. i want real time explanation. pls any one give?

1422


Hi....Friends....If anybody having Sample CSTP question papers, pls send it to the following Id... Thanks n advance... theramkumar@gmail.com

2619


Difference between Stakeholder and Relevant Stakeholder?

1603






When do we perform smoke testing?

686


What is the big deal about ‘requirements’?

729


What is a top-down and bottom-up approach in testing?

708


is it not possible to automate full project??what r the parts in project that cant be automated(tht has to be done manually)?

1997


Could someone please send me real check list for Database Security testing.Please my mail ID- patil.ramchandra@yahoo.co.in. Thanks.

1836


What are the bugs we cannot find in black box?

696


What are the different ways of doing black box testing?

653


What is Windows Test Technologies? Where i will get all information of it.

3324


what is the challenging position faced in the testing not in point of management point of view it must be in the point of while testing the application?

4036


can anybody send the project you have tested with the clear descriptions,and recent bugs u found in that

1697