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

You have a WebTable in Web application. When you Record a Scenario using QTP, WebTable didn't recognized and also Repository is not having Webtable information. In this case How to find RowCount and Coloumn Count?

2 Answers   PanTerra,


what is the code in QTP to take screen shot?

4 Answers   TCS,


Explain the difference between data driven testing and parameterization ?

0 Answers  


Explain me in deatail about DATADRIVEN framework including scripts ?(realtimes plz)(Chandana)

4 Answers   Wipro,


What is the another extension name of library file. If that is exist than what's the difference between them.

2 Answers   Synechron,






How do you test the different ads displayed in the Inbox home page of Yahoo. Once u login Yahoo mail, in inbox page there will a banner, where different ads are scrolling, how do you test that using qtp?

2 Answers  


hello all i need some good sites or blogs which give info abt vb script with examples n real time scenarios.just like tutorials as i m new to qtp n vbscripting. its urgenttt

2 Answers  


difference between do while and do until ?

3 Answers   HCL,


How to import the Test Results in QTP to an Excel sheet

4 Answers   Sonata,


i need the licence key for QTP V9.5 can anyone help me on getting this?

140 Answers  


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

0 Answers   Value Labs,


In google i'm going to search something like "rose", i usually get 10 results in the first page and in 2nd page 10 results and in 3rd 10 results so on upto 10th page 10 results. so if i want to open all the 10 pages 10 results i.e., 100 results and close..what is the DP for this? pls can anyone answer my Question..PLZZZZZ...

4 Answers   Indium Software,


Categories