Book demo Start trial

HP Quality Center Integration

Jenkins is a very popular tool to orchestrate and administer build and release pipelines. Test automation is growing into a tool like Jenkins, and the community around Leaptest has build a native Jenkins plugin, that makes it very simple to trigger test cases in Leaptest to run.

This video includes the following:

  • An overview of the integration between Jenkins and Leaptest (click on thumbnail to download overview slide).
     Leaptest Jenkins integration overview
  • Downloading the Leaptest  native Jenkins plugin from the GitHub repository (link: https://github.com/Customatics/)
  • Install the Leaptest plugin on a Jenkins server
  • Create a project and a build definition including the Leaptest plugin as a build step
  • Configure the Leaptest build step and get a brief introduction to schedules in Leaptest
  • Trigger test cases to run on cloud hosted machines from a build in Jenkins.
  • Inspect test results in Jenkins.

Using four simple steps to integrate LEAPWORK with any third-party system through the REST API, automatically creating defects in HP Quality Center when test automation cases are failed in LEAPWORK is very easy.

The following is a Windows Powershell script that runs a pre-defined LEAPWORK schedule, polls for the results until they are available and then loops through all failed cases and creates defects in HPQC as appropriate.

Please note that the script contains no error handling or logging mechanisms. It is meant only to demonstrate the core functionality of integrating LEAPWORK with HPQC.

After running, defects will be created in HP Quality Center and can be managed from the client:

HP Quality Center

The above script uses HP Quality Center’s REST API to access HPQC. For information about how to use this REST API, please see the following link:

  1. http://alm-help.saas.hp.com/en/12.50/api_refs/REST/

You can explore the LEAPWORK endpoints mentioned above by going to this url: http://localhost:9000/help/index#!/RunSchedules if you have the Controller installed on your own computer.

If you would like to use the REST API to integrate LEAPWORK with your own systems, feel free to contact prioritysupport@leapwork.com and we’ll do our best to help you get up and running in no time.