Fetching Object Properties

What is the syntax for fetching object properties at run time?

Questions by pvsagar   answers by pvsagar

Showing Answers 1 - 2 of 2 Answers

Property of test object can be fetched at runtime using GetROProperty method.
A common use of this is fetching number of items in a Weblist at runtime.

Dim iCount
iCount = Browser("title").Page("name").Weblist("list1").GetROProperty("items count")

Enclose the property name in the parenthesis for which value needs to be fetched.

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