on 2005 Apr 01 8:07 AM
Hi,
I an an ABAPer and i have heard that eCATT is a test tool for SAP. I want to learn eCATT. I have an access to 4.7 system. Is it possible to learn eCATT on this system or do i need to install anything else. Is there any transaction available for this. Pls. let me know.
Also let me know, where can i find the good material on learning eCATT ( except from SAP help).
Thanks,
Pratik
You can learn eCATT on a 4.7 System - see SAP Note 519858 to find out the few simple steps you need to perform to get everything ready.
As well as the SAP Help Portal, you can find some eCATT information here on SDN - just search for the term "eCATT", and you will find presentations from last year's TechEd conference.
If you subscribe to SAP Professional Journal, there have been a couple of articles you might find interesting - in particular, there is an article in the Jan/Feb 2003 edition aimed at beginners.
Happy Testing!
Jon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are there any upcoming course offerings that deal with eCATT, Test Workbench or even the testing integration with Solution Manager? I have seen courses where these topics are mentioned as part of a larger course, but are there any courses that specifically target testing SAP with these tools? If these courses/webinars/classes exist and are being offered in the near future, what are the recommended prerequisite courses or skills that students should posses in order to get the most out of these learning opportunities?
OSS Note: Setting Up SAP Systems to Use eCATT
Symptom
You want to set up R/3 Systems to use eCATT
Other terms
eCATT
Reason and Prerequisites
eCATT can test target systems of Release 4.6C or higher, but runs only on the Web Application Server Release 6.20 or higher.
Solution
You need to:
Make the appropriate settings to the clients in which you want to use eCATT as follows:
o Start transaction SM31
o Enter table T000 and choose Maintain. You will be warned that the table is client-independent - ignore this warning.
o Double-click the relevant client in the list.
o Under Restrictions, choose a setting that allows CATT/eCATT in that client. For full information, refer to the eCATT Security Guide, available from http://service.sap.com/eCATT.
Patch the target Systems as follows:
o Release 6.20 Support Package SAPKB62003
o Release 6.10 Support Package SAPKB61017
o Release 4.6D Support Package SAPKB46D21
o Release 4.6C Support Package SAPKB46C32
Check that users have the appropriate authorizations.
o For more information, see the eCATT Security Guide
Install the latest 620 SAP GUI for Windows (with the SAP GUI Scripting component) on machines using external tools or using the SAPGUI command.
Enable scripting (if required).
o In transaction RZ11 set sapgui/user_scripting to TRUE (see note 480149).
o At the user's front-end machine, the 620 SAP GUI for Windows must have been installed. Choose Customizing of local layout -> Options... -> Scripting, and then select Enable Scripting.
Install certified external tools (if required) on the local machine of the user. For information about certified tools, refer to the SAP Partner Directory (http://www.sap.com/partners).
o Use function module SET_EXTERNAL_TOOL to make the required entries in the customizing table ECCUST_ET.
o In transaction SE38, run the program ECATT_GENERATE_ET_USER to create the service user required for communication with the external tool.
Create RFC destinations for target systems.
Regards
Gregor
There is a class CA611 that deals with eCATT and the Test Workbench. Unfortunately, it is only coming up in the global course catalog as running in German-speaking countries and the Netherlands right now. I can only recommend, if you want to take the class, that you contact your local SAP Education consultant or training center to tell them that you're interested.
It looks like SAP recently added a new eCATT class to their website. If enough people let them know of their interest, then maybe we can get one scheduled. Here is the link for those of you who are interested:
http://www50.sap.com/useducation/curriculum/course.asp?cid=60175339
Hi
I'm Creating eCATT's and i have 2 issues that i couldn't figure out.
Can anyone let me know
How to import variables from Test Script to Data Container in WAS 6.20 .
How to input the variables in data container, are variable to be filled in variants TAB in Data container or should be done with a external file as we do in CATT's.
Thanks
Srinivas
Hi Srinivas,
A test case is represented by a test configuration. The input parameters of a test script are automatically in the test configuration. From there, you can create your variants which contain your test data.
Test data containers are a further refinement. Test data containers contain variants like those in the test configuration. You can only use test data containers in combination with a test configuration.
Perhaps you knew that already.
Parameters in a test data container do not need to have the same names as those in the test configuration/test script. However, this can be convenient. In WAS 640, You can upload parameters from test scripts. In WAS 620, you have to manually create them as described in "Creating Test Data Containers" in the documentation.
Your second question: In WAS 620, you create the variants on the Variants tab (as you suggested). You then have to enter the data there manually, or by cut and paste from an external file. It is only with WAS 640 that the CATT-like upload of data from an external file has been implemeted.
For anyone interested in WAS 620, I would recommand browsing the WAS 640 documentation because the concepts are explained better there:
http://help.sap.com/saphelp_nw04/helpdata/en/20/e81c3b84e65e7be10000000a11402f/frameset.htm
Regards,
Martin
Hi All
I was able to create eCATT for SU01 and BP (business partner Creation CRM). But when i'm try to use the same BP and assign an user to a Sales code or a Bussiness partner i'm getting DATA_BAD_REFERENCE. A little reasearch helped me to come to this info.
IF the Screen Simulator does not work, Use the field list in the eCATT Structure Editor.
Mr.Jonathan Maidstone, Could you please give me more info about feild list's in eCATT.
Thanks
Srinivas
Hi Srinivas,
My recommendation is to always use the structure editor for parameterizing the TCD command. Use the simulator only as a visual help.
Jon's on holiday. I his absence, let me point you to the relevant sections of the documentation (follow the link in my preview reply).
Parameterizing the TCD Command Interface
TCD Command Interface
Regards,
Martin
Hi Martin,
This is Sankar Suvan.
How can I pass the data to the transaction through ECATT as we can do in CATT(External file)? You confirmed that with WAS 620 it is not possible.
I wanted to pass the data to a single transaction externally(say 10 records). How can i pass the data to the fields in the transaction.
I know that we can declare parameters. But those should get the values from the referenced test cases only.(?)No referenced test cases here. A single transaction.
And the second question is:
How can I select the contents dynamically based on certain condition. While recording whichever row we select in the ALV, that numbered row will be selected every time when we run that test case. But I wanted to select the row conditionally. How can I do this?
Thanks in advance.
For your first Question..
You need to Create a Test data Container to pass the data. Create a Test Data, Copy the variable from Script to the data container and input the Variable in variable Tab in data container. While executing the Script you again need to import it from the data container to the Test configration.
Please Go throught the Sap Help on eCATT, Link provided by martin in his previous replies.
> And the second question is:
> How can I select the contents dynamically based on
> on certain condition. While recording whichever row
> we select in the ALV, that numbered row will be
> selected every time when we run that test case. But I
> wanted to select the row conditionally. How can I do
> this?
>
> Thanks in advance.
We would also like to be able to dynamically select table rows. Let me know if you have a found a solution to this problem. If not we will let you know when we find an efficient method for accomplishing this task.
The parameter list in the test script editor is an example of a grid control. So, let us create a script with several parameters and use another script to modify the parameter list.
Recording with SAPGUI, you select the third row from the top and choose "insert row". Enter a new parameter name and description.
When you open up the relevant command interface, you will see somewhere under the UserChangedState node, insertRows and modifyCell. Parameter[1] has the value 2, that is the third row. You can parameterize this to select different rows.
Under modifyCell, Parameter[2] has the value 'PNAME' or 'PDESC' depending on the field selected. You can parameterize this as well to select different fields.
As Jon mentioned in a different post, reading values from the grid is not possible in 620. For those that are using 640, it is a simple matter with GETGUI.
Best regards,
Martin
hi all,
i think the below example is help you to upload a text file in ecatt 620.
this example used XD01 transaction using sapgui recording.
TO GET THE DATA FROM EXTERNAL FILE IN 6.20.
EXAMPLE:
decalare
parameter description value i/e/v para ref.
-
P_NAME NAME <INITIAL> V NAME1_GP
P_COUNTER COUNTER 1 V
P_SYTFILL SYTFILL V
TYPES : BEGIN OF t_type ,
name LIKE kna1-name1,
END OF t_type .
DATA : w_data TYPE t_type.
STATICS t_itab TYPE STANDARD TABLE OF t_type INITIAL SIZE 0.
IF P_SYTFILL IS INITIAL.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = 'C:\DATA1.TXT'
filetype = 'ASC'
CHANGING
data_tab = t_itab.
DESCRIBE TABLE T_ITAB.
P_SYTFILL = SY-TFILL.
ENDIF.
read table t_itab index P_COUNTER INTO W_DATA.
P_NAME = W_DATA-NAME.
P_COUNTER = P_COUNTER + 1.
ENDABAP.
SAPGUI ( SAPGUI_1 ).
EXIT ( P_COUNTER = &LPC).
ENDDO.
Message was edited by: sharad agarwal
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.