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 / suresh
Assume LogIn Button present in the Screan.
So we have to validate
1."user name" text field
2."Password text" field
3."LogIn" Button
1)VALIDATION OF LOGIN TEXT FIELD WITH Valid Characters
---->1.validate the user name text field with 4 characters
Precondition It should accept Text
1.1 enter 4 Valid Characters in user name field
1.2 Click on LogIn Button. It should prompt "Enter
values between 5-15 for user name"
---->2.validate the user name text field with 5 characters
Precondition It should accept Text
2.1 enter 5 Valid Characters in user name field
2.2 Click on LogIn Button. It should prompt "Enter
Password".
---->3.validate the user name text field with 7 characters
Precondition It should accept Text
3.1 enter 7 Valid Characters in user name field
3.2 Click on LogIn Button. It should prompt "Enter
Password".
---->4.validate the user name text field with 15 characters
Precondition It should accept Text
4.1 enter 15 Valid Characters in user name field
4.2 Click on LogIn Button. It should prompt "Enter
Password".
---->5.validate the user name text field with 16 characters
Precondition It should accept Text
5.1 enter 16 valid characters in user name field
5.2 Click on LogIn Button. It should prompt Enter
values between 5-15 for user name"
2)VALIDATION OF LOGIN TEXT FIELD WITH Invalid
Characters(like special characters);
---->1.validate the user name text field with 7 characters
Precondition It should accept Text
1.1 enter 7 Invalid characters in user name field
1.2 Click on LogIn Button. It should prompt "Enter
Alphanumarics only".
3)VALIDATION OF PASSWORD TEXT FIELD WITH Valid Characters
For all below test cases enter 7 valid characters in user
name field.
---->1.validate the password text field with 4 characters
Precondition It should accept Text
1.1 enter 4 Valid Characters in password field
1.2 Click on LogIn Button. It should prompt "Enter
values between 5-15 for password"
---->2.validate the password text field with 5 characters
Precondition It should accept Text
2.1 enter 5 Valid Characters in password field
2.2 Click on LogIn Button. It should navigate to
Welcome page
---->3.validate the password text field with 7 characters
Precondition It should accept Text
3.1 enter 7 Valid Characters in password field
3.2 Click on LogIn Button. It should navigate to
Welcome page
---->4.validate the password field with 15 characters
Precondition It should accept Text
4.1 enter Valid Characters in password field
4.2 Click on LogIn Button. It should navigate to
Welcome page
---->5.validate the password text field with 16 characters
Precondition It should accept Text
5.1 enter 16 valid characters in password field
5.2 Click on LogIn Button. It should prompt "Enter
values between 5-15 for password"
4)VALIDATION OF PASSWORD TEXT FIELD WITH Invalid
Characters(like special characters);
For all below test cases enter 7 valid characters in user
name field.
---->1.validate the password text field with 7 characters
Precondition It should accept Text
1.1 enter 7 Invalid characters in password field
1.2 Click on LogIn Button. It should prompt "Enter
Alphanumarics only".
5.VALIDATION OF USER NAME TEXT FIELD WITH blank user name
---->1.validate the user name text field with Blank
Precondition It should accept Text
1.1 leave username field empty
1.2 click on LogIn Button. it should prompt "enter User
Name"
6.VALIDATION OF PASSWORD TEXT FIELD WITH blank user name
---->1.validate the password AND USER NAME text fields with
Blank
Precondition It should accept Text
1.1 leave username field empty
1.2 leave password field empty
1.2 click on LogIn Button. it should prompt "enter User
Name"
---->2.validate the password text field Only with Blank
Precondition It should accept Text
2.1 enter 7 valid characters in user name field
2.2 leave password field empty
2.2 click on LogIn Button. it should prompt "enter
password"
Pls let me know is it wrong. Pls neglect is there any
spelling mistakes. Kindly provide Suggestions to me for
betere prospective.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is defect removable efficiency?
What is the big deal about ‘requirements’?
write the test senario on opening door in the flow diagram format
can any one post the format of tracebility martrix Plz...... Maid Id: sandhya.shyamala@yahoo.com
What are the qualities needed by a software tester?
hi everybody, iam Adi Durga, i complited my bsc(computers) in 2008.I have experience in finacial and bpo companys(mnc). but iam intersted on s/w role.I have the technical skills c, c++, Oracle 9i and manual testing. But i dont know hoe to strat my career in s/w. Every company offering on financial/bpo side. In this I attended nearly 10 companies,I selected in 8. All those are bpo and finacial, But i cant get any opportunities on s/w side.plz help how to get opportunites on s/w side. Actually I am interested on testing side. But every company offering for only experienced persons. plz help me. this is my mailid.... adi.durga19@gmail.com
diff b/w desktop based testing & web application testing
1.what promted you to become involved in QA/Testing?
write test case for gmail sign up page ?
What are the Important test scenarios which can be used for testing a web site?
How to overcome pesticide paradox?
I have interview on Guide wire testing. If you please share me.
What are the various test case for google analytics, api keys , pay pal if you know please post me a answer. And how we will test
what types of bugs will we find out in banking projects
What are the main key components in client and server applications?