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 is the typical situation u faced while collecting the test data?

1658


what is the impact analysis?

1914


Relative to other technical groups in the company? Relative to your staff?

1509


Which of these techniques is not useful for partition testing at the class level Option 1 attribute-based partitioning Option 2 category-based partitioning Option 3 equivalence class partitioning Option 4 state-based partitioning

10108


What is system level testing?

702






What is Online gaming, payment gateway development, hosting and custom software development services.

1428


plz tell me the difference b/w PB/MF based appl.with examples. Thanks

1528


What types of documentation are used in qa?

673


What expected result should come when Enter any sql query like “Select * from hello;” without quotes and with quotes.

1217


What is a testing process / lifecycle?

695


When did u complete testing ? Which scenrio should not be in automation testing ? why ?

2392


Did any one completed CSTE certiication? can u send sample question papers? how to apply that? pls send it to my mail id - dsnathi@gmail.com THANKS IN ADVANCE

1658


What are testing techniques? What is difference between general and specific?

1631


What's the difference between alpha and beta testing?

646


What is coverage and what are the different types of coverage techniques?

652