Show TOC

Function documentationTest Repository: Test Scripts and Configurations

 

The applications Test Repository - Test Configurations and Test Repository - Test Scripts give 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 activities 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 client machine where SAP GUI is installed for the SAP Solution Manager system and for the systems under test, and you have registered it in SAP Solution Manager.

  • You have defined your solution documentation and created the relevant executables there. Selection of an executable during creation of automated test is a mandatory step, because this way the system under test will be derived.

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

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 Configurations and 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 responsible persons, 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 Test Execution Reports.

  5. Use the solution documentation in the Test Suite - Test Preparation application 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.