TestObjectInvokeMethod Method
the Method to invoke
The arguments passed to the method. Zero or more arguments, passed as a comma-delimited list of values. Pass parameters only of data types that can be stored in a Variant.
Invokes a method that is exposed by the test object's IDispatch interface.
Remarks
All Custom Servers are mapped to a built-in test object. If the Custom Server is not mapped explicitly in the configuration file, it is mapped to swfObject.

The Custom Server can use TestObjectInvokeMethod to call methods of the test object to which it is mapped. To be invoked by TestObjectInvokeMethod, the method must be exposed through the test object's IDispatch interface.

Syntax
'Declaration
 
Protected Function TestObjectInvokeMethod( _
   ByVal sMethod As System.String, _
   ByVal ParamArray list() As System.Object _
) As System.Object
protected System.object TestObjectInvokeMethod( 
   System.string sMethod,
   params System.object[] list
)

Parameters

sMethod
the Method to invoke
list
The arguments passed to the method. Zero or more arguments, passed as a comma-delimited list of values. Pass parameters only of data types that can be stored in a Variant.

Return Value

The object returned by the invoked method.