The Part I of eCATT Introduction gives the basic details about usage of eCATT & features involved. In Part II, the creation of eCATT scripts using TCD mode of recording is explained in detail. In the Part III, the creation of eCATT Scripts using SAPGUI mode is explained in detail. In Part IV chaining, parameterization, creation of Test Configuration, Test Data Container, and System Data Container are explained in detail. In Part V, the management of eCATT Scripts via Testworkbench is explained. In Part VI, the eCATT Logs is explained in detail. In Part VII, creation of eCATT Scripts using Non-User Interface mode is explained along with the details of Copy, Rename, Delete, Upload and Download of eCATT objects. In the Part VIII, tips & links of eCATT will be covered.
Tips To Be Followed Before or During Recording:
  • Test case is generally a series of transactions pertaining to one business scenario. Before recording of the script via eCATT, work with the script on R/3 system directly with a given set of valid data for the entire script. Execute the script manually directly on R/3 for at least 2-3 times with the same set of data. On 2nd time onwards, system may prompt some error messages, warning messages etc. Correct the data only for the error messages and let the warning messages & popup be as it is. This way the data is ready which gives all possible behavior of the transaction. Now record the script with this data. Recording will now include the extra popup, warning messages, which normally don’t come. Make these screens optional in SAPGUI mode. After recording, without parameterization check for the errorless recording by execution. If the recording is successful, then only go for parameterization otherwise do the corrections by rerecording if needed.
  • There can be some default settings for the parameters values on the user ID by which the recording is done. Make sure that before replaying those recorded eCATT scripts, the default user ID settings are done on the system on which the final execution will happen. Following such prerequisites in terms of user ID settings or some behavior of transaction of first run, in same session with some default data etc. always help in the successful execution of the scripts.
  • If the transaction to be recorded on R/3 involves dropdown list box, do the following setting before recording of that transaction. Due to following settings, the keys will be assigned to each item in the dropdown in sorted manner and recording will happen for these keys values. This helps in replaying the transaction successfully.
    • Log on to target R/3 system. On any transaction, click on Customizing Of Local Layout (Ctrl+F12) icon from the application toolbar. Select the Options -> Expert.
      P8optionsicon 43907 1772682
    • On the Expert tab, in the Controls section select the checkboxes of Show keys in all dropdown lists & Sort items by keys.
    • Transaction with dropdown without keys setting –
      P8dropdownwithoutkeyva01 43909 7839508
      Transaction with dropdown keys settings –
  • If the recording includes, adding some value to the table then don’t scroll up to blank line. Use directly the Create Item icon and then add the new values. Scrolling fails at the time of replay.
    P8tableaddnew 43911 9664366
  • If the recording includes searching some value from ALV grid and the value is known then don’t scroll and look for the value. Use the Search icon from the ALV toolbar for searching. Once the search item is found, then click on the item for further processing.
  • It happens at times that the screen size reduces at the time of recording in width and height. In such scenario if the field to be captured during recording is present somewhere at the bottom, then don’t scroll. Use the TAB key till that field is reached. Due to Scroll functionality possibility of script failure becomes high.
  • It is not possible to capture the value from a dynamically generated list. If the recording includes a dynamically generated list and one value (which is not known until execution) from this list needs to pass to the subsequent step in recording then use foreground mode of recording for this dynamically generated list. Use WAIT XXX statement after its recording. During this WAIT XXX seconds, capture the value from the generated list manually and pass it to the next recording.
