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



in flight reservation ex once u login, u go into next window where we hav an option of new, open ..

Answer / 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

More QTP Interview Questions

How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.

5 Answers  


i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.)

5 Answers   Syntel,


What is the difference between Accessibility Checkpoint and Bitmap Checkpoint in QTP? Note: I have read it in QTP help but i dont want answer from that.......

1 Answers  


What is the QTP test frame work?

3 Answers   IBM,


suppose u have two send buttons(same width,height,font) on an application write a descriptive programming

1 Answers  






Why do we go for Qtp? What are the advantages of qtp? Diff between winrunner and Qtp?

3 Answers   Symphony,


How to Synchronize the Browser at Field level? For example if you put Browser.sync(), it will wait upto for that Browser sync only. But It should wait upto total Browser get uploaded with all fields. Note : We don't know Which fields will come in that Browser. Means without knowing field names.

1 Answers   HP,


write a script to close all open browser in qtp except one browser whose name is xyz

6 Answers   Cap Gemini,


How did u write macros?What is the main importance of VB macros in testing environment?

1 Answers  


I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next

0 Answers  


Hi guys can any plz help me how to send fax in sample Flight Appication

1 Answers  


what are the main differences between keyword driven frame work and data driven frame work?

1 Answers   UHG,


Categories