Continuous Integration with Jenkins

Micro Focus Expert
Micro Focus Expert
0 1 4,023

Author: Matthias Steinkogler

The goal of this blog entry is to concisely show how to use Silk Test to make functional testing part of your Continuous Integration (CI) routine, based on the example of Silk Central and Jenkins.

Prerequisites

This document assumes that you already have the following infrastructure in place:

  • A Silk Central server with valid test execution definitions, and
  • A Jenkins/Hudson server set up to run CI builds.

Get Information from Silk Central

You need to retrieve the Project ID and the Execution Plan ID of the execution(s) that you want to run from your Silk Central server.

  1. Log in to Silk Central.
  2. Select Execution Planning -> Detail View.
  3. To retrieve the Project ID, select the project in the left tree view pane.
  4. You will find the Project IDhere:

  5. To retrieve the Execution Plan ID, select the execution definition in the left tree view pane.
  6. You will find the Execution Plan ID here:

Set Up Jenkins

  1. Install the SCTMExecutor plugin in Jenkins. This plugin connects Jenkins to your Silk Central server.
  2. Configure the SCTMExecutor plugin:
    1. In the global Jenkins configuration page, there will now be an entry SilkCentral TestManager Konfiguration.
    2. Enter the server’s address, and a username and password:

     

  3. Extend your CI build job.
    1. Add another build step by choosing SilkCentral Test Manager Execution:

    2. Enter the Execution Definition ID and Project IDyou retrieved in the Silk Central section above:

      You can execute an arbitrary number of executions by adding Execution Definition IDs separated with a comma.

Now, whenever your CI Build Job is executed, it also triggers the execution of the specified Silk Central execution(s).

1 Comment
Anonymous3 Absent Member.
Absent Member.

Pingback from  Blog Post: Integration of Silk Central and Jenkins | Sangar?? Mohamed

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.