Version

GetRibbonItemFromArg Method

Retrieves the Ribbon item from its QTP variant for the Replay action.
Syntax
'Declaration
 
Protected Function GetRibbonItemFromArg( _
   ByVal oRibbonItemArg As System.Object, _
   ByVal bValidate As System.Boolean _
) As System.Object
protected System.object GetRibbonItemFromArg( 
   System.object oRibbonItemArg,
   System.bool bValidate
)
protected: System.Object* GetRibbonItemFromArg( 
   System.Object* oRibbonItemArg,
   System.bool bValidate
) 

Parameters

oRibbonItemArg
Incoming QTP variant parameter representing a single Ribbon item identifier
bValidate
If true throw exceptions if unable to parse into a single of Ribbon item

Return Value

Ribbon item parsed from the incoming QTP variant
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