Entering content frameBackground documentation Part 1 - Creating a Test Script Locate the document in its SAP Library structure

Use

You learn to start eCATT, create a test script, and record a transaction.

Prerequisites

You are logged on to an SAP System and are in the SAP Easy Access screen.

Procedure

  1. Start transaction SECATT.
  2. You are now in Extended Computer Aided Test Tool: Initial Screen.

  3. Select Test Script.
  4. Enter a name for the script. For this tutorial, choose XYZ_FK01 (where XYZ are your initials).
  5. In the Version field, enter 1.
  6. Make sure the External Tool field is empty.
  7. Choose This graphic is explained in the accompanying text.
  8. Screen Create Test Script: XYZ1_FK01(1) appears.
  9. Choose the Attributes tab.
  10. Enter a title, for example Transaction FK01.
  11. Enter a component, for example BC-TWB-TST-ECA.
  12. Choose the Editor tab.
  13. In the application toolbar, choose Pattern.
  14. The Insert statement dialog box appears.

  15. In the Command field, choose TCD (Record).
  16. In the Transaction field, enter the transaction code FK01 and choose This graphic is explained in the accompanying text.
  17. In the Interface field, a system-generated name, FK01_1, appears.

  18. Accept the system-generated name by choosing This graphic is explained in the accompanying text.
  19. The transaction starts.

    The transaction

    The transaction that you will record is Create Vendor (transaction code FK01). You do not need to be familiar with this transaction. It simply creates a record of the name, address, and a few other details of a customer that you invent. The required fields (with suggested values), and the screens they are on, are listed here:

    Note

    To record the transaction FK01, you need to leave Vendor field empty. This is because the field will be filled by an automatically generated number at the end of the transaction.

    Screen

    Field

    Value

    Create Vendor: Initial Screen

    Vendor

    Make sure this field is empty.

    Company code

    0001

    Account group

    KRED

    Create Vendor: Address

    Name

    A N Other

    Search terms

    OTHER

    City

    Heidelberg

    Country

    DE

    Create Vendor: Accounting information Accounting

    Recon. account

    160000

    Cash mgmnt. group

    E6

  20. Work through the transaction, entering the required data in the appropriate fields. Some of the screens do not require any input. After you complete each screen, choose This graphic is explained in the accompanying text.
  21. The Last data screen reached dialog box appears after the last screen.

  22. Choose Yes to save the data.
  23. The system returns you to the script editor with the Recording Ended dialog box.

  24. Choose Yes to transfer the data to eCATT.
  25. TCD ( FK01, FK01_1 ). appears in the command editor.

  26. Choose This graphic is explained in the accompanying text, and in the following dialog box choose Local object.

Result

You have created a test script and recorded a transaction.

The transaction has written a new record in the table LFA1. You can view this table using the Data Browser (transaction SE16).

Leaving content frame