eCATT Debugger

Analogous to the ABAP debugger, the eCATT debugger helps you to find errors in your test scripts. For example, you can execute your test scripts step by step, set breakpoints, monitor variables and change their values at runtime, an so on.

Starting the Debugger

In the Debug Mode field of the start options, you can specify when a script should be executed in debug mode. For example, a script can be started immediately in debug mode or only jumps into debug mode when a breakpoint or error is encountered.

For SAPGUI, GETGUI and CHEGUI commands, you can also select Stop in Debugger and if the script stops at one of these commands as a result of the Stop At start option, the debugger is opened instead of the usual dialog box for steering SAPGUI commands.

The Debug Screen

The screenshot below shows the essential features of the eCATT debugger.

In the top left of the screen are the four buttons for steering the debugging like in the ABAP debugger. These correspond to the following keys:




Single step. This executes a single eCATT command. If another test script is referenced using REF, you can step through the commands in that script.


Execute. This executes a single eCATT command completely. If another test script is referenced using REF, you do not step through the commands in that script.


Return. Inside a REF command, the execution continues to the end of the referenced test script and stops behind the REF command.


Continue. This executes to the next breakpoint, or to the end of the script if no further breakpoints are reached.

Although the breakpoint handling is initially set in the start options, you can change both the debug mode and the SAPGUI command behavior during debugging.

In the center pane of the display, you can see something similar to the log display. Above the red line are the commands that have already been executed. Directly below the red line, designated by the blue arrow and shown in red, is the eCATT command that is about to be executed. The rest of the test script is shown grayed out.

Parameter List

At the bottom left of the screen is the parameter list. Here you can view and change the parameter values. You can also toggle the display to list the command interfaces. You can select a structured parameter or command interface and, by choosing “Display Parameter Value” (), display it in the structure editor.

Structure Editor

At the bottom right of the screen is the structure editor. This is only visible if you have selected a parameter or command interface for display. You can display and edit values here during debugging.


You can set breakpoints using the:

·        BREAK command in the test script.

·        Start options. Here you can specify line numbers, commands, and so on where breakpoints should be set.

·        Breakpoints menu and icons in the debugger.