uft jenkins

In our earlier post, we got to know the easy integration of UFT with GIT. This post focuses on the integration of UFT and Jenkins. I have also tried to list down all the benefits you are likely to get with UFT Jenkins Integration. Jenkins is the most popular tool which is being used for Continuous Integration. Let’s first understand some basics before we get into UFT Jenkins integration details.

Continuous Integration

Continuous Integration (CI) is a development practice that enables periodic code integration verification and detects any related issues as early as possible in Software Development Life Cycle. Agile teams typically configure CI to include automated compilation, unit test execution, and source control integration. Sometimes CI also includes automatically running automated acceptance tests such as those developed using FitNesse. In effect, CI means that the build is nearly always clean.

A CI server like Jenkins monitors the repository and checks out changes by developers when they occur. As soon a new change is detected the CI server builds the system and runs unit and integration tests. After deployment and testing, the CI server informs the team of the successful build. If the build or tests fail, the CI server alerts the team. The team fixes the issue at the earliest opportunity and Continue to continually integrate and test throughout the project.

Know more about Continuous Integration

What is Jenkins?

What is JenkinsYou must have got it by now, Jenkins is a Continuous Integration (CI) server or tool, which helps to automate different aspects of the Software Development Life Cycle. It is an open-source automation server written in Java. The project was forked from Hudson after a dispute with Oracle. Jenkins helps to automate the non-human part of the software development process, with continuous integration and facilitating technical aspects of continuous delivery. It is a server-based system that runs in servlet containers such as Apache Tomcat. It supports version control tools, including AccuRevCVSSubversionGitMercurialPerforceClearCase and RTC, and can execute Apache AntApache Maven and sbt based projects as well as arbitrary shell scripts and Windows batch commands. The creator of Jenkins is Kohsuke Kawaguchi.

Know more about Jenkins

UFT Jenkins Integration

To ensure the new builds did not introduce any new issues, automated functional and regression tests should be executed. Jenkins can trigger the executions once the tests are integrated. HPE provides HP Application Automation Tools Plugin to integrate with different CI servers. HP Application Automation Tools plugin integrates HPE products with Jenkins. Using the plugin, you can create and use virtual services, run Performance Center or LoadRunner performance tests, run UFT functional tests, run tests in your lab, and run tests on mobile devices. This plugin also lets you upload test results to ALM. In addition, ALM Octane users can track and trigger Jenkins pipelines from within the ALM Octane user interface.

See also  TestComplete 14.0

Download latest HP Application Automation Tools Plugin

UFT Jenkins Setup

Setup Jenkins Server – I assume you have already a Jenkins server setup. If not, you can find all the necessary details here.

Download Jenkins

Install HP Application Automation Tools Plugin

  1. Login to Jenkins.
  2. Click the link “Manage Jenkins” -> “Manage Plugins”, then click the “Advanced” tab.
  3. Enter the Server “web-proxy.rose.hp.com” and Port “8088”, then click “Submit”.

Manage Jenkins

Jenkins - Proxy Config

4. Click the “Available” tab

5. Filter the name “HP Application Automation Tools”.

6. Click on the Install checkbox and click on the “Download Now and Install After Restart“ button.

Jenkins - Install Plugins

Configure Jenkins

Set up a job

  1. Click on the “Jenkins> “New Item“ menu option.
  2. Enter a Job Name as “UFT Integration Test” and click on the ”Free Style Project.


3. Configuration Screen will Open. Select Build Tab and click on the “Add build step“ and select the “Execute HPE tests from file system“ option.

Jenkins - Add Build


4. Enter the required details in the next screen about the UFT test

Jenkins - Execute HPE Tests

Set up the Post Build Actions

Select Post-build Actions Tab and click on the Add Post-build action

Jenkins - Post Build Actions

Select the Archive Option of your choice and click on ”Apply” and ”Save” your settings

Run Job

Open Your Jenkins Project and click on the “Build Now” options from the left

Jenkins - Integration

Check Result

You will see the job links in the Build history Section as above. Click on the link and select Console Output.

Jenkins - Build History

Jenkins - Console Output


You can always check your UFT test result from UFT Run Result Viewer.




Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.