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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the unit testing?

665


how to prepare a test case for online restaurant table reservation system. plz give an answer ASAP, email at suja_rvndrn@yahoo.co.in

5164


Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.

1670


Write test cases for 8+4?

754


Roads concatenation Problem Consider we have some GIS (Geo Information System) operating over some road network. Each road represented as array of two-dimensional geographical points. Road network is a set of roads. System has function called Concatenate(). This function takes raw road network and should return optimized road network. Optimization lies in concatenating roads with matching start or end points, i.e. if road AB end point matches road BC start point, then optimized network should contain concatenated road AC. Optimized network shouldn’t contain two roads which can be concatenated. Your task is to suggest set of test cases for Concatenate() function in order to make sure it works correctly. public interface IPoint { double Lat { get; } double Lon { get; } } public Road : List { } public RoadNetwork : List { } public RoadNetwork Concatenate(RoadNetwork roads);

1934






Explain the dynamic testing?

698


Explain how to develop a test plan and a test case.

687


Explain the scalability testing?

662


Write the test case for a login page?

724


Explain the concurrency testing?

667


can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?

3565


can anyone send me a copy of a business requirement and test cases attributed to such requirent. thank u

1668


Explain the sanity testing?

685


Positive and Negative test cases for the speedometer?(minimum 5 each)

2372


Why does the boundary value analysis provide good test cases?

691