in flight reservation ex once u login, u go into next
window where we hav an option of new, open and help etc..
how to fetch those options and to go to respectiv tab
accordingly using qtp.. plz let me knw answer for tis as
early as possible. Thanks in advance... asha

Answer Posted / ravi

hi comming to ur question i am not clear abt wht u want but
anyhow i am sending the solution as wht i have understood.

first login into the flight reservation table and then
start recording the process using standard checkpoint and
stop the process when u have finished of with the step.now
return to the proj base state and then run the proj.

i am sending u the steps of one task i.e open order.pls
check through tht and reply me whether u intend the same or
not.u can perform the same task using several methods for
eg descriptive prog also.

Window("Flight Reservation").Check CheckPoint("Flight
Reservation")
Window("Flight Reservation").WinMenu
("Menu").Select "File;Open Order..."
Window("Flight Reservation").Dialog("Open
Order").WinCheckBox("Order No.").Set "ON"
Window("Flight Reservation").Dialog("Open Order").WinEdit
("Edit").Set "5"
Window("Flight Reservation").Dialog("Open Order").WinEdit
("Edit").Type micReturn

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the five challenges you faced in QTP?

2754


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1403


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1445


Explain how qtp identifies objects?

568


I want to do QTP Certification what is the pattern of Question paper.

1745






Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1428


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1418


How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one

1602


Explain the types of object repositorys in qtp?

577


What are the properties you would use for identifying a browser and page when using descriptive programming?

633


requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how

1479


How qtp identifies objects?

570


Explain how to use QTP to check broken links on a page?

587


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

1449


What are the methods used in UFT to handle exceptions or run-time errors?

649