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 |
How to recognise the webelement and verifying that webelement is enabled?
How to take screenshots in qtp?
results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
How can we close all webbrowsers which are opened in out desktop?
How to get data from excel sheet to the script? write the script.
In key word driven framework,we will rename the logical names of objects,why?
For which type of project the iterative model is suitable?
How to count the no of objects in XML file(QTP)
can somebody send the script to write a multiplication table in notepad through qtp
How to create a Runtime property for an object in QTP?