Create test configurations in SAP Solution Manager
To start running tests using SAP Solution Manager, create test configurations:
Create an executable object on the scenario level
To create a new test configuration, you need an executable object on the scenario level. If you don't have one, create it:
-
Select Solution Documentation.
-
Select the scenario for which you want to create an executable object.
-
Access the Elements of <Scenario name> list and right-click it.
-
Select New > Executables > Executable from the context menu.
-
Access the New Executable dialog, click Specify Executable and fill in the following fields:
-
Library Element Type
-
Logical Component Group
-
Object
-
-
Select OK.
Create a new test configuration
To create a new test configuration for Tosca Cloud, follow these steps:
-
Select Solution Documentation.
-
Select the transaction for which you want to create the test configuration.
-
Access the Elements of <Transaction name> list, right-click the transaction, and select New > TestCases > Test Configuration (Create) from the context menu.
-
Access the New Test Configuration dialog and enter the following information for the test configuration options:
-
Solution: Select the SAP Solution from the dropdown menu.
-
Test Configuration: Enter a name for the new test configuration that begins with a Z and doesn't contain any special characters or spaces.
-
Test Tool: Select Tosca Cloud as your external test tool.
-
Test Script: Enter a name for the test script that begins with a Z and doesn't contain any special characters or spaces.
Once you have entered the name, SAP Solution Manager creates a new test script with the test configuration. Alternatively, you can select an existing test script.
-
Version: Enter a version number.
-
Title: Enter a custom title.
-
Package: Select where you want to save the test configuration.
To save the test configuration as a local object, click Local Object.
-
-
Select OK. The newly created test configuration opens.
-
Select Save and close the dialog.
Your new test configuration is added to the Elements of <Transaction> list. You can now synchronize your SAP test configuration with Tosca Cloud.
Assign executable objects
In SAP Solution Manager, assign an executable object to your test configuration:
-
Select Assign Executable in the test configuration window.
-
Select Search and select an executable object from the Results List.
Alternatively, select a Logical Component Group, the Executable Type and an Executable to search for en executable. Click Search and double-click the selected executable to assign it and close the window.
The specified executable object appears in the System Under Test section of the Test Configuration window.