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 |
can somebody send the script to write a multiplication table in notepad through qtp
i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no?
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
Can any one please list me out the shortcut keys for some functionalities in the QTP .. for example ..to record...to run...etc
For what purpose to we use object repository in a application?also explain usage of obj.repository?
What is API
what is throw object ?
With out using the task manager,how to close the application using vbscript and what is the statement?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
0 Answers Sapient, Satyam, TCS,
whare exactly we have to use functions and sub routain
How do u write a regular expression for date (dd/mm/yyyy) field?
Which environments are supported by hp qtp?