How to connect SAP Cloud ALM and a Test Automation Tool
2023-12-1 22:43:49 Author: blogs.sap.com(查看原文) 阅读量:11 收藏

SAP Cloud ALM test capabilities help you to prepare and execute tests based on SAP content for manual testing and integration of automated testing tools.

In this blog, we cover how to establish the connection between SAP Cloud ALM and a Test Automation Tool.

The Test Automation Tool must have implemented the SAP Cloud ALM Test Automation API:

The API description is available on the SAP Business API Hub.

SAP Cloud ALM uses a test automation endpoint to invoke the APIs.

This test automation endpoint needs to be configured in the Landscape Management Service of SAP Cloud ALM (LMS).

To do this, you need administrator rights for the LMS.

The LMS is structured in the following way:

  • A Service or Business Service:
    • Has endpoints.

Depending on the service you will have different types of endpoints.

In order to create a new test automation endpoint, you need first to create the appropriate service.

Details

Open LMS

In the SAP Cloud ALM launchpad in the admin section you will find the LMS tile:

Create the Service

First you need to create the service. In the left-hand side navigation panel click the second icon from the top as shown here:

Click on the Add button as show here below and select “New Service”:

Enter the service properties:

  • Name: cannot contain spaces
  • System Number: needs to be unique in this SAP Cloud ALM tenant (just invent it)
  • Service Type : choose a Test Automation tool which have already been validated (like Tricentis) or if you are in the process to integrate you tool choose “Test Automation (Deprecated)”. Once your tool has been validated you will get your own service type.
  • Role: choose Test or Production
  • Root URL: The root URL of your service. It will be reused during the endpoint creation.

Here is an example:

Create the Endpoint

Now select the service which you just created:

Click the “Add” button:

Enter the Endpoint properties:

  • Endpoint Name: is what will appear in the test management UIs as test automation provider.
  • Use Case: must be “Test Automation”
  • The root URL : to reach your test automation service
  • Authentication:
    • Basic
    • OAuth 2.0 (recommended)
  • Press the Check Connection button
  • Save your endpoint

Validate that the Endpoint is visible in Test Management

  • Go back to the SAP Cloud ALM launchpad.
  • Click the “Test Preparation” tile in the implementation section.
  • Verify that your endpoint appears in the “Automation Provider” filter.

Your Test Automation Tool is now connected to SAP Cloud ALM and can be used in Test Preparation and Test Execution.

Thanks for reading.


文章来源: https://blogs.sap.com/2023/12/01/how-to-connect-sap-cloud-alm-and-a-test-automation-tool/
如有侵权请联系:admin#unsafe.sh