SAP Cloud ALM (CALM) Intgration with Panaya Test Automation

Prev Next

With Panaya Test Automation, seamlessly integrate your SAP Cloud ALM projects to streamline the creation, execution, and tracking of automated test cases. This integration empowers users to efficiently manage testing processes within SAP Cloud ALM using the robust capabilities of Panaya AI-powered Codeless Automation.

Note

This integration currently supports the use case of automated tests only. Future updates may expand functionality. For more detailed configurations, consult the SAP Cloud ALM documentation.



Key Features of the Integration

By connecting SAP Cloud ALM with Panaya, you gain the ability to:

Test Design and Creation

  • Import existing automated test cases from Panaya to SAP Cloud ALM

  • Create automated test cases directly in SAP Cloud ALM:

    • Prepare them in SAP Cloud ALM for script generation in Panaya.

    • Use Panaya’s ScriptBuilder to create automated tests.

Test Execution

  • Launch Panaya’s automated test cases directly from SAP Cloud ALM.

  • Synchronize execution data seamlessly back to SAP Cloud ALM for better oversight.

Reporting

  • Access detailed execution data from SAP Cloud ALM


Integration Setup Process

Follow these steps to configure SAP Cloud ALM with Panaya:

Establishing a New Service

To register Panaya as a service within SAP Cloud ALM -

  1. Navigate to Administration > Landscape Management in SAP Cloud ALM.

  1. Open Services & Systems and click Add > New Service.

  2. Input the following details:

    • Name: Panaya

    • Description (optional): Panaya Test Automation

    • System Number: Panaya1

    • Service Type: Test Automation (Deprecated)

    • Role: Test

  1. Save the configuration to create the service.

Adding an Endpoint

Endpoints are needed for authenticated communication between SAP Cloud ALM and Panaya project. Ensure the following prerequisites are met:

  • A project in SAP CALM is ready for integration.

  • A test cycle named “SAP ALM Integration” is created in the Panaya project that will be synced to SAP CALM

  • An API user for this project is created in Panaya and linked to a Panaya single account.

To configure an endpoint -

  1. Select the service created earlier in Services & Systems.

  2. Under Endpoints, click Add.


  1. Enter the following details:

    • Endpoint Name, for example: Panaya_Test_Automation

    • Use Case:Test Automation

    • Root URL: Provide the Panaya project URL including the "/api" suffix and the project ID as follows:

  1. Save the endpoint to complete the setup.


Using the Integration

Once integrated, here are the primary workflows -

  • Creating Automated Cases from SAP Cloud ALM or

  • Importing existing Automated Cases from Panaya to SAP Cloud ALM

  • Executing Automated Test Cases

  • Accessing Execution Results

Creating Automated Test Cases from SAP Cloud ALM

  1. In SAP Cloud ALM, open the Test Preparation app.
     

  2. Click ‘Create’

  3. Fill in the required fields -

  • Type: Automated

  • Automation Provider: Choose the Panaya endpoint created previously.

  • Title: Provide a unique test case name (without special characters to avoid issues in the Panaya side)

  • Scope: Assign a scope (will be mapped as a folder in Panaya).

  • Solution Process: not mandatory but you can specify a solution process (mapped as a Business Process Folder in Panaya).

  • Country/Region: Specify this field only if a solution process is defined

The New Test Case creation form from SAP Cloud ALM

  1. Save the test case to create it.

  • Go to your project in Panaya to see the newly created test case in the Panaya Test Tree under the cycle ‘SAP ALM Integration’.

  • The automated test in in your Panaya project is created with the relevant context of the Scope and Solution process in the Panaya Test tree:

    • Panaya Folder = Cloud ALM Scope

    • Panaya Business Process = Solution Process

      The Test Case synchronized to Panaya Test Dynamix

      Creating Additional Test Cases: When you need to create more test cases with similar configurations in SAP CALM, it automatically generates new automated tests within the same folders and business processes in Panaya.


Importing existing Automated Cases from Panaya to SAP Cloud ALM

  1. In SAP Cloud ALM, open the Test Preparation app.

  1. Click Import on the top right corner.

  2. In the ‘Automation Provider’ dropdown, select the endpoint created previously and synced with your Panaya project and cycle.

  1. Click Go.

  2. The Automated Test Cases from your Panaya cycle are displayed. Select the ones you want to import and click Import.

     

  3. You can link the Automated Test Cases to an existing Scope and Solution Process in SAP CALM.
     

  4. Go back to the Test Preparation app to display the list of Test Cases and you can see the newly imported tests in the Automated tab. Note that in case your automated test in Panaya contains multiple Data sets, then multiple tests cases are reflected in SAP Cloud ALM with different Variant names.

Executing Automated Test Cases

Tests can be executed from SAP Cloud ALM by clicking Execute (make sure to change the test from ‘In Preparation’ to ‘Prepared’ to enable execution):

Important!

To run Panaya automated tests, ensure that Panaya Automation Agents are installed and properly configured on remote machines.

Accessing Execution Results

Once triggered, you can track real-time execution progress and results within SAP Cloud ALM or Panaya.

  • Refresh execution statuses in SAP Cloud ALM via the Refresh Test Progress option.

     

  • Navigate to detailed logs in Panaya directly from SAP Cloud ALM by selecting Open Execution Log. From there, you can open the Viewer to get detailed step by step execution.



  • Note that the Execution trigger in Panaya indicates the execution was triggered from SAP Cloud ALM.


  • In case an execution is triggered from Panaya and not from SAP Cloud ALM, it can also be synchronized with SAP Cloud ALM.

    • To do this, select the Test Execution app.

    • Within the Test Cases section, select the desired test case and then select Refresh Executed Test Runs from the Automation Provider.

    • This action updates the execution status in SAP Cloud ALM to match the one from Panaya.