UFT's Docker image enables you to run UFT Mobile and UFT automation scripts
2.2K
UFT Docker lite image speeds up UFT Maintenance and test runs. The lite image is built on top of the microsoft/windowsservercore-insider, dramatically reducing the image size.
UFT's Docker image enables you to:
latest, 2022, 2021.1
Open the command windows and run the following command to pull the latest UFT Lite image.
Docker pull functionaltesting/uft-lite:latest
Replace the Container_Name and run the following command in the command window. The command will launch a container with UFT installed in (C:\Program Files (x86)\Micro Focus\Unified Functional Testing)
Docker run it --name="<Container_Name>" functionaltesting/uft-lite:latest "cmd.exe"
Running an API Test in UFT requires a concurrent license, To acquire a UFT concurrent license, contact the Micro Focus Support team. For more details, see the UFT Help Center.
Run the following command to install the UFT license and run API tests:
docker run -dit --name <container-name> -v <host-test-directory >:<container-test-directory> functionaltesting/uft-lite[:tag] cmd.exe /C " " <UFT installation folder>/bin/HP.UFT.LicenseInstall.exe" concurrent <license ID> <license version> <License_server_name/address>:<port> & "<UFT installation folder>/bin/HP.ST.Fwk.InternalExecuter.exe" -test <container-test-directory> -reportPath <report-directory-path>
Where
Container-name: The name of the Docker container to create for this run. Use a unique container name to create a new container.
Host-test-directory: The full path to the API test on the host computer. This directory is mounted to the
Container-test-directory* location on your Docker container. Example: C:\DockerProject\tests\apitest, where C:\DockerProject\tests is the local directory you created for your tests, and the API test is the name of the test you stored there. Note: The test-name part of this path is case sensitive.
License ID: The Id of your concurrent license.
License version: The version of your licensee.
License_server_name/address: The license server
Port: The port number of your license server
container-test-directory: The full path to the directory on your Docker container where the host-test-directory is mounted.
Report-directory-path: : (Optional) the path to the directory in which to store the test results. Provide a relative path, relative to the Container-test-directory. By default, the results are saved under the test folder, overwriting the results of any previous runs
Please refer Windows container version compatibility documents
Content type
Image
Digest
sha256:8434a13cf…
Size
3 GB
Last updated
almost 4 years ago
docker pull functionaltesting/uft_lite