How to write test case of Login window where user name is editable to only upto 8 alpha characters?

Showing Answers 1 - 20 of 20 Answers

Abbas

  • Feb 19th, 2006
 

Positive Testing:

Enter the username upto 8 characters and the expected value will be it must accept the 8 characters.

Negative Testing:

Enter the username morethan 8 characters and the expected value will be it must not accept the values more than 8 characters.

  Was this answer useful?  Yes

Vishu

  • Feb 22nd, 2006
 

Here is an ExamplePROJECT : COES MODULE : Order Entry Document References : COES SRS Ver1.2 FORM REF: Authentication Sec/Page REF NO.:- 5.1.1 / 9 FUNCTIONAL SPECIFICATION: User Authentication REF NO:- 1.1.13 TEST DATE Time Taken TEST OBJECTIVE:- To check whether the entered User name and Password are vaild or Invaild PREPAIRED BY Vishu TEST CASE NO:- Authentication Test DATA USER Name = COES and PASSWORD = COES Step No Steps Data Expected Results Actual Results 1 Enter User Name and press LOGIN Button User Name= COES Should Display Warning Message Box "Please Enter User name and Password" 2 Enter Password and press LOGIN Button Password= COES Should Display Warning Message Box "Please Enter User name and Password" 3 "Enter user Nameand Password and press LOGIN Button" "USER = COES AND Password = XYZ" Should Display Warning Message Box "Please Enter User name and Password" 4 Enter user Name and Password and press LOGIN Button "USER = XYX AND Password = COES" Should Display Warning Message Box "Please Enter User name and Password" 5 "Enter user Name and Password and press LOGIN Button" "USER = XYZ AND Password = XYZ" Should Display Warning Message Box "Please Enter User name and Password" 6 "Enter user Name and Password and press LOGIN Button" "USER ="" "" AND Password = "" """ Should Display Warning Message Box "Please Enter User name and Password" 7 Enter User Name and Password and press LOGIN Button "USER = COES AND Password = COES" Should navigate to CoesCategoryList.asp page. 8 Enter User Name and Password and press LOGIN Button "USER = ADMIN AND Password = ADMIN" Should navigate to Maintenance page page. I Hope this will Help You.

  Was this answer useful?  Yes

srikant

  • Feb 28th, 2006
 

 

PROJECT : DataTest

MODULE : Order Data Entry
Document References : COES SRS Ver1.2
FORM No:Authentication
Sec/Page REF NO.:- 5.1.1 / 9
FUNCTIONAL SPECIFICATION: User Authentication
REF NO:- 5.1.1.1
TEST DATE
Time Taken
TEST OBJECTIVE:- To check whether the entered User name and Password are vaild or Invaild

PREPAIRED BY srikant

TEST CASE NO:- CS_Au_1

Test DATAUSER Name = Admin and PASSWORD = Admin

Step NoStepsDataExpected Results
1Enter User Name and press LOGIN ButtonUser Name= AdminShould Display Warning Message Box "Please Enter User name and Password"
2Enter Password and press LOGIN ButtonPassword= AdminShould Display Warning Message Box "Please Enter User name and Password"
3Enter user Nameand Password and press LOGIN ButtonUSER = Admin AND Password = XYZShould Display Warning Message Box "Please Enter User name and Password"
4Enter user Name and Password and press LOGIN ButtonUSER = XYX AND Password = AdminShould Display Warning Message Box "Please Enter User name and Password"
5Enter user Name and Password and press LOGIN ButtonUSER = XYZ AND Password = XYZShould Display Warning Message Box "Please Enter User name and Password"
6Enter user Name and Password and press LOGIN ButtonUSER =" " AND Password = " "Should Display Warning Message Box "Please Enter User name and Password"
7Enter User Name and Password and press LOGIN ButtonUSER = COES AND Password = COESShould navigate to CoesCategoryList.asp page.
8Enter User Name and Password and press LOGIN ButtonUSER = srikant AND Password = srikantShould navigate to Maintenance page page.

This will help u to find out the problem

Bye

