Flight reservation using input and output parameter script.

Answer Posted / bindu

Dialog("Login").WinEdit("Agent Name:").Set
DataTable("username", dtLocalSheet)
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure
DataTable("password", dtLocalSheet)
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").ActiveX("MaskEdBox").Type "091012"
Window("Flight Reservation").WinComboBox("Fly From:").Select
"Frankfurt"
Window("Flight Reservation").WinComboBox("Fly To:").Select
"Los Angeles"
Window("Flight Reservation").WinButton("FLIGHT").Click
r=Window("Flight Reservation").Dialog("Flights
Table").WinList("From").getroproperty("selection")
msgbox r
DataTable("Result", dtLocalSheet)=r
Window("Flight Reservation").Dialog("Flights
Table").WinList("From").Select "20334 FRA 12:12 AM LAX
07:23 PM AA $112.20"
Window("Flight Reservation").Dialog("Flights
Table").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Set "bindu"
Window("Flight Reservation").WinButton("Insert Order").Click

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1279


What is qtpro?

589


In qtp, explain what is qrs file?

581


Give the syntax to load function at run time.

619


what is keyword driven testing in qtp?n how is it useful?

1486






i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1458


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1478


Differences between quicktest professional (qtp) and winrunner?

617


Can we create a qtp test from qc?

584


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1625


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

913


I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.

3562


What is a checkpoint? How many check points are there in qtp?

522


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1463


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1679