
Part 2 - Executing a Test Script
Use
You learn to execute an existing test script and examine the log.
You will execute the script in background processing mode, then in foreground processing mode, and finally in error mode. These modes allow different levels of visibility and interaction with the script while it is executing.
Prerequisites
You are logged on to a SAP System and are in Extended Computer Aided Test Tool: Initial Screen.
You have completed the part 1 of this tutorial.
Procedure
.The Change Test script: XYZ_FK01 (1) screen appears.
to display the command interface.
to display it in the structure editor.
, to go to the screen simulation.
This forces eCATT to clear the field each time the script is executed.
.You should see that the VALIN field contains four apostrophes. Fixed values in the structure editor are designated by apostrophes. Instead of using the screen simulation, you could have entered the apostrophes directly in the structure editor.

Background Processing
You must use apostrophes because it is a fixed value.
.
.The Start Options dialog box appears.
.Screen eCATT Log Display <number> appears.

The log is structured hierarchically. Expand the tree by clicking on the nodes. You will see information about the system, test script, transaction, screens, and field values.

Foreground Processing
, to go back to the script editor.
.
.
.
to accept the OK codes presented. You can change field contents on the screens. For example, try changing the name of the city. The change only applies to this run. At the end of the transaction, a new log is generated.
Error Processing
, to go back to the script editor.
.
.
.This time, an error is caused by a preexisting record and the screen with the error is displayed.
.The execution continues and a new log is generated. In the absence of errors, the execution is like background mode.
Preparing the Script for the Next Part of the Tutorial.
, to go back to the script editor.
.Result
Each time you run the script you generate a vendor record and an eCATT log.