Comments, control-flow, and other VBScript statements

Relevant for: GUI tests and components

UFT 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 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 (available from Help > HPE Unified Functional Testing Help) contains Microsoft VBScript documentation, including VBScript, Script Runtime, and Windows Script Host.

See also: