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
Give me some real time point of way where exactly we can conduct audits?
In qtp, how you can get the last character from a string?
How do client side image and server side image work?
How many types of recording modes in qtp? Which will be used when?
Explain measuring transaction.
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
What is optional step in qtp? How you can add optional step in qtp?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
What test cases can you automate using QTP?
How do we handle run-time errors?
How is test case write?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
How do you perform Regreession Testing?
Explain advantages and disadvantages kdf?
Differentiate the type of test cases which can be automated and which cannot be automated?