Adding Comments to Test Plan Results

You can add comments to your test plans which will display in the results when you run your tests. You can annotate your tests with such comments to ease the interpretation of the test results.

To add a comment to a test plan, include the following statement in the test plan:

comment: Your comment text

For example, running the following piece of a test plan:

Find dialog
  Get the default button
    comment: This test should return Find.FindNext
    script: find.t
    testcase: GetButton

produces the following in the results file:

Find dialog
  Get the default button
    Find.FindNext
    comment: This test should return Find.FindNext
Note: You can also preface lines in all 4Test files with // to indicate a single-line comment. Such comments do not display in test plan results.