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"

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1471


What is the difference between per-action and shared?

593


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1430


How to use Environment parameterization? Explain with an example.

1484


Explain the features of quick test pro(qtp)?

581






How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

535


What do you mean by iteration?

632


What is fragmentation and paging?

1594


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

1646


How many add-ins comes by default with qtp?

547


How is test case write?

576


Explain how Does Run time data (Parameterization) is handled in QTP?

559


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

2912


Is virtual object supported in low level recording mode?

626


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

2388