0 Shares 1002 Views

UFT Jenkins Integration

Oct 03, 2017
1002 Views
UFT Jenkins Integration

In our earlier post, we got to know the easy integration of UFT with GIT. This post focuses on 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. Lets first understand some basics before we get into UFT Jenkins integration details.

Continuous Integration

Continuous Integration (CI) is a development practice which enables periodic code integration verification and detect 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?

Image result for Jenkins You must have got it by now, Jenkins is a Continuous Integration (CI) server or tool, which helps to automate different aspects of 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 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

In order 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 server. 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.

Download latest HP Application Automation Tools Plugin

UFT Jenkins Setup

Setup Jenkins Server – I assume you have already Jenkins server setup. If not, you can find all 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 “Advanced” tab.
  3. Enter the Server “web-proxy.rose.hp.com” and Port “8088”, then click “Submit”.

  1. Click “Available” tab.
  2. Filter the name “HP Application Automation Tools”.
  3. Click on the Install checkbox and click on the “Download Now and Install After Restart“ button.

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. 

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

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

Set up the Post Build Actions

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

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

Run Job

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

Check Result

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

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

 

You may be interested

Setting up Web Service Automation Project
Katalon Studio
323 views
Katalon Studio
323 views

Setting up Web Service Automation Project

Saket - Oct 24, 2017

Web services are specific services that can be published and called over the Internet by client applications. Katalon Studio supports functional testing of web services. This topic…

Setting up Mobile Automation Project in MacOS
Katalon Studio
297 views1
Katalon Studio
297 views1

Setting up Mobile Automation Project in MacOS

Saket - Oct 09, 2017

Using Katalon Studio, mobile tester can design automation test for both Android and iOS to run on physical devices, cloud services and emulators. This tutorial explains how…

LeanFT Tutorial #5: Create Tests in LeanFT
LeanFT
539 views
LeanFT
539 views

LeanFT Tutorial #5: Create Tests in LeanFT

Saket - Sep 25, 2017

In this post of LeanFT/UFT Pro tutorial series, we will go through steps to create tests in LeanFT and learn about IDE project templates and prerequisites. As…

Leave a Comment

Your email address will not be published.

Most from this category

Join The Growing Group of 15000+ Test Automation Engineers

Signup for our newsletter and get access to free downloads, as well as tips, tricks and techniques and various test automation resources.
Name
Email Address
Secure and Spam free...