ECATT SAP PDF
eCATT (extended Computer Aided Test Tool) is an SAP Testing Tool used to automate & test business scenarios in SAP R/3. Each test that was executed on. SECATT is used in similar way as used by other SAP tool like LSMW/BDC in From administrative point of view, system should be allowed with eCATT and. I would like to share some of my experiences with eCATT, in which am currently Aided Test Tool (eCATT) which is built is testing tool to test SAP system.
|Published (Last):||20 March 2017|
|PDF File Size:||12.75 Mb|
|ePub File Size:||15.8 Mb|
|Price:||Free* [*Free Regsitration Required]|
Hello friends my name is Prasad Babu. I would like to share some of my experiences with eCATT, in which am currently working on. So in precise in this article you will see what eCATT is, how we can use it; how we can load a test data from a file in 4.
After reading this article you will have a clear idea about eCATT tool. And you will be able to write a test script in which test data can be loaded from a file. This article is divided into following sections.
eCATT – Wikipedia
Execution of every test script ends with a log, which explains the results of the test script. By using eCATT we can do following operations. You can sqp very good documentation in sdn. To develop a test script in eCATT we need to follow the following steps. Creating Test Data Containers . Understanding System Data Containers . There is a very good web blog on eCATT in sdn.
Loading test data from a file in 4. In this article I have given an example on transaction code MM01 with sample code. To upload the test ecayt file follow the steps given.
Working with SAP eCATT
Version number can be used to maintain different program constructs under same program name. Select editor tab panel. This opens a ‘insert statement’ dialog box. In that command dropdown box choose TDC Record option.
Initial screen’ will appear. Enter the necessary fields. And be careful while recording, if not recording may fail. Note that while recording no error messages should pop up. If they happen restart the recording process. Here in this example I have considered a simple recording process. You can do any complex recording. If you have any doubts do feel free to mail me.
I will reply to you. After completing the recording process recording ended dialog will appear. Choose ‘ Yes ‘. Then a TCD statement will appear in the editor area. With this we have finished recording. Now let us see the variable declaration, assignment and programming part. After developing as number of scripts I found one simple method to develop these test scripts. If you feel comfortable with this method you can also use it.
First note down the all screen fields in which you are entering values during recording process. Then create local variables in eCATT with the same name as the screen field technical name. This method makes assignment easier. In MM01 material master I have entered values for material, industry sector and material type. And their respective technical screen field values are.
To find out technical value of the screen field select the field press F1, then clicks on technical information button. And now create the local variable as.
After declaring all the parameter it will look like this. After declaring the local variables we need to assign them to screen field values.
This will take you to the command interface which look like.
After changing the values the interface look like this. Repeat the above step with all the screen field values. With this we have finished the process of declaring and assigning variables. Now we will see how to program and run the script successfully. To write the program we need to follow two steps. Let us see how to handle the things. Before we start writing the program we need to declare some local variables to run he example program sa which help us to store values between two ABAP blocks.
So we need to declare some intermediate variables they are. Holds the number of records. Holds file path of the test data file. Index to read next from the file.
I am giving sample code to get the number of records from file in eCATT. Use this code and try for MM01 for Basic view. It will work fine. This is very simple ABAP code. For understanding purpose necessary comments are provided.
eCATT Tutorial and Step-by-Step Guide
Looping through the records count number of times and reading from the internal table and passing sqp to the screen field values. This sample code explains how to read, and pass values to the screen. With this we have finished programming. Finally we need to prepare the test data file and execute the program either in Foreground or Background mode.
Please note that data in test file should resemble the order of the elements in the internal table. Other wise sxp won’t work. To execute the given test script, follow the steps, copy the code given and declare the necessary variables. These programs are tested and running well on many, but not all SAP versions. The author is not fcatt for any data loss or other kind of damage originating from the unintentional or intentional misuse of these programs.
The person, who implements these programs, have to ecayt sure that such damage does not happen. My email id is prasadbabu. Please feel free to mail any comments and suggestion on this document.
To send comments, suggestions. The main reasons for this are reusability and maintainability. Test data containers and a test script are brought together in test configuration to create an executable test case. The system data container contains a list of target systems. I – Import parameter. E – Export parameter. How to load test data from a file in 4.
To develop a test script in eCATT we need to follow the following steps, 1. With this we have finished recording Now let us see the variable declaration, assignment and programming part. After declaring all the parameter it will look like this, After declaring the local variables we need to assign them to screen field values. This will take you to the command interface which look like, To assign the screen field values double click on the ‘FIELD’.