Starting the execution agent automatically

You must set the environment variable to start the execution agent automatically when you start HCL OneTest UI on macOS.

Procedure

  1. Perform the following tasks if you want to start the execution agent automatically when you click the HCL OneTest UI icon:
    • On macOS, run the following command:

      launchctl setenv TEST_WORKBENCH_HOME <hotui installation directory>

      For example, launchctl setenv TEST_WORKBENCH_HOME /Applications/HCL/SDP

      Note: On macOS, when you start HCL OneTest UI from the terminal, you must save the following commands in the ~/.zshenv file to start execution agent also:

      export TEST_WORKBENCH_HOME=<hotui installation directory>

      For example, export TEST_WORKBENCH_HOME=/Applications/HCL/SDP

  2. Start HCL OneTest UI.

Results

You have started the execution agent automatically along with HCL OneTest UI.

What to do next

Installing HCL OneTest UI in silent mode