Installing HCL OneTest API in the silent mode on Windows

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

Before you begin

You must have completed the following tasks:

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 software package in the command can be as follows:

    C:\Downloads\HCL_OT_API_1053_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 software package can be as follows:

    unzip HCL_OT_API_1053_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 C:\Downloads\HCL_OT_API_1053_Install_IA_WIN
    • Find the name of the extracted product file is HCL-OneTest-API-Win-x64-v10.5.0.exe
    • Saved the generated properties file in the folder C:\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:

    C:\Downloads\HCL_OT_API_1053_Install_IA_WIN\HCL-OneTest-API-Win-x64-v10.5.0.exe -i silent -l fr -f C:\MyDocuments\api_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.