Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to retrieve the Property values of an object
#1
Not Solved
I am creating objects using this function.

Code:
For iLoop = 0 to (UBound(arrPV)-1)
                                Prop= Split(arrPV(iLoop),":=")(0)
                                Val= Split(arrPV(iLoop),":=")(1)
                                o(Prop).Value = Val
     Next


How can retrieve the different Properties that the object has?

For example, how can I retrieve the "title" of a "BROWSER"?

Thanks!
Reply
#2
Not Solved
Use GetROProperty Method. Refer to QTP help for more info.

Syantax:

Code:
strPropertyValue=Browser("xx").Page("xx").GetROProperty("<PropertyName>")
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Object doesn't support this property or method takecharge 1 1,555 11-13-2019, 10:05 PM
Last Post: stormbringer
Sad How To Find Dropdown Object based on Values from the dropdown list mesg2anil 12 34,059 12-19-2017, 10:25 PM
Last Post: sandy2404
  Object doesn't support this property or method: 'window(...).window(...).winobject' senthil5683 1 3,674 07-04-2016, 07:08 PM
Last Post: venkatesh9032
  How to find out the object property in the Description language . njnirmal 9 6,659 05-19-2015, 12:30 AM
Last Post: qtptester66523
  QTP Automation: How to retrieve Reporter.Reportevent Message scsenthil 1 5,406 11-14-2013, 07:51 PM
Last Post: spannerj

Forum Jump:


Users browsing this thread: 2 Guest(s)