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. Use the commands to run HCL OneTest™ API project resources locally (using RunTests), manage test results (using IntegrationTesterCmd), and use HCL® Quality Server to start and stop stubs, run scenarios, and lock and unlock environments (using IntegrationTesterCmd). 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 Run 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.