Version

SetToolProperty Method (ToolbarManagerReplayServer)

This method will return the value of any property (or sub property) for the supplied tool
Syntax
'Declaration
 
Public Sub SetToolProperty( _
   ByVal oEnumRegion As System.Object, _
   ByVal oRegionId As System.Object, _
   ByVal oPathToTool As System.Object, _
   ByVal fullPropertyName As System.String, _
   ByVal oNewValue As System.Object _
) 
public void SetToolProperty( 
   System.object oEnumRegion,
   System.object oRegionId,
   System.object oPathToTool,
   System.string fullPropertyName,
   System.object oNewValue
)

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.
oNewValue
Requirements

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

See Also