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
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
I want to do QTP Certification what is the pattern of Question paper.
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
How many types of trigger events are there in qtp?
What r the different filters in defect in quality center
Where to use function or action?
how u will evaluate the tool for test automation?
Explain runtime dynamic settings?
Explain how qtp identifies objects?
how to find that tools work well with ur existing system?
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
How to integrate the qualitycenter with qtp