Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

You want a automation tool to be used for your project. How will you convince the client for the same. Please give me specific answer.

1987


What is checkpoint? How can you handle the checkpoints?

2512


What are the tasks of test closure activities in software testing?

1165


What is mutation testing & when can it be done?

1168


How can software qa processes be implemented without stifling productivity?

1177


How could you present test strategy for the product testing?

1082


send the senario template

1963


What types of testing is specifically important for web testing?

1213


I have an UI issue "please fill out this field" pop up in firefox browser keeps scrolling with the page is it valid???

1993


Define Stability, Scalability and reliability with example ?

3250


How to write testcases for unread/read mails for gamil inbox? and what are the types of testing you do on them?

4578


HI. ANYONE HAS ATTENDED INTERVIEW FOR TESTING IN MINDKRAFT GLOBAL. I HAVE WRITTEN TEST FOR SOFTWARE TESTING. CAN ANYONE TELL ME WHAT ALL QUESTIONS CANBE ASKED. PLS REPLY. THANK YOU

2655


How can I done a Web Testing? Which steps are include in it?

2048


What is bug release?

1223


what r the measure bugs found in your project??? Give some example abt this.

5016