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
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
What is qtpro?
In qtp, explain what is qrs file?
Give the syntax to load function at run time.
what is keyword driven testing in qtp?n how is it useful?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
Differences between quicktest professional (qtp) and winrunner?
Can we create a qtp test from qc?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
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.
What is a checkpoint? How many check points are there in qtp?
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?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?