Installing HCL OneTest API Agent in the silent mode on Windows

You can find information about installing HCL OneTest API Agent in the silent mode on Windows 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.
  • Uninstalled any previous version of this product. See Uninstalling the product software on Windows.
  • Downloaded the product software package that is dependent on the stand-alone installer for the supported operating system on your computer from the HCL® License & Delivery 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 Windows.

Procedure

  1. Open the command-line prompt and log in as an administrator.
  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 Agent software package in the command can be as follows:

    cd C:\Downloads\HCL_OT_APIA_1020_Install_IA_WIN

  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 Agent software package can be as follows:

    unzip HCL_OT_APIA_1020_Install_IA_WIN.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:

    <Path_extracted_product>\<Extracted_Product_name.exe> -i silent -l <language_code> -f <path>/<File_name_installer.properties>

    Where:
    • Path_extracted_product is the path to the folder where you have extracted the downloaded package.
    • language_code is the language code of the language that you want to use.
    • Extracted_Product_name.exe is the name of the product in the folder.
    • 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:
    • Extracted the downloaded product software package to the folder cd C:\Downloads\HCL_OT_APIA_1020_Install_IA_WIN
    • Find the name of the extracted product file is HCL-OneTest-API-Agent-Win-x64-v10.2.0.0.exe
    • Saved the generated properties file in the folder C:\MyDocuments
    • Saved the generated properties file with the name as apiagent_installer.properties
    • Want to use French as your preferred language for the installed product.
    Then the command to install HCL OneTest API Agent in the silent mode is as follows:

    C:\Downloads\HCL_OT_Agent\HCL-OneTest-API-Agent-Win-x64-v10.2.0.0.exe -r C:\HCL\OneTest-Agent\apia_installer.properties

Results

You have installed HCL OneTest API Agent 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.