how to write test cases for a text field that should have
maximum 250 characters

Answers were Sorted based on User's Feedback



how to write test cases for a text field that should have maximum 250 characters..

Answer / deepa

TC_1: To verify the text field for not entering any
characters (blank text field)
Expected Result (ER): validation msg should display asking
user to enter data

TC_2: To verify the text field for < 250 characters
ER: data should be accepted successfully

TC_3: To verify the text field for > 250 characters
ER: Validation msg should display infomring user that data
has exceeded maximum character limit

Is This Answer Correct ?    46 Yes 7 No

how to write test cases for a text field that should have maximum 250 characters..

Answer / nuthan kumar v

1. Verify Mandatory condition. It should not allow blank.
2. Verify with Min length ie., 1. it shoud allow
3. Verify with Max 250 chars. It should allow.
4. Verify with Max - 1 chars. It should allow.
5. Verify with Max + 1 chars. It should not allow.

these conditions based on ur question only.


Nuthan Kumar V
Testing Engineer.,

Is This Answer Correct ?    17 Yes 3 No

how to write test cases for a text field that should have maximum 250 characters..

Answer / posa

Phone Number:

1.First, Check Wheather the Attribute is there or not.
2.Check Wheather the Button is Highlighting through
mouseover or not.
2.Check Wheather the Cursor is staying there or not.
3.Check wheather it have any Attributes like:
a.Mobile.
b.office.
c.Friends.
d.Family.
3.Check which type of Input's it is accepting.
a.Numerics.
b.Alphabets.
c.Alpha Numerics.
d.Special Symbols.
4.Calculate Boundary Value Analysis.
5.Calculate Equivalence Class Partationing.
a.Numerics------------Valid.
b.Alphabets-----------InValid.
c.Alphanumerics-------InValid.
d.Special Symbols-----InValid.
6.It should not allow all zero's.
7.It should not allow blank text page.
6.Check it is allowing selecting option or not.
7.Wheather it is allowing cut,copy, paste options or not.
8.Check it is allowing otherthan these options.
9.Finally Check it is Saving or not.

Is This Answer Correct ?    22 Yes 8 No

how to write test cases for a text field that should have maximum 250 characters..

Answer / nag

min = 0 pass
max = 250 pass
min1-1= -1 fail
min+1 = 1 pass
max-1 = 249 pass
max+1 = 251 fail


Nag
9989093551

Is This Answer Correct ?    12 Yes 6 No

how to write test cases for a text field that should have maximum 250 characters..

Answer / mahi

Verify the field is mandatory or not. First verify for
lesser number of charecters then verify for 200 charecters.
Then verify for more than 200 charecters.

Is This Answer Correct ?    8 Yes 4 No

how to write test cases for a text field that should have maximum 250 characters..

Answer / ajith

For one text field we can write number of test cases if the text field is mandatory to at least one value we can write like..
min = pass = 1
max = pass = 250
min-1 = fail = 0
min+1 = pass = 2
max-1 = pass = 254
max+1 = fail = 256

Is This Answer Correct ?    6 Yes 2 No

how to write test cases for a text field that should have maximum 250 characters..

Answer / prasanth r

check how many letters that text box can accommodate:
CASE1:enter the capital letters and check how many letters
that text box can accommodate.

CASE2:enter the small letters and check how many letters
that text box can accommodate.

CASE3:enter the combination of letters(small and capital)
and check how many letters that text box can accommodate.

CASE4:enter the different languages(other than english such
as tamil.hind) and check how many letters that text box can
accommodate.

Is This Answer Correct ?    4 Yes 1 No

how to write test cases for a text field that should have maximum 250 characters..

Answer / swathi

1.does accept able to use
2.does text box shouldbealigned
3.Does accept alphabets only
4.Does accept alphanumeric character
5.does accept special character
6.does accept symbols
7.does accept blank field
8.does accept spaces
7.does accept content with spaces
8.does accept upper cases
9.does accept lower cases
10.does accept mix of upper and lower cases
11.does accept characters more than the textbox
12.does accept backspace,delete keys to clear the data
13.does accept decimal character
14.does accept binary ,hexadecimal character
15.does accept morethan max length
16.does accept lessthan max length
17.how much length should be accept
18.does allow copy and paste
17.does allow cut and paste
18.does allow drag and drop
19.does accept the unicode character
20.does cursor appear while typing the content
21.does accept greater than 250 cahracter
22.does accept lessthan 250 character
23.does accept 250 character only for letter?

Is This Answer Correct ?    3 Yes 3 No

how to write test cases for a text field that should have maximum 250 characters..

Answer / jay

Other than all the above scenarios, need to check with all the special char values.

Most of the special chars will not allow to enter and the proper warnining messages should be given.

Most of the crashes occurring while using the special char only.

Based on the requirement from customer, special chars should be handled in coding.


If it is mandatory field, It should not allow a single space or multiple spaces to save the form. Trim option to be used to avoid blank spaces.

Copy and pasting should be validated based on the customer requirement.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Test Cases Interview Questions

HOW TO WRITE TEST CASES FOR MEGHA MENU DROP DOWN BOX.

0 Answers  


can any body help me with providing a a case for usability testing...

0 Answers  


how do you write the test cases?

4 Answers   Satyam,


What is STATEMENT COVERAGE testing

1 Answers  


User registration form so many details will be there to enter like Username,Phone No,Email id ect.how do we write test cases for that? in one textbox i have to write all the test cases and go to next textbox

0 Answers  






What is the basis on which you can check a text box in a web page or application?

3 Answers   HCL, IBM, R Systems,


Where can i find example or samples of testcases to improve my testcases documentation?

2 Answers  


Can someone help to write testcase for the scenario as early as possible.: 1. Complaint logged since one week 2. complaint info sent to supervisor with high priorit mail 3. 10 users logged into website , performance could not be degraded ( response within 5 seconds) 4. site should be user protected. 5. it should be work with IE 6 IE 7 6. complaint log should be generated more than one week

0 Answers  


Explain the format of a requirement traceability

0 Answers  


How to write test cases ?

5 Answers  


How to write a test case for create folder in the email. create aliases for email adress in the email. thanks Its urgent

0 Answers  


Explain the ramp testing?

0 Answers  


Categories