Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can anybody tell test cases for the following condition?

In a railway reservation form, 4 types of ticket ranges are
there like a) age up to 3, NO TICKET. b) age up to 7, HALF
TICKET. c) age up to 60, FULL TICKET. d) age from 61, SENIOR
CITIZEN QUOTA.
if you enter age into the text box the relevant message
should be displayed..... Eg. FULL TICKET.

Answer Posted / naga raju.ch

Use select case statement

example:

dim age
age=inputbox("Enter the age")
select case age

case "age up to 3"
msgbox "No Ticket"

case "age up to 7"
msgbox "Halt Ticket"

Just i gave example

case "age up to 60"
msgbox "Full Ticket"
case else
msgbox"SENIOR CITIZEN QUOTA"
end select

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

4155


Explain the integration testing?

1104


how to write testcase for the output of an program ****0 ***01 **012 *0123 01234

1726


They were asking sily questions and definitions rather than practical experience related questions. More focused on Definitions.

1932


IN MY APPLICATION SOME WINDOW IS THERE IT CONSISTS OF SOME 25 LABLES IN THOSE FOR THE ALREADY SELECTED ONE IT WILL SHOW THE BACKGROUND COLOR IS YELLOW WHILE CHECKING IT SHOULD CHECK THE ALL LABLES WHICH ONE IS HAVING YELLOW COLOUR backcolor=SwfWindow("ALTAIR").SwfWindow("Load Wafer").SwfLabel(" ").GetROProperty("backcolor") SUPPOSE LIKE DS IT WILL BE THERE THEN FOR THAT SwfLabel(" ") inside this how to specify is my doubt because i have to check all the 25 labels plz explain it how to specify that

2365


Hi Team, I have two scenarios ,only one step alone deference betweeen them and preconditions of Test scenarios are defferent . In the above sutuation , are we going divide test cases into two or can we club into them into a single. Regards seshu

2396


Do you write test plan and test case?

2353


What are all the companies are doing manual testing till now ?

1982


How should I maintain the test cases and Test Log for different versions/builds of the application.

2438


Explain the syntax testing?

1147


how to make test case for anolog voice logger?

2446


What is transaction testing?

1146


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.

2078


Can you list down a few characteristics of a test case?

1111


How would you do " Keeping two folders in sync testing"

2420