Custom Fields (UFT API Testing Only)

You can use the Report function to show custom information in the Run Results Viewer. You can specify strings or existing arguments and display them in the viewer.

You add the Report function to the step's events. For details, see the section on Custom Code and Events in the Unified Functional Testing User Guide.

The following example prints the APR-12-2020_CYCLE_1 TestID value in the run results.

args.Activity.Report("TestID","APR-12-2020_CYCLE_1");

The report displays the keyword and its value at the Activity level of the results. For details, see Captured Data Pane (Run Results Viewer) .