give me descriptive programing code sample flight
application in qtp?
Answer Posted / srikanth
Dialog("text:=Login").WinEdit("name:=Agent
name").set "srikanth"
Dialog("text:=Login").WinEdit
("name:=Password").set "mercury"
Dialog("text:=Login").WinButton("name:=OK").click
If Window("text:=Flight Reservation") Exists
Then
Window("text:=Flight Reservation").close
Else
Dialog("text:=Login").Dialog("text:=Flight
Reservation").Winbutton("name:=OK").click
Dialog("text:=Login").Winbutton("name:=CANCEL").click
| Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
By using QTP can we record any log files written by the application which is in execution?
after initiating one project for testing, when exacltly QTP tester role starts?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
What are the types of object repositories? Which one is you using?
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
How to create Reusable and Multiple Actions?
Explain about Test Fusion Report of QTP?
How do I get the QTP scripts result in xml format by using vb script function?
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
How many types of Automation frameworks are there in UFT? Describe them.
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
When you open QTP, how many sheets you can see?
What are benefits of qtp?
What are the features and benefits of quick test pro (qtp 8.0)?