Setting environment variables for UI Test Agent

You must set the environment variable to start the execution agent automatically when you start Rational® Functional Tester on macOS.

Procedure

  1. Perform the following tasks if you want to start the execution agent automatically when you click the Rational® Functional Tester icon:
    • On Linux, save the following command in the /etc/environment file:

      export TEST_WORKBENCH_HOME=<hotui installation directory>

    • 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 Rational® Functional Tester 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 Rational® Functional Tester.

Results

You have set the environment variables to start the UI Test Agent automatically in Rational® Functional Tester.