Get started with SAP Solution Manager Integration

Before you run the SAP Solution Manager Wizard, you have to perform the following actions:

  1. Add SAP .NET Connector libraries.

  2. Create a multi-user workspace.

  3. Choose how to trigger test execution.

If you use Tosca Commander with a Test Automation Framework, the user interface language automatically switches to English, regardless of what language has been previously selected.

Add SAP .NET Connector libraries

In order to use the SAP Solution Manager Integration, you have to add the sapnco.dll and sapnco_utils.dll files to Tricentis Tosca installation folder. To do so, follow the steps below:

  1. Make sure to check the required versions of the SAP .NET Connector in the System Requirements for the SAP Solution Manager Integration.

  2. Download and install SAP .NET Connector version 3.0 for both 32-bit and 64-bit system types from the SAP Service Marketplace.

    You must download and install both the 32-bit and 64-bit version regardless of your system type.

  3. Browse to the installation directory of the SAP .NET Connector and copy the libraries sapnco.dll and sapnco_utils.dll from the 32-bit version to the %COMMANDER_HOME%\x86 directory and from the 64-bit version to the %COMMANDER_HOME%\x64 directory.

Create a multi-user workspace

Because objects need to be checked in and out, you have to use a multi-user repository which all SAP Solution Manager users can access.

For detailed information on how to create multi-user workspaces and common repositories, see chapter "Create multi-user workspaces".

Choose how to trigger test execution

With the standard installation of the integration, you can trigger test execution from Tricentis Tosca and view your test execution logs directly in SAP Solution Manager. However, the standard installation doesn't allow you to trigger the execution from SAP Solution Manager.

To extend the functionality of the integration, you can set up the SAP Solution Manager Service. Together with Tosca Server, the SAP Solution Manager Service lets you control test execution directly from SAP Solution Manager. This gives you extended control over your test execution flow.

Prerequisites

The SAP Solution Manager Service is only compatible with SAP Solution Manager 7.2 SP 17 or higher.

Set up the SAP Solution Manager Service

To set up the SAP Solution Manager Service with Tosca Server, follow these steps:

  1. Download and install SAP Solution Manager Service on the Tosca Server machine.

  2. Add your project to Administration Console and enable Notification Service for it.

  3. Set up Tosca Distributed Execution with AOS on your Tosca Server machine:

    • Create the AOS workspace of the repository type Tricentis Server Repository. The AOS workspace needs to be connected to your common repository database. Take note of the workspace name.

    • Assign a dedicated user to the AOS workspace and take note of this user's credentials.

    • Connect Tosca Commander.

    • In Tosca Commander, go to Project > Settings > Tricentis Services > Tricentis Services Endpoint and enter the address of your Tosca Server. For instance, https://<ToscaServerHostname>/.

  4. In your current Tosca Server repository, create a new multi-user workspace for the SAP Solution Manager Service. Note the following:

    • This workspace needs to be connected to your common repository database.

    • This workspace only performs background tasks and shouldn't be accessible to ordinary users to create or execute tests. Consequently, assign only one dedicated user to this repository. Don't use the same user from the previous step.

    • Take note of the SAP Solution Manager Service workspace name and the credentials of the exclusive user you assigned to this workspace.

  5. On the Tosca Server machine, configure the following services via Service Configuration:

  6. On the Tosca Server machine, start both Tricentis.SapSolutionManagerService and Tricentis.Tosca.RestApiService:

    • Open the Services application of your Windows operating system.

    • Locate and right-click the respective service in the list.

    • In the Service status section, select Start and OK.

    • Make sure you have performed these steps for both services.

  7. Start your Tosca Distributed Execution Agents.