Insert Report Dialog Box

Relevant for: GUI tests and scripted GUI components

This dialog box enables you to define a message that UFT sends to your run results.

To access

In the Keyword View:

  • Select a step and select Edit > Report Step.

  • Right-click a step and select Insert Step > Report.

Important Information

When you add a report step, a Reporter.ReportEvent step is inserted.

See also

Message statements

User interface elements are described below:

UI Elements Description
Status

The status that will result from this step from the Status list:

  • Passed. Causes this step to pass. Sends the specified message to the report.

  • Failed. Causes this step (and therefore the test itself) to fail. Sends the specified message to the report.

  • Done. Sends a message to the report without affecting the pass/fail status of the step.

  • Warning. Sends a warning status for the step, but does not cause the test to stop running, and does not affect its pass/fail status.

Name

The name for the step, for example, Password edit box. This name is displayed in the run results as the node label for this step.

Details

The description of this step. For example, Password edit box does not exist. The description is displayed in the step details in the run results.

Image

The name of an image to include in the run results with this step. The image is displayed as part of the step details in the run results. The image can be any of the supported file types, such as BMP, JPEG, GIF, TIF, or PNG.

Note:  

  • You cannot specify an image stored in ALM.
  • Including large images in the run results may impact performance.
  • If an image is specified as a relative path, UFT will first search the Results folder for the image and then the search paths specified in the Folders pane of the Options dialog box (Tools > Options > GUI Testing tab > Folders node).