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

Answers were Sorted based on User's Feedback



Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max ..

Answer / teju

Test Cases
*. For an existing User.
Login Credentials.
>Enter correct username and password and Click OK.
Results: Home page should open.
>Enter wrong username and password and Click OK.
Results: Home should not open and should Display error on Username and Password.
>Enter Username and Password and Click CANCEL .
Results: The page returns to login screen.
>Enter Password in lower case and upper case and Click OK.
Results: Shows an error that password must be case sensitive.

Is This Answer Correct ?    1 Yes 1 No

Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max ..

Answer / arvind

Specification- Login Screen Of Hotmail
User Id-gattuarvindeie@gmail.com
Password-secret

Test Cases:
1)Go to User Id field and without entering 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 without entering
password try to click on "OK" button.
Expected-it should prompt message "Please enter 'Password' "

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

'User ID' and 'Password' "

4)Go to Login screen enter all required 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"

5)Go to login screen enter "User Id" and enter password as
"god12" try to click on "OK" button.
Expected-It should prompt message for wrong Password.

Is This Answer Correct ?    2 Yes 2 No

Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max ..

Answer / hemant

1: Input: enter the Valid Emp Id & Pwd click on sign in button
Output: employee should be logged in & forwarde to next page

2: I/P: enter the Valid Emp Id with invalid Pwd & click on
sign in button
O/P:Prompt error msg that "Enter Valid Pwd"

3: I/p: Enter Valid Emp Id with keeping pwd field blank &
click sign in button
O/p:Prompt error msg that "Enter Pwd"

4: I/P:Enter Invalid Emp Id with Valid pwd & click on sign in
O/P:Prompt error msg that "Enter Valid Emp Id"

5: i/p :Keep Emp Id blank & enter valid Pwd
o/p :Prompt error msg that "Enter Emp Id"

6: i/p: Keep Emp Id & Pwd field Blank
o/p: Prompt error msg that "Enter Emp Id & Pwd"

7: Enter valid emp id & Pwd with combination of small &
capital letters & click sign in button
o/p: Prompt error msg "Enter Valid Emp Id & Pwd"

8: Enter valid emp id & Pwd with combination of special
charactors & click on sign in
o/p: Prompt error msg "Enter Valid Emp Id & Pwd"

9: Enter valid id & Pwd with combination of alpha numeric
charactors & click on sign in button

o/p: Prompt error msg "Enter Valid Emp Id & Pwd"

10: Enter valid id & Pwd with spaces btn charactors & click
on sign in
o/p: Prompt error msg "Enter Valid Emp Id & Pwd"

Is This Answer Correct ?    1 Yes 1 No

Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max ..

Answer / atish pradhan

Test case 1
1)enter the valid userid in editbox
2)enter the valid password in editbox.
3)click on submit button.

Expected result
1)it should display the userid.
2)it should display the password astrick symbol.
3)it should display the home page.

Test case 2
1)enter the invalid userid in editbox.
2)enter the valid password in editbox.
3)click on submit button.

Expected result
1)it should display the userid.
2)it should display the password in astrick symbol.
3)it should prompt an error message enter valid userid or password.

Test case 2
1)enter the valid userid in editbox.
2)enter the invalid password in editbox.
3)click on submit button.

Expected result
1)it should display the userid.
2)it should display the password astrick symbol.
3)it should prompt an error message enter valid userid or password.

Test case 2
1)enter the invalid userid in editbox.
2)enter the invalid password in editbox.
3)click on submit button.

Expected result
1)it should display the userid.
2)it should display the password astrick symbol.
3)it should prompt an error message enter valid userid or password.

Test case 2
1)leave userid field blank.
2)leave password field blank.
3)click on submit button.

Expected result
1)it should not display any userid.
2)it should not display any password.
3)it should prompt an error message enter valid userid or password.

Test case 2
1)enter the userid in editbox.
2)leave password field blank.
3)click on submit button.

Expected result
1)it should display userid.
2)it should not display any password.
3)it should prompt an error message enter valid userid or password.

Test case 2
1)leave the userid field blank.
2)enter the valid password in edit box.
3)click on submit button.

