ResultComment Method

Class

Workbench.

Action

Adds a comment as a step to the Details tab of the Result window. Result comments allow you to add information about a test to the results of the test. After playback of the test, the comment appears as a step in the Details tab of the Result window.

Syntax

Workbench.ResultComment(comment)
Variable Description
comment The comment to add to the results. STRING.

Examples

If you want to point out in the results that the test did not perform a verification of the format of some inserted value, you could add a line like the following to your script:
Workbench.ResultComment("Note: This test did not verify that the format of the inserted value was correct.")