Test with Docker activities

Docker activities allow UFT to manage Docker, download images from the Docker registry, and run containers based on those images. Docker activities are available in the Toolbox pane under the Docker node.

UFT uses applications packed with Docker as follows, accessing both the image and the container:

UFT first sends a request to Docker to download (pull) the image from the Docker registry.

If you have a special configuration for how you want a Docker container to run, create a container and load a JSON file with the configuration.

Docker starts the container based on the downloaded image.

While the application is running, UFT performs additional test steps on the application.

When the test run is complete, UFT sends a request to Docker with a request to stop the container.

For general information about Docker, see the Docker documentation.

In this topic:

Configure ports

Before you test, configure ports in the Run Image or Create Container activities to map the container port to the Docker host port.

This enables applications to access the mapped port inside the container.

Update the properties as follows:

Run Image activity

Configure the port in the Port Bindings property in the Properties pane.

Tips to improve your search results...TOCUnified Functional Testing Help CenterUFT14.50-14.51AllView Local Help CenterView Online Help CenterbackGo back in browser historyforwardGo forward in browser historyRemove search highlightsnext topicGo to next topicprevious topicGo to previous topicPrint the current topicVersion(Undefined variable: _rscC_Basic_Variables.FloatingTocShow)