deepa

  • Mar 7th, 2006
 

hi srikanth,

it was really useful 2 me.can u suggest some tips to write TCs

how 2 write TCs for ATM?

  Was this answer useful?  Yes

Test case ID Description Steps/Test data Expected Result Actual ResultLW_AU_01 Check whether the entered user name is valid or not User Name=?12345678?Press ?Login Button? Should display the warning message ?User name should be alphabetic Characters? LW_AU_02 Check whether the entered user name is valid or not User Name=?User1234?Press ?Login Button? Should display the warning message ?User name should be alphabetic Characters? LW_AU_03 Check whether the entered user name is valid or not User Name=?user?Press ?Login Button? Should display the warning message ?User Name must have 8 characters? LW_AU_04 Check whether the entered user name is valid or not User Name=? ?Press ?Login Button? Should display the warning message ?Please enter the User name? LW_AU_05 Check whether the entered user name is valid or not User Name=?usernamex?Press ?Login Button? Should display the warning message ?User Name must have 8 characters? LW_AU_06 Check whether the entered user name is valid or not User name=?username?Press ?Login Button? Should Navigate to the next Window

  Was this answer useful?  Yes

khaja naimuddin

  • Apr 8th, 2006
 

 

hi srikanth,

it was really useful 2 me.can u suggest some tips to write TCs.

i mean to say how do start a test case in a better manner and how to end it.plz help me yaar.

  Was this answer useful?  Yes

surya30

  • Apr 8th, 2006
 

hi srikanth,

thn q very much for ur invaluable information on writing test case for login window, i felt one step was misssing in ur tesst cae i.e b4 going enterning username n passwrod

press login button expectedvalue  " enter username and passwrod " msg should appear,

any how i than q  very much for this info. ,i wanted to know

whether there are any templates for writing test cases so that v don't miss any step.

thn q

surya

  Was this answer useful?  Yes

Sai

  • Apr 12th, 2006
 

srikanthRealli good work, u deserve to b appreciated.as simple as such..thanks for tht Sai.

  Was this answer useful?  Yes

Praveen Rai

  • Dec 7th, 2006
 

Dear surya i think the test case which you are talking about is test case no. 6... in table where it is mentioned on blank i/p values for login name and password and pressed Login Button

  Was this answer useful?  Yes

Test cases for Login Window


1.Check whether firstname field accept only alphabets
2.Check whether last name field accept only alphabets
3.Check firstname, last name cannot accept other than alphabets - negative
4.Check the login name field accept only alphabets, numerics and special
characters except dot.
5.Check whether the desired login name is created only when it displays specific
name is available.
6.Check whether desired login name cannot be created with existing login name -
negative
7.Check password accept more than 8 characters
8.Check password cannot accept less than 8 characters - negative
9.Check the password and re-enter password field be the matched
10.Check it display a message when password and re-enter password mismatches -
negative
11.Check whether you can view the security question
12.Check whether answer field cannot be null.
13.Verify whether secondary mail field entered with valid id
14.Verify whether your location is present in the location field
15.Verify whether the captcha entered and available is correct.
16.Check every time you refresh or selecting i accept it display a new captcha
17.Check captcha be unique
18.Check captcha is case sensitive
19.Check when i accept is selected it moves to next page
20.Check when any required field is not entered or entered with the wrong values
it display a message with red color font


Test cases for Sign-In


1.Check whether the username is valid.
2.Check google account is sign in when username and password is correct.
3.Check it should display a warning message when username and password is in
correct.
4.Check whether you can edit the user name by entering into the current account.
5.Check whether the user name can accept only alphabets.
6.Check whether the user name can accept upto only 8 characters.

  Was this answer useful?  Yes

sushma

  • May 30th, 2014
 

i need testcase for login page,user name and password

  Was this answer useful?  Yes

abhilasha

  • Jun 20th, 2014
 

1. verify by enter characters other then alpha
2 Verify by enter character more then 8 alpha character
3. Verify by leaving field as blank
4 Verify by filling wrong username
5. Verify by enter character less then 2

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions