Can anyone tell me what is the equivalant method to be used
in QTP for "web_obj_get_text" used in winrunner. My
winrunner code is below.

set_window("Confirm Add Subscriber");
rc = web_obj_get_text("Add
subscriber:","#8","#1",orderID,"The order number
is","\.",1);


basically I need to retrieved the "orderID " from a string
present in 8th row & 1st col of table "Add subscriber"



Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text"..

Answer / bkiranratna

textVar=browser("").page("").webtable("").getcelldata(8,1)



(table object will come only in web applications.)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

How to add a runtime parameter to a datasheet?

1 Answers   Crea,


Does QTP record on Objects created on XWindows Environment?

0 Answers   Infotech,


what is automation(qtp)bug pls giv me one ex?

1 Answers  


Actually How do we use this Smart Identification Technology during Recording mode.

1 Answers  


where is the bitmap checkpoint be saved

1 Answers  






i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute

2 Answers   IBM,


What is meant by Step Generator in Qtp How is it used? pls gimme in detail

7 Answers   AppLabs,


w is datatable

5 Answers   CTS, IBM,


Create an Excel file and pass the values from Flat File? (for ex:data1.txt,data2.txt )

2 Answers   FIS,


There is a name "AJAY" how do u count no.of. "A" in that name ?

4 Answers  


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

0 Answers   Patni,


what is the frame work in J-meter?

0 Answers  


Categories