Expected result
1)it should not display any userid.
2)it should display password in astrick symbol.
3)it should prompt an error message enter valid userid or password.

Test case 2
1)enter the valid userid in edit box.
2)enter the valid password in edit box.
3)click on cancel button.

Expected result
1)it should display userid.
2)it should display password in astrick symbol.
3)it should restore all fields.

Is This Answer Correct ?    0 Yes 0 No

Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max ..

Answer / bugfree

Here you can find all the scenarios for login page.
http://www.testingjournals.com/complete-list-scenarios-test-login-page/

Is This Answer Correct ?    0 Yes 0 No

Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max ..

Answer / ses

Sr.No Description Expected Result Actual Result
1. Type the url Login page should open
2. Verify the GUI of GUI of the application should be
the application visible
3. Verify the UID UID field should be available
4. Verify the PWD PWD field should be available
5. Verify the Log In Log In Button should be available
Button
6. Enter a Valid UID User should not be log in, should get
Enter a Invalid PWD a message like pls enter a valid UID
Click on Log In or pwd

Is This Answer Correct ?    0 Yes 1 No

Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max ..

Answer / jersy

Log in and password

min - 5
max -15
min-1 -4
max-1 -14
max+1 -16
min+1 -6

valid : alphanumeric characters
case sensitive
Invalid : spaces, special characters , non case sensitive

Is is correct?

Is This Answer Correct ?    0 Yes 1 No

Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max ..

Answer / 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

Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max ..

Answer / asha

1.Enter valid username & password then click on login button.
2.Enter invalid username & password then click on login button.
3.Enter valid username & invalid password then click on
login button.
4.Enter invalid username & password then click on login button.
5.Enter Blank username & password then click on login button.
6.Enter blank username & valid password then click on login
button.
7.Enter valid username & blank password then click on login
button.
8.enter valid username & press space key 3 times in password
field then click on login button.

Is This Answer Correct ?    0 Yes 1 No

Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max ..

Answer / banandh

Case 1: Enter valid Login: pbpb123@india.com and Password
:pwd123, then log on

Case 2: Enter an Invalid Login (like <space>/'/char <5 /Char
> 15), and enter valid Password, An error message displays
"Enter a valid login id"

Case 3: Enter a valid Login id and Invalid Password like
any("Char<5"/"Char > 15"/<space>/'), An error message
displays "Enter a valid Password"

Case 4: Enter Incorrect Login id like
(PBPB@/pbpb@india/@india.com)and valid password, then
displayerror message "Enter a Valid Email id"

Case 5: Login using valid login and password and goto home
page, copy the URL and paste on another Browser, it Should
not log in with out login and Password authentication.

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More Manual Testing Interview Questions

What is meant by preconditions and postconditions in a Test Case? Can anyone give an example?

22 Answers   CLG, JDA, Zestwings Informatics,


ofter combine the sub modules which type of integration testing will be done ? and who will do this ?

2 Answers  


what are the bugs we canot find in black box.

4 Answers  


i need manual testing interview questions for 2+ experience plzz help me..

1 Answers  


can i manage putting fake experience in manual testing what they will do if am caught

3 Answers  






if u r only person in the office and client asked u for some changes and u didn,t get what the client asked for what will u do?

2 Answers   MBT,


what is the difference between buglog and defect tracking?

4 Answers   Semantic Space,


Hai all can anyone tell me wat is the diff betn Build and version and is there any file extenction for build and version if so wat is it..And How to deploy the build and version for development or testing.. Cheers, Amar.gp

1 Answers   AmSol,


At what stage the unit testing has to be done?

2 Answers  


Give Proper Example for following situations 1. Sevirity 'Low' Priority 'Urgent' 2. Sevirity 'Urgent' Priority 'Low' 3. Sevirity 'Urgent' Priority 'Urgent' ? Also explain what is sevirity & Priority if A Printer suppose to print out 1000 Print outs for 1 refill of cartage But actually it is taking 1100?

4 Answers  


what is the diference between defectage and billinterval period?

2 Answers  


What is the Diff between Code Walkthrough & Code Review? What is the diff between walkthrough and inspection? What is meant by GUI Testing?

0 Answers   HCL,


Categories