HP-ALM Jenkins Integration To Execute Automation Script


HP-ALM Jenkins Integration To Execute Automation Script

In this blog we will learn how we can integrate our automation Scripts present in HP-ALM with Jenkins for the purpose of continuous Integration and Testing.


What is Continuous Integration?

Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early.

What is Continuous Delivery?

Continuous delivery is a software engineering approach in which teams produce software in short cycles, ensuring that the software can be reliably released at any time and, when releasing the software, doing so manually. It aims at building, testing, and releasing software with greater speed and frequency.

Below are the steps we need to follow for this integration:

1)     Login into Jenkins-->Manage Jenkins-->Manage Plugins, Search and install microfocus application automation tool plugin.



2)     Now again navigate to Jenkins-->Manage Jenkins-->Configure System.

3)     Navigate till Application Lifecycle Management and provide any name for ALM Server and valid ALM URL. Click on Apply and Save Button.


4)     From the Jenkins Home Page, Create New Jenkins Job and select the Free-Style project.

5)     From the Build Section , Select Execute Microfocus tests from File System.



6)     Provide your ALM Server details, username, password, domain and project details.





7)     In the TestSet Provide the name of your test you wanted to execute in a format like                                                
Root\test folder\testset





8)     Optionally you can click on Advance and select Run Mode. Apply and Save your Jenkins job.




      9)   Now once we execute Jenkins job we can able to view that these Jenkins jobs are executing  our test cases present in HP-ALM.




SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
May 17, 2019 at 3:45 PM

is the plugin wil work with Jenkins ver. 2.121.2 also ?

Reply
avatar
August 31, 2020 at 10:12 PM

Is it work with cucmber framework?

Reply
avatar
June 1, 2021 at 8:25 PM

How to run only those test cases which have already failed.
e.g.
Testcase 1 - Passed
Testcase 2 - Failed
Testcase 3 - Passed
Testcase 4 - Failed

I want to Run Testcase 2 and 4 from Jenkins

Reply
avatar
August 8, 2022 at 3:08 PM

When I going these steps I m getting results in alm with case but after case it shows in each case having common methods with status under ach
case ..we want each case o

Reply
avatar
August 8, 2022 at 3:09 PM

Why this come it showing common methods present after each case

Reply
avatar