Show TOC

Function documentationTest Repository

 

The Test Repository view in the Test Management work center gives you access to the test composition environment in SAP Solution Manager. Here, you can create and edit test scripts and test configurations for automated test cases:

  • A test configuration contains a system data container, a test data container, and one test script. The data from these elements can be reused in several test configurations.

  • A test script describes in technical detail the components and sequence of activites that are to be tested, for a selected business process. The test script can contain one or several steps, which you can put into the right order.

    You can create test scripts automatically by using test tools that are configured in the system, either eCATT, Component-Based Test Automation (CBTA), or third-party.

    You can reuse existing test scripts, create modular test scripts and test end-to-end processes. For more information, see Creating a Test Script.

  • A test case is the assignment of a test configuration to a structure node (for example a business process step) in your solution documentation. For more information, see Solution Documentation: Creating Test Cases.

    In the test repository, you can create test scripts or test configurations.

Prerequisites

  • To use a third party test tool, you have installed the test tool on the SAP Solution Manager system and on the systems under test, and registered it in SAP Solution Manager.

  • In the Test Automation Framework, you have created a test data container. For more information, see Creating Test Data Containers in the Test Automation Framework.

    This step is not required if you use the CBTA tool to record test scripts.

Activities

Perform the following activities:

  1. Create or edit a test configuration containing a test data container, a system data container. For more information, see Creating Test Configuration and Test Scripts.

    A bare test script which does not yet contain test script steps, is created automatically. You create a test script only, without test configuration, for example to create a test quickly.

  2. To specify, for example, the application component or system data container, maintain the SAP attributes of the test configuration or test script. For more information, see Maintaining Attributes.

  3. To edit the test script, record a test script or define the test script steps manually. For more information, see Creating a Test Script.

    You can compose an end-to-end test configuration of steps which you have created in various test tools: eCATT, CBTA, standard regression testing or third-party test tools.

  4. Execute the test script manually, and resolve errors. For more information, see Executing Test Configurations or Test Scripts.

    To monitor a test execution in detail, you can display an execution report. For more information, see Displaying the Execution Report.

  5. Use the Solution Documentation view to create a test case for a business process step. While creating the test case, you assign a test configuration to it, or create a new one. For more information, see Solution Documentation.

  6. To schedule the test case for execution, assign it to a test package in a test plan. For more information, see Test Plan Management.