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  >  Functional Testing
Go To First  |  Previous Question  |  
 Functional Testing  |  Question 7 of 7    Print  
Test Text Field
How many possibilities are there to test a text field? What are they?


  
Total Answers and Comments: 4 Last Update: October 13, 2008     Asked by: pavankumarreddy 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 30, 2008 02:42:44   #1  
Valusa79 Member Since: August 2008   Contribution: 3    

RE: Test Text Field
If my understanding is right. You can test the below conditions, which are BVA.
(If assumed the max length is 10)
1. Leave the field blank.(0)-If the requirement says the field is mandatory then this test should fail. If not should allow to leave it blank.
2. Enter any text with length max-1(9)
3. Enter any text with maximum length(10)
4. Enter any text with length max+1(11)

In Most cases ECP is not defined. But if its defined for example the requirement is A-Z,a-z and 0-9 are the only valid set.
Then you can test the below conditons:
1.It should give an error when a spl character is entered.
Depending on the priority of the the requirement. You can test different conditions like.a) having a spl char at start
b) having a spl char at the end. and etc.




 
Is this answer useful? Yes | No
September 08, 2008 08:05:47   #2  
srinivasulub1981 Member Since: December 2005   Contribution: 139    

RE: Test Text Field
A Text field can test as follows.

-> Leave it as empty, submit and verify whether the validation message is shown
( if it's a mand field)

->  Leave it as empty, submit and verify that the validation message will not be shown ( if it's a opt field)

-> Enter large data and verify how it's validating the data

-> Enter zero (0), submit the page and verify that the val message is shown if it's type of date or DOB ..etc

-> Enter special characters like !@#$%^&*()_, submit the page and verify how it's valuidating the data

-> Enter negative values, submit the page and verify how it's validating

-> Enter Float values, submit the page and verify how it's validating

Srinivas

 
Is this answer useful? Yes | No
October 13, 2008 05:29:09   #3  
B.V.Kumar Member Since: October 2008   Contribution: 2    

RE: Test Text Field
First of all one need to find the purpose of text field.whether the field is to enter text data or numeric data or alphanumeric data.Then go for BVA.This will not only save the time but also makes easy to prepare text data.

Regards,
B.V.Kumar.
  

 
Is this answer useful? Yes | No
October 13, 2008 06:05:46   #4  
B.V.Kumar Member Since: October 2008   Contribution: 2    

RE: Test Text Field
First of all the tester need to find the purpuse of the text field from the requirements. Based on the requirement need to prepare test data.
There are two possilble ways to test a text field,
1) Boundary Value Analysis
2) Equivalence Class Partition.

B.V.Kumar

 
Is this answer useful? Yes | No


 
Go To Top


 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