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
Go To First  |  Previous Question  |  Next Question 
 Test Cases  |  Question 18 of 248    Print  
How to write test case of Login window where user name is editable to only upto 8 alpha characters?

  
Total Answers and Comments: 9 Last Update: December 08, 2006     Asked by: TMKHAN 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 19, 2006 05:31:23   #1  
Abbas        

RE: How to write test case of Login window where user ...

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.


 
Is this answer useful? Yes | No
February 22, 2006 21:04:14   #2  
Vishu        

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.
 
Is this answer useful? Yes | No
February 28, 2006 04:17:27   #3  
srikant        

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


 
Is this answer useful? Yes | No
March 07, 2006 13:00:28   #4  
deepa        

RE: How to write test case of Login window where user ...

hi srikanth,

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

how 2 write TCs for ATM?


 
Is this answer useful? Yes | No
March 09, 2006 13:20:30   #5  
mrgreekgod Member Since: February 2006   Contribution: 28    

RE: How to write test case of Login window where user ...
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
 
Is this answer useful? Yes | No
April 08, 2006 05:46:02   #6  
khaja naimuddin        

RE: How to write test case of Login window where user ...
 

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.


 
Is this answer useful? Yes | No
April 08, 2006 21:59:16   #7  
surya30        

RE: How to write test case of Login window where user ...

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


 
Is this answer useful? Yes | No
April 12, 2006 06:30:44   #8  
Sai        

RE: How to write test case of Login window where user ...
srikanthRealli good work, u deserve to b appreciated.as simple as such..thanks for tht Sai.
 
Is this answer useful? Yes | No
December 07, 2006 13:57:27   #9  
Praveen Rai        

RE: How to write test case of Login window where user ...
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
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape