UFT Extensibility Agent library 1.3
RunEx Method
The test object method.
An array containing the test object method arguments.
The value to use in the context parameter of the Report method, if you want the information that you add to the run results to be associated with the test object that ran this method.
Description
Runs a test object method. (Implement instead of ITestable::Run to receive the reportContext that you need to use when calling IReporter::Report to test-object-related information to the run results.)
Syntax
Visual Basic
Public Function RunEx( _
   ByVal objId As Variant, _
   ByVal method As String, _
   ByVal arguments() As Variant, _
   ByVal reportContext As Variant _
) As Variant
Parameters
objId
method
The test object method.
arguments
An array containing the test object method arguments.
reportContext
The value to use in the context parameter of the Report method, if you want the information that you add to the run results to be associated with the test object that ran this method.
Return Type
Depending on the test object method, Run can return an empty variant (VT_EMPTY), a value, or an IDispatch reference.
Remarks

In a test run, UFT generally calls FindObjectId2 before this method to determine the value of the objID argument.

See Also