UFT Extensibility Agent library 1.3
Run Method
The test object method.
An array containing the test object method arguments.
Description
Runs a test object method.
Syntax
Visual Basic
Public Function Run( _
   ByVal objId As Variant, _
   ByVal method As String, _
   ByVal arguments() As Variant _
) As Variant
Parameters
objId
method
The test object method.
arguments
An array containing the test object method arguments.
Return Type
Depending on the test object method, Run can return an empty variant (VT_EMPTY), a value, or an IDispatch reference.
Remarks
  • Implement ITestable3:RunEx instead of this method, to support adding test-object-related information to the run results.
  • In a test run, UFT generally calls FindObjectId before this method to determine the value of the objID argument.
    If you implement ITestable2 or ITestable3, UFT calls FindObjectId2 instead.
See Also