In a listbox of cities, if I enter B, it should display all
the cities starting with B, then if i type BA, then all
cities starting with BA and so on. Pls anyone give me all
the positive and negative test cases for this. It is
urgent. Realtime questions pls.

Answer Posted / saff5005

here first i need some clarity

how long should be the length of name of cities should
be

without that it is hard to write any test cases

i am assuming 15

+ve test cases


test steps expected output
0.enter nothing all the cities starting
from a to z should be
displayed
1.enter any one letters the cities matching that
letter should display
2> enter any 2 letters the cities matching that
letter should display
3>enter any 7 letters the cities matching that
letter should display
4>enter 15 letters the cities matching that
letter should display
5> enter 16 letters it should nit allow to
enter 16 char


like this and somemore for negative tesitng

drf%-- when entered a invalid char should dispaly a msg


note if it is in specs that it should display when entered
invalid char then we have to check for error messege
if not in spec test case willbelike this

drf%frf ---- when entered invalid char then only the
cities whose names are matching with the first 3 letter in
our case drf should be displayed


123frtg---error messge or the original display should be
shown that is cities starting from a to z

so onand so forth for this i have used bva ept techiniques

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bidirectional traceability ??? and how it is implemented

1702


What is the test case?

654


please give information about ERP Projects and how V-model use in project

2384


What do you like about computers?

1802


What is a testing process / lifecycle?

705






How do you get programmers to build testability support into their code?

2244


What are the interview question on insurance domain in manual testing

19231


How does a coverage tool work?

696


Genarally what we have to tell. If anybody asks in the interview. what are challenges u faced in the Project and what are the Risks u faced in the Project, Anybody can suggest it ......Thanks in Advance....

1738


What kind of testing to be done in client server application and web application? Explain

755


hi... guys can any one pls help me out.... I m civil engg graduate i want to come into s/w field... i have decided to do manual testing course. i know its not sufficient.. which r the other coures shall i do with this.. suggest me good atomation tool and SAP courses... thanks in advance.. i wil be thankfull to u all

1714


What will be the testcase for a uniquely generated number in the application?? i mean to say is, how will i conform the application is generating a unique value.... please do answer...

1740


where can i learn domain knowledge? how cab i gain domain knowledge? what types of Questions can be asked in domain(BFSI)? PLZ REPLY ME

1470


What is quality center? How many built in tables does quality center have?

817


Write a set of test cases to test youtube?

7193