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

hi nani my doubt is how does qtp process metrix related to software process.

1562


What are the differences between qtp and winrunner?

541


what is meant by source control?

1700


Explain how you can delete excel file in qtp?

600


Explain data driven framework?

586






Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2210


How does QTP identify an object?

620


diff between qtp versions from 8.5

1573


How to analyzing the checpoint results?

530


How to find the length of the string in qtp?

585


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

581


how to test load test and block box testing an a web based application pls give ans briefly

1364


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1284


For which type of projects the iterative model is not suitable?

1440


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

579