Starting the execution agent automatically

After you install Rational® Functional Tester, you can choose to start the execution agent, which was installed during the Rational® Functional Tester installation, automatically every time when you start Rational® Functional Tester.

About this task

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

Procedure

  1. Perform the following tasks if you want to start the execution agent automatically when you click the Rational® Functional Tester icon:
    • On Windows, perform the following steps:
      1. Go to System Properties > Advanced > Environment Variables....
      2. Click New in the Environment Variables dialog box.

        The New User Variable dialog box is displayed.

      3. Enter AUTO_ENABLE_UI_TESTING in the Variable name field, and then enter True in the Variable value field.
      Note: Alternatively, you can also set the environment variable by running the following command:

      set AUTO_ENABLE_UI_TESTING=true

    • On Linux, save the following command in the environment file:

      AUTO_ENABLE_UI_TESTING=true

    • On macOS, run the following command:

      launchctl setenv TEST_WORKBENCH_HOME <rft installation directory>

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

      launchctl setenv AUTO_ENABLE_UI_TESTING true

      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 AUTO_ENABLE_UI_TESTING="true"

      export TEST_WORKBENCH_HOME=<rft installation directory>

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

  2. Start Rational® Functional Tester.

Results

You have started the execution agent automatically along with Rational® Functional Tester.

What to do next

Installing and upgrading Rational Functional Tester in silent mode