SAPGUI & TCD Recording Modes:
  • Error messages can be recorded and replayed by Only SAPGUI recording mode and NOT by TCD mode.
  • Warning messages are automatically handled by TCD mode but in SAPGUI recording mode they need to be handled if they require user intervention for further processing. (E.g. Pressing and enter key will enable all the fields after warning message)
  • Screens can be made Optional for execution in SAPGUI mode. This optional screen will be handled automatically at runtime even if not in the screens flow. But in TCD screens can’t be made optional which may or may not occur during execution. Rather in TCD screens can be made active or deactivated in the cases where depending on some input values, the recording can be reused. The screens sequence should be known well in advance in TCD for making any screen active or not.
  • Only local variables from the eCATT Parameters can be used in Inline ABAP code. Import and Export parameter are not allowed.
  • Passing values to subsequent screens at runtime is only possible in SAPGUI and not in TCD mode.
  • SAPGUI Confirm Popup:
    In order to avoid the following popup for SAPGUI recording, option is available in R/3 System.
    Sapguipopup 43913 2231730
    Click on the icon with tool tip Customizing Of Local Layout (Alt+F12) in the standard toolbar on any transaction of R/3 system. Select the Options menu.

    From the Options -> Scripting, uncheck the check box of Notify when a script attaches to a running GUI. Click on Apply -> Ok. The popup won’t appear onwards.
    Sapguipopupchkbox 43915 8417434
  • Making SAPGUI Screen Optional:
    It is possible in SAPGUI recording mode to make screens optional.
    Double click on the screen or message popup, which needed to make optional on the left side in the command editor. On right side, the interface will open. Under the ProcessedScreen node, first option is Active ‘X’.Change Active ‘X’ to ‘O’.

    ‘X’ – Active (Compulsory will execute)
    ‘O’ – Optional (will execute only when it will be in execution flow).

eCATT Commands:
  • An eCATT script consists of individual eCATT commands. Each command begins with a command word and ends with a period. Comments (*) and assignments (=) are exceptions to this rule.
  • There can be several commands on the same line. Comments (*), assignments (=), and inline ABAP are exceptions to this rule.
  • E.g. of eCATT Commands are –
  • There are examples involving these eCATT commands, which can be found from the menu Goto-> Use Of Command.
    P8gotomenu 43917 1503586
  • On the next screen eCATT – Search Of eCATT Commands in Test Script, in the Command input field, give the name of the eCATT Command from the F4 help.

    And click on Execute (F8) button from the application toolbar. List of examples will be in the output.
Key Points Can Be Followed For Successful Testing Via eCATT:
  • Analysis of transactions with different behaviors for different sets of data. Finally selecting the set of data, which gives maximum possible messages/popup for the given transaction.
  • Automation along with the verification before final regression on Quality Server.
  • Preparation of variant files with details having comments on each value, which helps in preparation of data for the scripts before execution.
  • Analyzing the behavior of transactions for the background/ foreground execution mode. Accordingly preparation of packages for background & foreground execution.
  • Preparing the prerequisites for the regression as a whole considering the user ID settings. Also the transaction settings for those user IDs.
  • Maintaining the results in scorecard with log IDs for each location the scripts being tested during regression on Quality. This helps for future reference of script results. Scorecard can be something like as follows –
    P8scorecard 43919 8808608
eCATT Weblog Links From SDN:
  • eCATT An Introduction (Part I)
    eCATT – An Introduction (PART I)
  • eCATT Scripts Creation – TCD Mode (Part II)
  • eCATT Scripts Creation – SAPGUI Mode (Part II)
    eCATT Scripts Creation – SAPGUI Mode (PART III)
  • eCATT Chaining, Parameterization, Creation Of Test Data, Test Configuration, System Data (Part IV)
    eCATT Chaining, Parameterization, Creation Of Test Data,Test Configuration, System Data (PART IV)
  • eCATT Scripts Management Via Test Workbench (Part V)
    eCATT Scripts Management Via Test Workbench (PART V)
  • eCATT Logs (Part VI)
    eCATT Logs (PART VI)
  • eCATT Scripts Creation Non User Interface Mode & Rename, Copy, Delete, Upload & Download eCATT Objects:
    eCATT Scripts Creation Non-User Interface Mode & Rename, Copy, Delete, Upload, Download eCATT Objects(PART VII)
  • eCATT – Creating A Test Case For WebDynpro:
    eCATT : Creating a Test Case for a Web Dynpro Application
eCATT Links From SAP Help:
eCATT Links From SAP Service Marketplace:

For accessing site from SAP Service Marketplace, user ID & Password is required.


Useful eCATT Links From SDN Forum:

New NetWeaver Information at

Very Helpfull



User Rating: Be the first one !