Integration for Polarion

Polarion is a browser-based requirements management, quality assurance, and application lifecycle management (ALM) platform. The integration provides traceability and result synchronization between Squish Test Center and Polarion tests. Users can manually map Polarion test cases to Squish test suites and cases, as well as push Squish test results to a Polarion server.

Prerequisites

A Polarion project must be configured for testing and quality assurance. For example, it should be created with one of the project templates preconfigured for test management projects that include work item types to support testing, such as a V-Model project or Agile project. Otherwise, you must configure all items manually, including test cases and test executions. If you are not using a preconfigured testing template, make sure that test cases contain a test steps field and that it is enabled

Configuration

The Polarion integration works both with the cloud and server version. Administrators can turn on Polarion Integration in Global Settings.

Adding Polarion account information to Squish Test Center

To establish the connection to Polarion, enter the following information:

  • Server URL is the Polarion server endpoint URL. For example, https://almdemo.polarion.com/polarion
  • Username
  • Password

In the Polarion Test Case id field, specify the test type id used for your tickets in Polarion.

Click the Update button to save the information you entered.

Click the Sync Projects button to fetch Polarion projects and make them appear in the Associations list, where you can map each Polarion project to its Squish Test Center counterpart.

Fetched Polarion projects

Traceability view

To open the Traceability view, select Polarion in the History or Explore view of an associated project.

Selecting Polarion from the menu bar

At first, the table is empty. To fetch the tests and test steps of the mapped Polarion projects from the Polarion server, click the Pull button. If the mapped projects contain lots of tests or test steps, pulling can take some time. Consecutive pull operations done the same day take less time because the progressive pulling mode is used. This means that deleted tests are not removed from the traceability table until a complete pull is performed. Switching between complete and progressive pulling is done automatically, so that a complete pull is done once a day.

To map the pulled Polarion tests to tests managed by Squish Test Center in the Traceability view, click the Edit button of a table entry in the Mapping column.

You can push mapped tests to the Polarion server as test runs with executed tests.

Polarion test run

Click items in the Actual Result column to open a corresponding Squish Test Center view.

Creating Polarion tests from Squish Test Center

You can create a new Polarion test case from an existing Squish Test Center test in the Actions column in the Explore view. In the Create Polarion Test dialog, specify the following settings:

  • Project is needed if more than one project is associated to the same Squish Test Center project
  • Summary corresponds to the test case name displayed in Polarion
  • Description

Select Create test steps automatically to not only create the currently selected Squish Test Center test in Polarion but also create its children as steps in Polarion. For example, when you create a Polarion test from a scenario, all steps of the scenario are also created.

Polarion test creation