Comments, control-flow, and other VBScript statements

Relevant for: GUI tests and components

UFT One enables you to incorporate decision-making into your test or component by adding conditional statements that control its logical flow. You can add the conditional statements directly in your action or component, or in the function libraries that they use.

In addition, you can define messages in your action or component that UFT One sends to your run results.

To improve the readability of your actions and function libraries, you can also add comments to them.

Note: The VBScript Reference contains Microsoft VBScript documentation, including VBScript, Script Runtime, and Windows Script Host. For more details, see VBScript Reference.

See also: