UFT integration with JENKINS
With now CI (Continuous Integration) being the talk of the organizations who are differentially focused on Agile Methodology, It requires Automation Testing to be integrated with the CI environment. A recent article I read mentioned that dev build verification need not be limited to just unit tests or sanity /smoke – why not the complete functional automated tests? Such demands by our clients ups the ante for accurate & uninterrupted testing.
Hence this article on how you could successfully integrate your UFT scripts with JENKINS. While I will make use of ALM, It is up to the user to integrate the scripts with/without ALM.
What is JENKINS? (Source: Wiki)
Jenkins is an open source – Continuous Integration tool written in Java. The project as forked from Hudson after a dispute with Oracle
Jenkins provides continuous integration services for software development. It is a server-based system running in a servlet container such as Apache Tomcat. It supports SCM tools including AccuRev, CVS, Subversion, Git, Mercurial, Perforce, Clearcase and RTC, and can execute Apache Ant and Apache Maven based projects as well as arbitrary shell scripts and Windows batch commands. The primary developer of Jenkins is Kohsuke Kawaguchi.Released under the MIT License, Jenkins is free software.
Builds can be started by various means, including being triggered by commit in a version control system, scheduling via a cron-like mechanism, building when other builds have completed, and by requesting a specific build URL.
You can download JENKINS from –
Does UFT integrate into JENKINS?
Yes. While the plain old methods such as triggering it through a batch file was always there ; But with no direct mechanisms to get the Test results back into JENKINS, HP has an Jenkins plugin which caters to a complete Test Execution life cycle from execution to reporting.
You can download the plugin from –
https://wiki.jenkins-ci.org/display/JENKINS/HP+Application+Automation+Tools
Assuming you have JENKINS and HP plugin installed your Jenkins plugin page should look like the below –
As a next step you need to configure JENKINS to point to your ALM server & the TESTSET
- Click on Manage Jenkins
- Click on Configure System
Scroll Down to the ALM section & enter your ALM details
Now that we have all the basics set, it’s time we actually test a build. I also assume you have a TestSet consisting of 1 or more tests in Quality Center. I am sure you would appreciate the beauty of the post execution details that would be visible right from JENKINS with the Execution History & drilled results notifying every step within JENKINS dashboard.
1. Create a New Free Style Software Project in JENKINS as below
2. Look for “Build” & “Post-Build Actions”
3. Add the QC details in Build information – “Execute HP tests from HP ALM” & Choose “Publish HP Tests Result” in the Post-Build Actions.
Click on Save
Now that you have your Item created, you may choose to test the same. Click on the Highlighted image to test your Build.
Check in Build History for the results
You have options to either look through the command line execution status history & also as a separate result per test.
If you look the results precisely, it has detailed information related to the TestSet, Individual Test with also deep dive into the steps per test & their related information too.
Now that you have successfully integrated UFT into JENKINS only imagination is the limit to your needs. You can schedule automatic builds, trigger on demand or periodically. With email functionality integrated within JENKINS users/developers can get the build test results/reports directly instead of seeking separate reports.
相关推荐
**UFT(Unified Functional Testing)**,全称统一功能测试,是Micro Focus公司推出的一款强大的自动化测试工具,尤其适用于企业级的功能测试和回归测试。它支持多种应用类型,包括Web、桌面、移动以及各种企业级...
【UFT录制简单的视频】 UFT,全称Unified Functional Testing,是Micro Focus公司推出的一款功能强大的自动化测试工具,尤其在企业级的软件测试领域中广泛应用。它提供了多种语言支持,如VBScript,使得用户可以...
### UFT_GUI_Tutorial 关键知识点解析 #### 一、UFT简介与基本概念 - **UFT**:UFT全称HP Unified Functional Testing(统一功能测试),是惠普公司开发的一款自动化测试工具,主要用于GUI(图形用户界面)的功能...
### 恒生UFT系统概述 #### 一、系统背景与需求分析 随着金融市场的快速发展,特别是程序化交易技术的普及,对于交易系统的性能、稳定性及可靠性提出了更高的要求。传统交易方式已难以满足现代金融市场的需求,特别...
【UFT14.52】是HP公司(现已被Micro Focus收购)推出的自动化功能测试工具,全称为Unified Functional Testing,之前被称为QuickTest Professional(QTP)。这个版本的UFT是一个强大的软件测试解决方案,专为功能...
《UFT11.5安装包详解:自动化测试的强大工具》 UFT,全称Unified Functional Testing,原名HP QuickTest Professional(QTP),是 Hewlett Packard(现HPE)公司推出的一款功能强大的自动化测试工具。UFT11.5版本是...
标题中“UFT Mobile testing with perfecto mobile”意味着本篇文档是一份指南,用于介绍如何使用HP的UFT(Unified Functional Testing)工具结合Perfecto Mobile来开展移动终端自动化测试。这里,UFT作为一款广泛...
### UFT(QTP)基本录制方法详解 #### 一、UFT(QTP)概述与启动 UFT(Unified Functional Testing,原名QTP,Quick Test Professional)是一款强大的自动化测试工具,广泛应用于Web、桌面和移动应用程序的功能性测试...
【UFT功能测试工具实验报告】是针对自动化测试工具HP Unified Functional Testing(UFT)的一次实践操作,主要目的是让使用者熟悉UFT的基本操作流程,包括创建测试脚本、录制与编辑脚本、回放测试、导出脚本、对象...
根据提供的文件信息,下面是关于UFT_12.01(统一功能测试)软件的中文用户手册的详细知识点介绍。 ### UFT简介 UFT(统一功能测试)是HP公司提供的自动化测试工具,之前被称为QTP(快速测试专家)。它主要用于功能...
【UFT功能测试入门】 Unified Functional Testing(UFT),前身为QuickTest Professional(QTP),是一款自动化测试工具,尤其适用于功能测试。UFT允许用户创建和执行自动化测试,覆盖多种应用程序,包括Web、桌面...
**UFT(Unified Functional Testing)**,全称统一功能测试,是Micro Focus公司推出的一款自动化测试工具,专门用于软件的功能测试和回归测试。它支持多种应用程序接口,包括GUI、Web、移动应用等,广泛应用于企业级...
标题中提到的“UFT(QTP)12.01教程”是一个关于软件自动化测试的教程,主要面向初学者。这里的UFT指的是HP Unified Functional Testing,原名Quick Test Professional(QTP),是惠普公司开发的一款功能测试工具,...
【UFT英文帮助文档】是HP(现已被Micro Focus收购)Unified Functional Testing(UFT,统一功能测试)软件的详尽指南,版本为11.50。该文档旨在为用户提供在Windows操作系统环境下进行自动化功能测试的指导。文档...
《UFT功能测试工具教程详解》 UFT(Unified Functional Testing),全称为统一功能测试,是惠普公司推出的一款强大的自动化测试工具,尤其在功能测试领域应用广泛。本实验主要目的是帮助用户熟悉UFT的基本操作流程...
### QTP(UFT)12.01版本安装包及永久使用方法 #### 一、QTP与UFT概述 QTP(Quick Test Professional)是一款由Mercury Interactive开发的自动化测试工具,在2006年被惠普公司(HP)收购后,逐渐演变为UFT(Unified ...
【UFT(QTP)教程&手册】是一个全面的学习资源,专为那些希望掌握功能测试和自动化测试技术的IT专业人士设计。UFT,全称Unified Functional Testing,以前称为QuickTest Professional(QTP),是HP(现已被Micro ...
HP UFT11.5 免费无限使用,下载后双击执行就OK了。