Skip to content

Micro Focus ALM Plug-in

Last update April 30, 2019

Plug-in Version 2.1

The Micro Focus Application Lifecycle Management (ALM) plug-in enables you to import and run functional test sets as your applications progress through your CI/CD pipeline.

Micro Focus Application Lifecycle Management was formerly known as HP Application Lifecycle Management (HP ALM).

This integration allows you to take advantage of all ALM UFT (Unified Functional Test) features while harnessing the power of Automic® Continuous Delivery Director. By running functional test sets in the release pipeline, you get real-time execution of functional tests. You also get the test results so you can see the context and status of the testing process.

This page explains how to link an ALM account to Automic® Continuous Delivery Director and how to configure ALM-related tasks.

Supported Versions

The ALM plug-in supports Application Lifecycle Management 12.xx.

Important!

For OnPrem users: The ALM plug-in is not autoregistered. You can only run the ALM plug-in on a Windows server.

For SaaS users: The ALM plug-in is not autoregistered. You can only run the ALM plug-in on an on-prem Windows server connected to Automic® Continuous Delivery Director with the plug-in proxy.

For more information, see the ALM documentation at https://software.microfocus.com/en-us/solutions/software-development-lifecycle.

Set Up the Plug-in Server

The ALM plug-in uses ALM client tools which can run only on Windows. Therefore, you must install the plug-in on a Windows server with Tomcat pre-installed. You also install the ALM client tools on the same Windows server and enable the tools to work with the ALM application.

If Automic® Continuous Delivery Director is installed on a Windows server, you can install the ALM plug-in on the same Windows server.

If Automic® Continuous Delivery Director is not installed on a Windows server, install the ALM plug-in on a separate Windows server. 

ALM Plug-in System Landscapes

Example 1: Continuous Delivery Director installed on a Windows Server

ALM Plug-in 1

Explanation of Example 1

Three servers are used in this scenario:

  • Server A is a Windows server and contains the Automic® Continuous Delivery Director, the ALM plug-in, and the ALM client tools installation files.
  • Server B contains the ALM installation files.
  • Server C contains the UFT (Unified Functional Testing) installation files. 

Example 2: Continuous Delivery Director installed on a Linux Server

ALM Plug-in 2

Explanation of Example 2

Four servers are used in this scenario:

  • Server A is a Linux server and contains the Automic® Continuous Delivery Director installation files.
  • Server B is a Windows server and contains the ALM plug-in and the ALM client tools installation files.
  • Server B contains the ALM installation files.
  • Server C contains the UFT (HP Unified Functional Test) installation files. 

Follow these steps:

  1. Provision a Windows server for the ALM plug-in.
    Note: 
    • If Automic® Continuous Delivery Director is installed on a Windows server, you can install the plug-in on the same Windows server.

    • If Automic® Continuous Delivery Director is not installed on a Windows server, install the plug-in on a separate Windows server. 

  2. On the Windows server, install Apache Tomcat 8.x.
  3. From either the support site https://support.ca.com or the Automic® Continuous Delivery Director Integration Hub, download the ALM packaged plug-in (*.*war file).
  4. On the Windows server, copy the ALM plug-in *.*war file. 
  5. Still in the Windows server, open Microsoft Internet Explorer as an administrator.
    Note: Automic® Continuous Delivery Director supports Microsoft Internet Explorer versions 11 and higher.
  6. Enter the URL: http://<ALM-Server>:<ALM-Port>/qcbin/start_a.jsp?common=true.
    The ALM Management web page opens.
  7. Follow the instructions in the tools section in the ALM management web page and deploy the following ALM client tools on this server:
    • HP ALM Connectivity
    • HP ALM Client Registration
    • Shared Deployment for Virtual Environments
  8. On the UFT server, verify that the DCOM configuration properties for that computer give you the proper permissions to launch and configure the UFT COM server.

What's New

The following updates were made for plug-in version 2.1:

  • Support was added for Java 11.

Configuration

Register the plug-in and create endpoints as described in Manage Plug-ins.

Manifest URL

For plug-in registration, use the following ALM manifest URL:

http://<plugins-server>:<port>/cdd-alm-plugin/manifest.json

Endpoint Parameters

To create endpoints, provide the following parameters:

  • URL
    Specify the ALM URL
    Syntax: http://<ALM server name>[<:port number>]/
  • Username
    Specify the ALM account user name 
  • Password
    Specify the ALM account password

To check the connection to ALM, use the endpoint Test Connection option. The Test Connection option returns the following results:

  • Success
    The connection was successful
  • Failure
    The connection failed

Tasks

The following task types are available in the ALM plug-in:

Run Functional Test Set

The Run Functional Test Set task lets you schedule automated tests that are preconfigured in ALM. Tests in this test set use server-side execution. This task contains the following fields:

Input Parameters

  • Domain
    Specify the ALM domain that contains the group of ALM projects where the required test set resides. Type an at sign @ to get a list of domains for which you are authorized.
  • Project
    Specify the ALM project where the required test set resides. Type an at sign @ to get a list of domain projects that you are authorized to access.
  • Folder
    Specify the name of the folder where the required test set resides.
    Syntax: Root\Folder1\Folder2

  • Test Set Name
    (Optional) Specify the name of the test set to run. If left empty, all test sets in the specified folder run. Type an at sign @ to get a list of all the test sets of the specified folder.
  • Test Name
    (Optional) Specify a single test to run. If left empty, all the tests in the specified test are set to run. Type an at sign @ to get the list of all the tests of the specified test set.
  • Host Name
    Specify the hostname of the UFT server.

  • Timeout
    (Optional) Specify the number of seconds allowed to pass before the test execution fails.

When the tests run, you can view the status of the current test by hovering over the status icon of the task. The tasks fail if one or more tests have failed during the run. 

Import Functional Test Sets

The Import Functional Test Sets task lets you import preconfigured automated tests that are stored in ALM. This task contains the following fields:

Input Parameters

  • Domain
    Specify the ALM domain that contains the group of ALM projects where the required test sets reside. Type an at sign @ to get a list of domains for which you are authorized.
  • Project
    Specify the ALM project where the required test sets reside. Type an at sign @ to get a list of domain projects that you are authorized to access.
  • Folder
    Specify the name of the folder where the required test sets reside. 
    Syntax: Root\Folder1\Folder2

  • Host Name
    Specify the host name of the UFT server.

  • Timeout
    (Optional) Specify the number of seconds allowed to pass before the import job fails.
Was this helpful?

Please log in to post comments.