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

What's Checkpoints for QTP?

1 Answers  


if you run one test script in internetexplorer the same test you run in mozilla ffirefox is it possible or not how is it.

1 Answers   Satyam,


What are the key points to create a framework in QTP for oracle forms?

0 Answers  


How you know that a test case is a regression test case

1 Answers  


What is the use of breakpoint in qtp?

4 Answers   Zensar,






What is an object repository?

0 Answers  


What is meant by virtual obj and Y do v need virtual obj configuration.

4 Answers  


I have to automate excel features using qtp in this i need to open instance of excel in different ways like double click on file, drag & drop options, File > open option but i know the 2 ways to open the excel instance 1 is by creating the object and another is to open the excel file in already opened instance of excel through sendkeys through qtp. But i m not geting how to open excel file through double click and drag and drop option through qtp script plz help me out anyone can thanks in advance

0 Answers  


What is the exact difference between QTP and RFT ?

2 Answers   CTS,


A question was asked in a company-suppose, I am testing a website on QTP, all the time a new title bar is appeared on next page. Trying to use regular expression under key word driven testing but expert view is also appearing unchanged and error is also generating, do you have any best resolution for that kindly explain in detail. please dont give example of yahoomail, that is unable to clear my doubt.

2 Answers  


How we can add actions in the test using QTP?

5 Answers  


How to call script1 into script2?

3 Answers  


Categories