Micro Focus UFT Mobile
8.7K
Latest documentation can be found here: https://admhelp.microfocus.com/uftmobile/en/2022/Content/Docker_install.htm
You can obtain the latest UFT Mobile Docker image from the Docker hub. Type the following in your Linux environment:
docker pull mobilelifecycle/uft-mobile:2022.0
The image contains the Dockerfile of the UFT Mobile server that connects to a remote Postgres database (the database installation is not included in the package). Note that when installing UFT Mobile with a Docker image:
The PostgreSQL database used by UFT Mobile is not included in the UFT Mobile server image. Make sure that you have the PostgreSQL database up and running on a machine that can be accessed by the server. We recommend PostgreSQL version 11.7. If you don't have PostgreSQL, you can obtain it from the Docker hub by typing docker pull postgres:11.7.
Enter the following command when using the default PostgreSQL port (5432):
docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=[postgres_password] -d postgres:[PostgreSQL version number]
If you need to use a custom port, run the following:
docker run --name postgres -p [custom_port]:5432 -e POSTGRES_PASSWORD=[postgres_password] -d postgres:[PostgreSQL version number]
Make sure to use this custom port for POSTGRES_PORT= in the command for running the UFT Mobile server in section Start a container and launch the UFT Mobile server.
Note: PostgreSQL adds a default user postgres.
After you have the PostgreSQL database up and running, you can start the UFT Mobile server container.
docker run -d --name uftm -p 8080:8080 -e POSTGRES_HOST=[postgres_ip] -e POSTGRES_PORT=5432 -e POSTGRES_USER=[postgres_user] -e POSTGRES_PASSWORD=[postgres_password] -e FQDN=[host_ip] mobilelifecycle/uft-mobile
If you need to use a custom port, specify the custom port as follows:
docker run -d --name uftm -p [custom_port]:8080 -e POSTGRES_HOST=[postgres_ip] -e POSTGRES_PORT=5432 -e POSTGRES_USER=[postgres_user] -e POSTGRES_PASSWORD=[postgres_password] -e FQDN=[host_ip] mobilelifecycle/uft-mobile
Note: If you specify non-default ports, you also need to modify the ports on the connector and tools.
Note: Starting UFT Mobile 3.20, the applications are no more stored inside Postgres DB, but on physical disk, which means you need to use a volume to maintain the persistence of the applications after the container is ended:
docker volume create uftm_data
docker run -d --name uftm [options] -v uftm_data:/opt/uftm/mcStorage mobilelifecycle/uft-mobile
To use UFT Mobile for testing your mobile app:
The following list includes useful Docker commands:
docker ps : Lists the containers that are runningdocker stop uftm : Stops the UFT Mobile servicedocker start uftm : Starts the UFT Mobile servicedocker images : Lists the imagesdocker inspect uftm | grep '"Source": "/var/lib/docker/volumes" : Check the logs of the running UFT Mobile container."Source": "/var/lib/docker/volumes/07ec0041ecf5f86934d2957648a24248fefeffdbb0da3a5b353d1d1fe480b656/_data"
Content type
Image
Digest
sha256:6ec315f4d…
Size
1.6 GB
Last updated
about 4 years ago
docker pull mobilelifecycle/uft-mobile:2022.0