Show TOC

Procedure documentationCreating a Test Script

 

The test script is the central part of a test configuration. It describes in detail the components of the business process that are to be tested, and in which sequence. In the Test Repository view of the Test Management work center, you can create and edit test configurations and the included test scripts. For the creation of test scripts, you can use a test recorder to create test scripts automatically and to edit them manually. We recommend that you use the component-based test automation (CBTA) tool because it allows automatic recording and manual editing, which is not supported by many other test tools.

To create your test configuration and test script with the correct SAP Solution Manager context, we recommend that you create the test configuration from the Solution Documentation view.

Prerequisites

You have completed the test configuration attributes as described in Defining Test Configuration Attributes.

Procedure

  1. In the Solution Documentation view of the Test Management work center, click a solution and branch to open it in edit mode.

  2. Navigate to the business process or step for which you want to create the test.

    Right-click in the list of elements at the bottom and choose Start of the navigation path New Next navigation step Test Cases End of the navigation path and create a new test configuration or assign an existing one.

  3. When the test configuration attributes are complete, choose the Launch <test tool>.

  4. The recording tool starts.

    • If you are using the CBTA test tool, the test creation Wizard starts.

      For more information, see Recording a Test Script Using Component-Based Test Automation.

    • If you are using the eCATT the test tool, you go to the eCATT Test Script Editor screen.

      For more information, see the eCATT: extended Computer Aided Test Tool application help in SAP Help Portal at http://help.sap.comInformation published on SAP site, under Start of the navigation path Developing Test Scripts Next navigation step Creating Test Scripts Next navigation step Test Script Editor End of the navigation path.

    • If you are using a third-party test tool, the test script creation process starts.

Combining Test Script Steps from Different Tools

You can compose an end-to-end test configuration of test script steps that you have created in different test tools: component-based test automation (CBTA), eCATT, or third-party test tools.

You typically define the sequence of the test script steps to be executed. Then you define the parameter values for the steps. For more information, see Editing a Test Script.

To create a composite test script, create a test configuration or a test script as described in Creating Test Configurations and Test Scripts.

In the Test Tool field, select Composite Test. For more information, see Defining Test Configuration Attributes.