give me descriptive programing code sample flight
application in qtp?
Answer Posted / chandu.myne
Systemutilrun " Path of the Application "
Dialog("text:=Login").WinEdit("name:=Agent name").set "Chandu"
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").Winbutton("name:=CANCEL").click
Regards,
Chandu
Correct me if i was wrong
| Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
What are the different types of qtp test assets and their extensions?
How many types of status are there?
Hybrid framework supports Descriptive programming. Is it true?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
Define Error Pane of UFT?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
Hi All, How to get repeated word in string . Thanks Balaji
What is qtpro? What is a quick test professional?
Explain the concept of object repository and how quicktest professional recognises objects?
How to data driven test for Win objects in QTP ?
How to save your test using quicktest professional?
desribe a situation where u faced a stressful situation and how did u cope with it
How to use the object spy in quicktest professional 8.0 version?