How to get all runtime properties for an object
I have a window in my application which as a number of different panes ( objects ).
When I use description giving class name of this object and run
Set ochildren = Window("parentwindow").ChildObjects(odesc)
I get some 5-6 children.
Now I want to print all the available properties of this object.
ochildren(i).GetROProperty("text") will print the text of the object.
But how do I know the names of other properties associated with this object???
Is there some property collection or some other way so that I can print all the properties for an object??
Re: How to get all runtime properties for an object
Look below example and apply for u,
Set Obj = Browser("title:=Google").Page("title:=Google").Web Edit("name:=q","html tag:=input").Object
For i = 0 to Obj.Attributes.Length-1
Print Obj.Attributes(i).Name&"="&Obj.Attributes( i).Value