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 / amit haldar

1)Go to User Id field and without entring data in that field
press "Enter" key.
Expected-it should prompt message " Please enter 'User ID' "

2)Go to login screen enter "User Id" and winthout entering
password try to click on "OK" button.
Expected-it should prompt message "Please enter 'Password' "

3)Go to login screen enter Proper "User Id" and enter wrong
password try to click on "OK" button.
Expected-it should prompt message " Please enter Proper
'Password' "

4) Go to login screen enter Invalid "User Id" and valid
password try to click on "OK" button.
Expected-it should prompt message " Please enter Proper
UserID ".


5)Go to Login screen enter all required Valid data and press
"OK"
button then software window will open. In that window click
on "Back" button.
Expected-It should go back to 'Login' screen and that
screen should not show "User Id" and "Password"

6). Enter username with special characters and enter
and password click on ?OK?
Please enter valid username without special characters

7).Enter username and password with special characters and enter
and click on ?OK?
Please enter valid Password without special characters


8). Enter username as more than max limit and enter
password and click on ?OK?
User name should not more than Max

9). Enter username as less than min limit and enter
password and click on ?OK?
User name should not be less than Min limit.

10)Enter the user name and password should be more than max
limit and press Ok?
System should throw a error message password should not be
more than Max limit

11)Enter the user name and password should be less than min
Limit and Press Ok?
System should throw an error message Password should not be
less than Min Limit

12). Enter the correct userid and password and click on submit
button.
Expected: It should display welcome page.

13). Enter the user name and password
Expected: The password values should be encrypted

Is This Answer Correct ?    15 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between web site testing, desktop application testing and wireless application testing? what is the difference in testing strategy to test them?

1532


what s test block ratio? please any one answer me..

1826


What is smoke testing and what is sanity?

648


Explain about PET Model?

2237


what are the tests u did in entire project? when it did in the project? (means at the release build to end of project) plz explain clearly

1659






hi this is satish can some one help me out by sending the maxium notes on client sesrver ,web server and company architechture project hirearchy and company hirearchy i will happy to recive the answers as early as possible

1724


value momentum

1279


what is the cheklist to check SRS document (after releasing) as a test ingineer and how can we check

1585


How would you do the ollowing Security Testing for web application? 1) Authentication. 2) Authorization. 3) cookies. 4) penetration testing. 5) session testing. 6) encryption and decryption testing pls give examples give example i can't understand so pl

2044


Can anyone tell me about banking project? abt the transactions? the flow?

1520


what is your daily activities?

1669


Which is the best testing model?

600


i have source and target having same data structure 500 fields and one lacks records. how to validate data. write 5 scenarios.

4809


Tell me the SRS based review,brs based review

1687


How do you define a testing policy?

591