Show TOC

Procedure documentationCreating a System Data Container in the Test Automation Framework

 

System data containers define the systems on which automated test cases are executed. When creating system data containers in the Test Automation Framework, RFC destinations to the systems are retrieved automatically. When executing a test case you can change the system role, and the RFC destination is adapted accordingly without additional effort.

For more information, see Components of Automated Test Cases.

In the Test Automation Framework, you can do the following:

  • You can create a system data container for an existing SAP Solution Manager project or a solution. You specify the project or solution and the system role. When you specify a logical component, the RFC destination is derived automatically when the test cases are executed.

  • You can create system data containers when you are setting up a new Solution Manager project or a solution. At design time you assign the test case to the logical components which are involved in the respective business process. At runtime, the RFC destinations are derived automatically.

  • You can create a system data container from an existing third-party test tool test configuration.

Prerequisites

  • You have called the Test Management work center.

  • You have created a test package.

Procedure

  1. Create a system data container:

    • To create a system data container for an existing SAP Solution Manager project or a solution, do the following:

      1. Under Common Tasks, choose Easy Test Automation.

      2. Select the System Data field.

      3. In the System Data field, enter a name. Do not use blanks when entering the name.

      4. Choose Create.

        You go to the Create System Data Container screen.

      5. Specify the SAP Solution Manager context:

        1. Choose Start of the navigation path Utilities Next navigation step Settings End of the navigation path.

          You go to the Workbench Settings dialog box.

        2. Select an SAP Solution Manager Project or a solution.

        3. Select a system role.

        4. Choose Save and exit.

      6. On the Attributes tab page, enter data as required.

      7. On the System Data tab page, select logical components.

        The RFC destinations are retrieved automatically from the SAP Solution Manager landscape.

    • To create a system data container in an SAP Solution Manager project or a solution, you can do the following:

      1. Call the respective transaction:

        • To start from an SAP Solution Manager project, you do the following:

          1. Call transaction SOLAR_PROJECT_ADMIN.

          2. Select an SAP Solution Manager Project and choose Change Project.

          3. Choose the System Landscape tab page.

          4. On the Systems tab page, select the logical components.

          5. Choose the Central Objects tab page.

        • To start from a solution, you do the following:

          1. Call transaction SOLMAN_DIRECTORY.

          2. Select a solution and choose the Change pushbutton.

          3. On the Systems tab page, select the logical components.

          4. Choose the Solution Settings tab page.

      2. Create a system data container:

        1. In the System Data Container field, enter a name. Do not use blanks when entering the name.

        2. Choose Create.

        3. Save your entries.

          The system data container is created.

        4. Select the system roles for which you want to allow the execution of test cases:

          1. Select one of the following options:

            • If you edit an SAP Solution Manager project, you do the following:

              1. Choose the System tab page.

              2. Choose System Role Assignment.

            • If you edit a solution, you do the following:

              1. Choose the System Group tab page.

              2. Choose System Roles.

            A dialog box appears.

          2. In the For Testing column, select the system roles for which the execution of test cases shall be allowed.

            Caution Caution

            Execution of test cases in the production system would create real business transactions and in this way affect the correctness of the business data.

            Restrict the execution of test cases to noncritical system roles such as, for example, Development System, Quality Assurance System, or Evaluation System.

            End of the caution.
          3. Choose Continue.

    • To create a system data container for a third-party test tool test configuration, do the following:

      1. Under Common Tasks, choose Easy Test Automation.

        You go to the SAP Solution Manager Test Automation Initial Screen.

      2. In the Test Configuration field, select the existing third-party test tool test configuration.

        In the External Tool field, the name of the tool is displayed.

      3. Choose Change Object.

      4. Choose the Configuration tab page.

      5. In the System Data Container field, enter the new system data container name.

      6. Double-click on the System Data Container field.

        You go to the Create System Data Container screen.

      7. Specify the SAP Solution Manager context:

        1. Start of the navigation path Choose Next navigation step Utilities Next navigation step Settings End of the navigation path.

          You go to the Workbench Settings dialog box.

        2. Select an SAP Solution Manager Project or a solution.

        3. Select a system role.

        4. Choose Save and exit.

      8. On the Attributes tab page, enter data as required.

      9. On the System Data tab page, select logical components.

        The RFC destinations are retrieved automatically from the SAP Solution Manager landscape.

  2. Make sure that the system data container covers the system landscape. For more information, see Checking the System Landscape Coverage of a System Data Container.

  3. Save your entries.

Result

The system data container is created. If the system role is changed, the RFC destinations are retrieved automatically when test cases are executed.