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

Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).

10 Answers  


If u prepare bug report in Excel sheet . Is it possible to send thrw Test director? how it is?

3 Answers   Wipro,


Differentiate the type of test cases which can be automated and which cannot be automated?

1 Answers  


how to find that tools work well with ur existing system?

1 Answers  


how to lunch the application in the qtp tool ?

3 Answers  


Hi, I Would Like to Know which is the Best QTP Certification Training Institute in Hyd? Thanks in Advance kishan

1 Answers  


How can I generate customized logs in QTP ?

2 Answers   Ordain Solutions,


Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?

0 Answers  


how to run the script If QTP tool not identify object in web page

2 Answers  


How to get align property of the link on web page?

1 Answers  


what is the extension for QTP files?

11 Answers   AppLabs,


I register user defined function in one test, I tried to call that function into other test. But that function not works in other test please give the direction for that.

1 Answers  


Categories