Unable to generate tests in a Linux or Mac operating system

When you install HCL OneTest UI on a Linux or Mac operating system and create a test, occasionally, the test generation fails with NullPointerException.

Cause

The test generation fails if there is no write permission to the /var/tmp folder before you create any test.

Resolution

You must perform the following steps:
  1. Log in to the computer that runs a Linux or Mac operating system as a sudo user.
  2. Run the following command to apply the write permission to the /var/tmp folder:

    sudo chmod -R 777 /var/tmp

  3. Navigate to the /var/tmp folder, and then run the following command to check the permission that is set:

    ls -ltr