Tosca Cloud

Integrating Tosca Cloud Test Automation with ReleaseOwl

This guide will help you integrate Tosca Cloud test automation with the ReleaseOwl dashboard to enhance your testing and release management workflows. With this integration, you can seamlessly monitor and manage cloud-based test automation, gain actionable insights, and automate test execution as part of your release pipeline.

Prerequisites

Before starting, ensure the following prerequisites are met:

Tosca Cloud Setup:

  • A valid Tricentis Tosca Cloud account is available.

  • You have access to the Tricentis Cloud Platform (TCP) to manage users and workspaces.

  • Your test cases are uploaded or available in Tosca Cloud.

Note: For more information on how to create playlists or run test cases in Tosca Cloud, please refer to the link.

Steps for Integration

  1. Go to the https://<yourdomain>.my.tricentis.com/_identity/apiDocs/swagger/index.html. Here, <yourdomain> refers to the domain name of the account you created on Tricentis Tosca Cloud.

  2. Authorize and Retrieve Token URL:

    • Click the Authorize button.

  • Copy the token URL displayed.

  1. Get All Applications of the Organization:

  • Scroll to the section named Application.

  • Click on Get all applications of the organization.

  • Click Try it out, then click Execute.

  • From the response, identify and copy the Client ID.

  1. Locate the Tricentis Cloud API Application:

  • Search for the application associated with Tricentis Cloud API.

  • Copy the Application ID (you’ll use this to retrieve the Client Secret).

  1. Retrieve the Client Secret:

  • Navigate to List all the secrets for an application.

  • Paste the Application ID you copied earlier into the input field.

  • Click Try it out, then click Execute.

  • The response will contain the Client Secret.

  1. Register Credentials in ReleaseOwl:

  • In ReleaseOwl, go to Credential Manager.

  • Click on Register Credential and select the credential type as Tosca Cloud.

  • Paste the Client ID and Client Secret into the respective fields.

  • Click Save to complete the integration.

Test Configuration

Setting up the test configuration allows the ReleaseOwl application to run Tosca Cloud test automation with the specified parameters from the designated playlist or execution list using cloud-based execution.

Create a New Test Configuration

  1. In Project View, navigate to Test Configuration.

  2. On the displayed page, click Create Test Configuration.

Fill in the Test Configuration Details

  • Name: Enter a meaningful name for the test configuration.

  • Test System: Select ToscaCloud as the test system.

  • Credentials: Select the registered Tosca Cloud credentials.

  • Tosca Cloud URL: Enter the Tosca Cloud base URL (e.g., https://<yourdomain>.my.tricentis.com).

  • Workspace: Select the appropriate workspace from the dropdown.

  • Playlists: Choose the desired playlist(s) that contain the test cases to be executed.

  • Click the Submit button to save the test configuration. Once submitted, a Tosca Cloud test run instance is created within ReleaseOwl.

  • To start the execution, click the Run button. Upon execution, a confirmation message will appear indicating whether the test run was successfully triggered in Tosca Cloud.

Viewing Test Runs and Reports

  1. To view the test runs, click View Test Runs against the desired Test Configuration.

  1. The test runs and their results, along with Logs and Reports, will be displayed.

Last updated