This method will return the value of any property (or sub property) for the supplied tool
'Declaration
Public Function GetToolProperty( _
ByVal As System.Object, _
ByVal As System.Object, _
ByVal As System.Object, _
ByVal As System.String _
) As System.Object
public System.object GetToolProperty(
System.object ,
System.object ,
System.object ,
System.string
)
Parameters
- oEnumRegion
- This represents the enumeration QTPToolRegion. For versatility of use it can be either the numeric value, the string interpretation, or the enumerated value.
- oRegionId
- This represents the path to the tool region on which the tool resides, either the toolbar key or index, Left\Right\Footer for Application menu, or blank as in QAT or MiniToolbar.
- oPathToTool
- A comma separated string representing the path from the Tool region to the tool to which to interact with, includes the key for each dropdown from the region to the tool as well as the tool key itself.
- fullPropertyName
- The property name to return. If the property required is nested, Use Dot to separate objects and property names. To get indexed property use “[ ]” passing the index or the key value.
Return Value
The specified property value.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2