Flight reservation using input and output parameter script.
Answer / 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 |
what is mean by output parameters? I need full description with example. tell me any one please
synchronization, wait,wait Property?
Explain the concept of object repository and how qtp recognises objects?
Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so..
Is it possible to use two instances of UFT on the same machine? If not why?
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?
Plz Explain AUTOMATION REFERENCE MODEL?
how to capture the run time values of web table.
what r the send key commands in QTP why they r used
What is quick test pro? What is a quick test professional?
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
What are the different kinds of test steps?