Creating Test Repositories

Test Repositories allow LiveCompare to connect to the following testing tools.

Test Repositories are used by actions that require access to their associated test projects. For example, the Search Test Repository action is used to find test assets in the associated object that match a supplied set of tokens.

If you have LiveCompare Administrator privileges, a Test Repository may be created by carrying out the following steps. LiveCompare Editors may also create Test Repositories if this has been permitted by your installation.

  1. Select the Administrator/Test Repositories folder in the LiveCompare hierarchy and choose ‘New > Test Repository…’ from the context menu.
  2. Complete the Add Test Repository screen as follows:
Field Description
Name: A unique name that will identify the Test Repository.
Description: A description for the Test Repository.
Type: Select the type of Test Repository to create, then complete the remaining screen fields as described in the sections below.
Add to Projects: If LiveCompare is project-controlled, deselect the appropriate check boxes to exclude the Test Repository from one or more projects. If you have LiveCompare Editor privileges, the check box for your current project may not be deselected. If you have LiveCompare Administrator privileges, a Test Repository will not be accessible unless it is assigned to at least one project.

For Tosca

Field Description
Url: The URL used to access Tosca, for example, http:/<server name>:<port number>/rest.
Workspace: The name of the Tosca workspace to which to connect.
Username: The Tosca username to use for the connection.
Password: The Tosca password to use for the connection.
Confirm Password: Enter the same password for confirmation.
Workstates: A comma-separated list of Tosca workstates to be searched for by the Search Test Repository action, for example COMPLETED. If this field is left blank, the following Tosca workstates are searched for by the Search Test Repository action: PLANNED, COMPLETED, IN_WORK.
Configuration: The node path of the Tosca configuration object to be used by the Execute Test Cases action when executing test cases, for example Execution/Configurations/Any. The node path may be found in Tosca’s Execution tab.

If timeout errors occur when connected to a Tosca Test Repository, the Tosca REST client timeout value may be configured by setting a RestClientTimeout value in the Configuration - General screen. This should be set to a Tosca REST client timeout value in seconds.

For qTest

Field Description
Url: The URL used to access qTest.
Project: The name of the qTest project to which to connect.
Username: The qTest username to use for the connection.
Password: The qTest password to use for the connection.
Confirm Password: Enter the same password for confirmation.

For ALM

Before creating your first HP ALM Test Repository, carry out the following steps:

  1. Log in to HP ALM at least once from your LiveCompare server machine to download the appropriate HP ALM client components.
  2. Select the Administration/Test Repositories folder in the LiveCompare hierarchy and choose Discover ALM Clients from the context menu. Click ‘OK’ to close the following message box:

Discovery of ALM Clients completed.

Field Description
Client: Select one of the discovered ALM clients. Each client is identified by the hostname of the machine from which the client components were downloaded.
Url: The URL used to access HP ALM.
Project: The name of the HP ALM project to which to connect.
Domain: The HP ALM domain.
Username: The HP ALM username to use for the connection.
Password: The HP ALM password to use for the connection.
Confirm Password: Enter the same password for confirmation.

For Azure DevOps

Field Description
Url: The URL used to access Azure DevOps.
Project: The name of the Azure DevOps project to which to connect.
Team: The name of the Azure DevOps team to use for the connection.
Personal Access Token: Paste in your Azure DevOps personal access token.
Confirm Personal Access Token: Paste in the same personal access token for confirmation.

For Certify

Field Description
Project: The name of the Certify project to which to connect.
External Data Source:

This field should be set to a SQL Server External Data Source which connects to a Certify database. The External Data Source should be configured to read a small table, for example, CertifyVersion.

For Excel

An Excel Test Repository stores test assets that have exported to an Excel worksheet. The Excel worksheet should include columns that store a test case ID, a test case name, and one or more columns that will be used by the Search Test Repository action to find matching tokens.

Before you create an Excel Test repository, the worksheet containing the test data should be used to create an Excel External Data Source. The first row in the worksheet should contain heading descriptions, for example Test Case ID, Test Case Name… The additional rows should contain test assets.

When creating an Excel Test Repository, columns are referred by the character identifiers in their headings, for example, A, B, C... The letter format should be used in LiveCompare even if Excel has been configured to display numeric identifiers for the column headings.

Field Description
External Data Source:

An Excel External Data Source containing a set of test assets. The test assets should include a test case ID column, a test case name column, and one or more columns that will be used by the ‘Search Test Repository action’ to find matching tokens.

Test Case Id Column: The character identifier of the column that stores the test case ID, for example, A.
Test Case Name Column: The character identifier of the column that stores the test case name, for example, B.
Test Case Path Column: (optional) The character identifier of the column that stores the test case path, for example, C.
Search Columns (separate with ,): A comma-separated list of the column identifiers to be used by the ‘Search Test Repository action’ to find matching tokens, for example, D,E. Note that there should be no spaces after each comma.

For SAP Solution Manager

Field Description
Url: The URL used to access SAP Solution Manager.
Client: The SAP Solution Manager client number.
Solution: The SAP Solution Manager solution to which to connect.
Branch: The SAP Solution Manager branch to which to connect.
Username: The SAP username to use for the connection.
Password: The SAP password to use for the connection.
Confirm Password: Enter the same password for confirmation.
  1. Click ‘Save’ to save the Test Repository.

When a Test Repository has been created, it appears in the LiveCompare hierarchy underneath the Administration/Test Repositories folder.

To access a Test Repository from a workflow, assign it to a Test Repository parameter.

Test Repository Integrations

Viewing Test Repositories

Editing Test Repositories

Testing Test Repository Connections

Deleting Test Repositories

Test Repository Details