give me descriptive programing code sample flight
application in qtp?
Answer Posted / vrvs
Browser("name:=Mercury \|FlightApplications").Page
("title:=FlightApplications").Exist
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 ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the XML file architecture ?
Explain about the test fusion report of quicktest professional (qtp)?
Explain in brief about the quicktest professional automation object model?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
How do you configure QTP AND Test director?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
What is the difference between local and shared object repository in qtp?
How software tester can use constants and variables in scripts?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
Can you list some technologies that support qtp?
How you can decide which type of object repository you have to use?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
Hi All, How to get repeated word in string . Thanks Balaji
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji