UFT Extensibility library 1.2
Report Method

The test object to which the information is relevant.

Possible values:

  • NULL. If the information added to the run results is not related to a specific test object.
  • The reportContext provided by the RunEx method that ran the relevant test object method during the run session.

The status flag.

A predefined constant (without quotes) or value.

One of:

micPass0
micFail1
micDone2
micWarning3

The name of the step to display in the Run Results Viewer. If an empty string is passed, the test object name passed for the context parameter is used, if available.

An HTML string containing information to add to the run results.
A text string containing the information to add to the run results.
Description
Callback method to enable the Testing Agent to add information about the results of a step to the run results.
Syntax
Visual Basic
Public Sub Report( _
   ByVal context As Variant, _
   ByVal status As ULong, _
   ByVal method As String, _
   ByVal htmlDetails As String, _
   ByVal plainTextDetails As String _
) 
Parameters
context

The test object to which the information is relevant.

Possible values:

  • NULL. If the information added to the run results is not related to a specific test object.
  • The reportContext provided by the RunEx method that ran the relevant test object method during the run session.
status

The status flag.

A predefined constant (without quotes) or value.

One of:

micPass0
micFail1
micDone2
micWarning3
method

The name of the step to display in the Run Results Viewer. If an empty string is passed, the test object name passed for the context parameter is used, if available.

htmlDetails
An HTML string containing information to add to the run results.
plainTextDetails
A text string containing the information to add to the run results.
See Also