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 is quicktest professional (qtp)?

562


What is Test Fusion Report in QTP?

614


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?

6318


How many types of parameters are available in quicktest professional (qtp)?

579


Tell me about your project? please help me how to tell about insurance project

1526






In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

557


Is it possible to change the property value at runtime? How it is possible?

572


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

694


What is difference in global and action sheet in qtp?

605


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

1595


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1377


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1424


How many types of object repository in qtp?

600


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1485


What is keyword view in qtp?

546