Installing HCL OneTest API in the silent mode on Linux

You can find information about installing HCL OneTest API in the silent mode on Linux by using the stand-alone installer.

Before you begin

You must have completed the following tasks:
  • Read and ascertained that your computer meets the requirements specified in System Requirements and Prerequisites for using the stand-alone installer for using the stand-alone installer.
  • Uninstalled any previous version of this product. See Uninstalling the product software on Linux.
  • Installed konsole on your computer. Installing konsole enables the creation of a shortcut icon of the product.
    Note: You can install konsole by entering the following command in the terminal: apt-get install konsole.
  • Downloaded the product software package that is dependent on the stand-alone installer for the supported operating system on your computer from the HCL FlexNet Operations (FNO) portal.
  • Deleted the properties file that was generated from a previous installation.
  • Generated a properties file with details of installation of the product software that you want to install in the silent mode. See Generating the properties file on Linux.

Procedure

  1. Open a terminal and log in as a root user.
  2. Enter the following command in the terminal after you replace the variables with values on your computer:

    cd <Path_extracted_product>

    Where <Path_extracted_product> is the path to the folder where you extracted the downloaded package.

    For example, the path to the folder where you extracted the HCL OneTest API software package in the command can be as follows:

    cd ./root/Downloads/HCL_OT_API_1054_Install_IA_LNX

  3. Extract the downloaded file by entering the following command:

    unzip <product_software_package.zip>

    For example, the command to extract the HCL OneTest API software package can be as follows:

    unzip HCL_OT_API_1054_Install_IA_LNX.zip

    Optionally, you can select the language in which you want to install the product. You must provide the <language_code> for the language that is listed in the following table:
    Language Language code
    English en
    French fr
    Japanese ja
  4. Enter the following command to start the installation in the silent mode:

    ./"<Extracted_Product_name.bin>" -i silent -l <language_code> -f <path>/<File_name_installer.properties>

    Where:
    • <Extracted_Product_name.exe> is the name of the product in the folder.
    • <language_code> is the language code of the language that you want to use.
    • <path> is the path to the folder that contains the generated properties file.
    • <File_name_installer.properties> is the name of the installer.properties file.
    For example, if you have the following conditions:
    • Find the name of the extracted product file is HCL-OneTest-API-Linux-x64-v10.5.0.bin in the folder where you extracted the downloaded product software package.
    • Saved the generated properties file in the folder /opt/MyDocuments
    • Saved the generated properties file with the name as api_installer.properties
    • Want to use French as your preferred language for the installed product.
    Then the command to install HCL OneTest API in the silent mode is as follows:

    ./"HCL-OneTest-API-Linux-x64-v10.5.0.bin" -i silent -l fr -f /opt/MyDocuments/apiagent_installer.properties

Results

You have installed HCL OneTest API in your preferred language in the silent mode on your computer.

What to do next

You can check the installation log to verify the installation. You can find the logs in the <Installation_folder>/logs folder.