How do you capture the object values in QTP

Showing Answers 1 - 3 of 3 Answers

akothuru

  • Sep 9th, 2008
 

Statically, user can capture object property values using Object Repository or Object Spy.

At Runtime, Using GetROProperty method, you can capture object property values.
E.g.
var_Name = Browser(object).Page(object).WebEdit(object).GetROProperty('name')
This statement returns object name property value into var_Name variable at runtime

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions