Version

PerformToolAction Method (ToolbarManagerReplayServer)

Performs a specified tool action on the supplied tool
Syntax
'Declaration
 
Public Sub PerformToolAction( _
   ByVal oEnumRegion As System.Object, _
   ByVal oEnumActionType As System.Object, _
   ByVal oRegionId As System.Object, _
   ByVal oPathToTool As System.Object, _
   Optional ByVal oValue As System.Object _
) 
public void PerformToolAction( 
   System.object oEnumRegion,
   System.object oEnumActionType,
   System.object oRegionId,
   System.object oPathToTool,
   System.object oValue
)

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.
oEnumActionType
This represents the enumeration QTPToolAction. 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.
oValue
The string text representation of the new value
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