Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Flight reservation using input and output parameter script.



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

Post New Answer

More QTP Interview Questions

How to recognise the webelement and verifying that webelement is enabled?

0 Answers  


How to take screenshots in qtp?

2 Answers   Sonata,


results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file

1 Answers  


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

0 Answers  


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

0 Answers  


How can we close all webbrowsers which are opened in out desktop?

3 Answers  


How to get data from excel sheet to the script? write the script.

6 Answers   Ever, Liquid Hub,


In key word driven framework,we will rename the logical names of objects,why?

3 Answers   Liquid Hub,


For which type of project the iterative model is suitable?

0 Answers  


How to count the no of objects in XML file(QTP)

1 Answers   IBM,


can somebody send the script to write a multiplication table in notepad through qtp

3 Answers   AppLabs,


How to create a Runtime property for an object in QTP?

6 Answers  


Categories