Use the remote AI Object-Detection service

Install the remote AI Object-Detection (AIOD) service on one powerful computer, providing faster and more effective AI capabilities to weaker UFT One computers.

UFT One version 2021-2022: The service is named AI Service.

Overview

Install the remote AIOD service on a central powerful computer, and connect your UFT One machines remotely to the service. This way, one strong computer provides the AI capabilities for all the UFT One machines.

AI capabilities in UFT One heavily rely on sophisticated computations and involve graphic processing. We strongly recommend that you use a GPU-powered computer for the remote AIOD service, to optimize the performance of the AI-based functionality. For specific system requirements, see the Support Matrix.

Back to top

Prerequisites

Service prerequisites

To be able to use the remote AIOD service, make sure you have the following installed on your remote computer:

  • A 64-bit operating system, Windows 10 or later.

  • Microsoft Visual C++ Redistributable

    UFT One version 2023 and 2022

    Microsoft Visual C++ 2013 Redistributable

    Microsoft Visual C++ 2019 Redistributable

    UFT One version 2021 and 2021 R1

    Microsoft Visual C++ 2019 Redistributable

  • The required Windows feature, depending on your Windows operating system:

    For the most up-to-date instructions on enabling Windows features, see the Microsoft documentation.

GPU prerequisites

To enable GPU processing in the remote AIOD service:

  • Make sure your remote computer has a NVIDIA graphics card.

  • Make sure you have the following installed on your remote computer. For installation details, see Install the GPU prerequisites.

    UFT One version 2023
    • NVIDIA CUDA Toolkit 11.6

    • NVIDIA cuDNN 8.5.0.96 for CUDA 11.6

    UFT One version 2022 and earlier
    • NVIDIA CUDA Toolkit 11.0 Update 1

    • NVIDIA cuDNN 8.0.2 for CUDA 11.0

Back to top

Install the GPU prerequisites

To enable GPU computing and processing when you are using the remote AIOD service in UFT One, you must install the required NVIDIA GPU packages, including the NVIDIA CUDA Toolkit and its corresponding cuDNN library.

To install the NVIDIA CUDA Toolkit for Windows

  1. Verify that you have a CUDA-capable GPU. See Verify you have a CUDA-capable GPU.

  2. Download the NVIDIA CUDA Toolkit from the download site.

  3. Install the CUDA software by executing the CUDA installer and following the on-screen prompts. Alternatively, you can use the silent installation. For details, see Install the CUDA software.

To install the NVIDIA cuDNN for CUDA

  1. Make sure you are registered for the NVIDIA Developer Program.

  2. Download the NVIDIA cuDNN for CUDA from the NVIDIA cuDNN home page.

  3. Follow the instructions described in Installing on Windows in NVIDIA cuDNN documentation.

Back to top

Install the AI Object-Detection service on a remote computer

Install the AI Object-Detection service on a remote computer that is accessible from your UFT One computers.

To install the AI Object-Detection service

  1. Download the AI Object-Detection service installation package from the Micro Focus Marketplace, and extract it.

    Note:  

    • The remote AIOD service was previously known as the UFT One Remote AI Service.

    • The remote AIOD service version must match the version of your local UFT One.

  2. Install the AI Object-Detection service using a wizard or silently using a command line.

    As part of the installation, you can provide a port number. This is the port used for communication between the remote AIOD service and your local UFT One computers. If you do not specify a port number, 443 is used.

    Install the AI Object-Detection service with a wizard

    Run the setup.exe file and follow the steps as instructed to complete your installation.

    Install the AI Object-Detection service silently
    1. Run the following command to install the prerequisites:

      setup.exe /InstallOnlyPrerequisite /s
    2. Run the following command to install the AI Object-Detection service:

      msiexec /i Remote_AI_Installer.msi /qb PORT=<AI service port number>

To change the port number after the installation

Supported in UFT One versions 2022 and later

To change the port number after the installation, do one of the following:

  • Log in to Windows as an administrator, Change the Micro Focus AI Object-Detection Service from the Control Panel, and enter a new port number on the wizard.

  • Open the nginx.conf.template file located in <AI Object-Detection service installation folder>\nginx\conf as an administrator, and modify the port number in line 34. This does not update the port number on the installation wizard.

    Then restart the Micro Focus AI Engine Service in the Control Panel > Administrator Tools > Services to make the setting take effect.

    In Windows 11, Administrator Tools is called Windows Tools.

Back to top

Connect your local UFT One to the remote AIOD service

To connect your local UFT One to the remote AIOD service, configure the connection information in the Tools > Options pane. For details, see Configure the remote AIOD service connection.

Once the connection is successful, UFT One will use the remote service for AI Features.

Back to top

Secure the communication between UFT One and the remote AIOD service

UFT One uses the remote AIOD service to test web applications. Therefore, it is important to secure the connection between UFT One and the remote AIOD service, preventing inappropriate access to your UFT One computer and Web pages.

By default, the remote AIOD service communicates with UFT One over SSL with a self-signed certificate. To enhance security, you can set up communication between UFT One and the remote AIOD service using a CA certificate.

Secure the communication using a CA certificate

  1. Prerequisite: You have a certificate signed by a recognized CA and the corresponding certificate key file.

  2. Save your certificate file and certificate key file to the <remote ai installation directory>\nginx\conf folder on your remote computer.

  3. Open the nginx.conf.template file in the same directory.

  4. Change the values of ssl_certificate and ssl_certificate_key in the nginx.conf.template file to the names of the new certificate files and save the template file.

    server {
    	listen				443 ssl;
    
    	ssl_certificate			cdls-selfsigned.pem;
    	ssl_certificate_key 	        cdls-selfsigned.key;
  5. Restart the Micro Focus AI Engine Service in the Control Panel > Administrator Tools > Services to make the settings take effect.

    In Windows 11, Administrator Tools is called Windows Tools.

Back to top