Skip to main content

Installing and Setting Up Eggplant Integration for Micro Focus ALM

Integrating Eggplant Functional with Micro Focus Application Lifecycle Management (ALM) using Eggplant Integration for Micro Focus ALM involves several tasks, which are described below.

See Integrating with Micro Focus Application Lifecycle Management (ALM) for an explanation of how this integration works.

Integrating Eggplant Functional with Micro Focus ALM consists of three major tasks:

  1. Installing and configuring Eggplant Integration for Micro Focus ALM.
  2. Downloading the integration suites and modifying the required scripts.
  3. Running tests to set up Micro Focus ALM and testing the integration.

A summary of these tasks follows, with links to detailed instructions for performing them.. Additional information about running scripts is also provided in Tips and Items of Note below.

1. Installing and Configuring Eggplant Integration for Micro Focus ALM

  1. Install Eggplant Integration for Micro Focus ALM.
  2. Configure ALM mappings and generate an encrypted password for your Micro Focus ALM server as described in Configuring Eggplant Integration for Micro Focus ALM.

2. Downloading the Micro Focus ALM Integration Suites and Modifying the Required Scripts

There are specific scripts that you need to include in any of the Eggplant Functional tests you want to integrate into Micro Focus ALM. The required scripts are included in suites that also contain sample scripts that you can use for testing. Modifying the Micro Focus ALM Integration Scripts provides descriptions of these suites and scripts.

  1. Download the Micro Focus ALM integration suites from the Eggplant Integration downloads page. You need access to these suites from any computer where you will be running Eggplant Functional tests that you want to integrate with Micro Focus ALM.
  2. Modifying the Micro Focus ALM Integration Scripts.

3. Running Tests to Set Up Micro Focus ALM and Testing the Integration

The first time you run a test using Eggplant Integration for Micro Focus ALM, you must run it from within the Eggplant Functional GUI. This first test run sets up the tests within Micro Focus ALM, and verifies your integration is configured correctly.

note

You can use the sample test scripts in the integration suites to run your first test using the Eggplant Integration and required scripts, or you can add the required pre-run (setup) and post-run (teardown) scripts to your own suite and use one of your own tests.

  1. Add the modified Setup.script and TearDown.script to any Eggplant Functional suite that contains tests that will generate results to upload to Micro Focus ALM.

  2. Click Settings in the Suite window to display the Settings panel. Set the Setup.script to run before your test script, and the TearDown.script to run after it.

    note

    You can see how this is done by looking at one of our integration suites. For more information about adding pre-run and post-run scripts in Eggplant Functional, see Utility Scripts.

  3. Run your scripts from the Eggplant Functional GUI. You must do this at least once before the scripts can be run from Micro Focus ALM. This step sets up the test lab, and other related items, in Micro Focus ALM. After this first run from the GUI, you can run the scripts from Micro Focus ALM. See Tips and Items of Note below for more information about running scripts with this integration.

  4. Review the script results in Micro Focus ALM. When you run Eggplant Functional scripts from within the Eggplant Functional GUI, the result displays under Test Runs with a single run record in Micro Focus ALM. When you run an Eggplant Functional script from within Micro Focus ALM, two run records display as follows:

    • The result from the command line call to the runscript.bat file.
    • The result from the Eggplant Functional script: This is the same as the results shown in Eggplant Functional.
    note

    In some circumstances, you might see a third record. You can ignore this record. It is the result of an issue in Micro Focus ALM.

Repeat this process on any computer running Eggplant Functional tests that you want to integrate with Micro Focus ALM.

Tips and Items of Note

  • If you manually modify any of the generated tests in Micro Focus ALM, your modifications will be overwritten the next time the script runs. To avoid this, rename the script after you modify it.
  • You can run scripts on any machine where Eggplant Functional is installed.
  • Running scripts from within Micro Focus ALM using the tests created by Eggplant Integration for Micro Focus ALM does not involve the integration. Micro Focus ALM makes a direct call to the Eggplant Functional runscript.bat file to execute the script.
  • Because of the previous point, when the required pre-run and post-run scripts are configured on the suite containing the script, the results will be uploaded into Micro Focus ALM. This is true regardless of whether the scripts are run from Micro Focus ALM, or if you run them from the Eggplant Functional GUI, a command-line invocation, or via some other mechanism such as a continuous integration server.
  • You can duplicate any of the tests created by your Eggplant Integration in Micro Focus ALM, and edit the scripts so that they set up additional script runs.