GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Testing  >  Test Cases

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



February 02, 2006 21:04:14 #2
 Vishu   Member Since: Visitor    Total Comments: N/A 

RE: How to write test case of Login window where user ...
 
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.
     

 

Back To Question