Command-line interfaces

HCL OneTest API command-line client is available in HCL OneTest API 8.0.1 or later.

Run the HCL OneTest API commands from the Windows Command Prompt or the Linux Terminal. You can use the commands to run HCL OneTest API project resources locally or manage test results. You can start stubs, stop stubs, modify managed stubs, run scenarios, create an environment, lock an environment, or unlock an environment by using the IntegrationTesterCmd commands. Most HCL OneTest API commands require HCL OneTest API version 8.0.1 or later and HCL® Quality Server version 8.0.1 or later, unless noted otherwise on the page for the individual command.

RunTests Command syntax

The general syntax for all commands is as follows:
RunTests Options

For more information and examples about the RunTests command, see Running tests by using the command line.

HCL OneTest API Command syntax

The general syntax for all commands is as follows:
IntegrationTesterCmd Options command Arguments

For more information and examples about the IntegrationTesterCmd command, see Working in non-GUI mode.

Exit codes

The commands and the Ant tasks share the same exit codes. For information about these codes, see Exit codes for Command-line client and Ant client.