This will be the first in a series of blogs that will hopefully introduce you to eCATTs and explain the various important eCATT objects and how to use them. In this first blog I will cover:
- What is an eCATT?.
- Pre-requisites and settings required before using eCATTs.
- Introduce the four important eCATT objects – Test Configuration, Test Data Container, System Data Container and Test Script.
- Test transactions, reports, and scenarios
- Call BAPIs and function modules
- Test remote systems
- Check authorizations (user profiles)
- Test updates (database, applications, GUI)
- Test the effect of changes to customizing settings
- Check system messages
- eCATT can test systems based on release 4.6C or higher, however they will only run on systems using SAP Web Application Server 6.20 or higher.
- Enable ECATTs for the client:
- Start transaction SM31.
- Enter table T000 and choose Maintain. You will be warned that the table is client-independent - ignore this warning.
- Double-click the relevant client in the list. Under Restrictions, choose the setting that allows CATT/eCATT in that client. For full information, refer to the eCATT Security Guide, available from http://service.sap.com/eCATT.

- Enable Front-End Scripting:
- Ensure the SAP GUI Scripting component is installed. There is an option for installing this component when installing the SAP GUI.
- On any screen, choose Customizing of local layout.
- Choose Options....
- Choose the Scripting tab.
- Select Enable Scripting.
- Apply
- Enable Back-End Scripting:
- Execute transaction RZ11.
- On the Maintain Profile Parameters screen, enter sapgui/user_scripting.
- Choose Display.
- In the Display Profile Parameter Attributes screen, choose Change value.
- Enter TRUE in the "New value" field.
- Choose Save
- System data container
- Test script
- Test data container
- Test configuration container
The System Data Container can be considered as a central repository which tracks all the environments where you can have the eCatt scripts execute. For eg, you may need eCatt scripts to run in your sandbox or Dev or QA environments, as such all these systems would need to be maintained as part of a system data container. It can be maintained independently of the test script. Having it as an independent object allows for test scripts to be efficiently redirected as and when the system landscape changes. Without a System Data container you cannot write test scripts that access other systems.
The Test Script consists of an executable script and an interface for data transfer. The test script editor has the following areas:
- Application Toolbar
- Information Area
- Editor tab
- Parameter List
- Command Editor
- Structure Editor
- Attribute tab
The Test Configuration Container is used to maintain the test configurations object. To execute a script with one or more sets of data, we use a test configuration. A test configuration contains a reference to a test script, system data container and references to one or more test data containers. An executed test configuration produces its results in the form of a log which provides complete information as to whether a test was a pass or a fail.


