Sie sind auf Seite 1von 5

SAP Network Blog: eCATT - An Introduction (PART I)

Page 1 of 5

Blogs

eCATT - An Introduction (PART I)


Sapna Modi Business Card Company: Larsen &Toubro Infotech Ltd. Posted on Apr. 10, 2006 08:59 PM in Application Server, Emerging Technologies

Subscribe Print Permalink

What Is eCATT?
eCATT is a SAP Testing Tool, which can be used to automate & test business scenarios in R/3. One can create and execute the eCATT scripts based on business processes mapped in R/3. These scripts can be then tested before go live to Production server. If needed eCATT can be used in production server also provided exact functionality of its usage should be known. After testing, eCATT generates a detailed log depending on the processes executed. If the testing is smooth with success mode, this means the business scenarios mapped in R/3 system are correct. And if the test results in error than one can analyze the problems from the generated error log. Thus helps in analyzing the error.

What Are The Various Ways Of Doing Testing?


Testing can be done by various ways like Manually, using CATT etc.

Why To Use eCATT?


CATT will be no longer supported for the creation of new development. So those using CATT are forced to update to use eCATT. Comparative to manual testing, the following are advantages of using eCATT Due to automation, testing time is reduced to a large extent. Due to automation, less manpower is required for testing. This helps financially. Due to automation, manual errors are reduced to large extent. Hence results in error free testing. This helps, as no further problems will occur while the usage of R/3 system by end users and hence increases the efficiency. Proved to be extremely useful in Rollout projects.

eCATT Prequisites:
Web Application Server (WAS) 6.20 or more. SAPGUI 6.20 or more. R/3 4.6C or more. (Target system must have sufficient support package level (Details available in SAP Note 519858) or SAP R/3 Enterprise Release 4.7. Before creating Test Scripts using eCATT, some system settings need to be done Maintaining Table T000 Start transaction SM31, Maintain Table Views. In the Table/View field, enter T000. Choose Maintain. In the Change View Clients, Overview screen, select the relevant client and choose. In the Restrictions when starting CATT and eCATT field, select an entry that allows eCATT.

Enabling Scripting at the front End. (Check whether SAP GUI Scripting component is installed. There is an option for installing this component when installing the SAP GUI.) On any screen, choose Customizing of local layout from the Standard Toolbar. Choose Options. Choose the Scripting tab. Select Enable Scripting. Choose Apply.

Enabling Scripting on application server. Start transaction RZ11. On the Maintain Profile Parameters screen, enter sapgui/user_scripting. Choose Display. In the Display Profile Parameter Attributes screen, choose Change value from Application Toolbar. Enter TRUE in the New value field.

The R/3 users executing eCATT scripts should have RFC authorizations.

Features Available In eCATT:

https://weblogs.sdn.sap.com/pub/wlg/3334

14-11-2008

SAP Network Blog: eCATT - An Introduction (PART I)

Page 2 of 5

Test transactions and reports. Test remote systems. Check authorizations (user profiles). Test database updates. Set up customizing tables. Test the effect of changes to customizing settings. Perform load testing. Check system messages. Call BAPIs and function modules. Integrated with Test Workbench, so allows proper management of scripts using SCAT transaction. Supports CATT migration to eCATT. All eCATT Objects are Repository Objects. Therefore one can take advantage of Standard SAP Transport Tools. eCATT Objects can easily download & upload in XML with XSD format. There can be several versions of Test Scripts, which allows different implementations with different releases. The separation of Test Scripts, Test Data & System Data allows for a considerable degree of reuse.

Ways Of Doing Testing In eCATT:


eCATT enables to test all mySAP applications, including those running outside of SAP GUI for Windows and SAP GUI for Java. There are four different drivers available in eCATT for this testing purpose as follows Non-User Interface: Suitable for testing backend R/3 specific modules like function modules & BAPIs, Interfaces testing in mySAP environment, load testing. TCD: Suitable for testing transactions (especially who dont involve activex controls), load testing. Doesnt require GUI for playback, so offers maximum speed for testing. SAPGUI Scripting: Suitable for testing transactions, who involve activex controls. Requires GUI for playback & hence very slow. Not suitable for load testing. Interface To External Tools: External products, which are certified against BC-eCATT Interface, can be tested who run under GUIs (Other than SAP GUI for Windows & SAP GUI for JAVA) using eCATT.

Transaction For Using eCATT:


Choose SAP menu-> Test->Test Workbench->CATT->Extended CATT. Transaction code SECATT.

Editors Available In eCATT From SECATT Transaction:


Test Configuration Editor: Used to maintain Test Configuration object. Test Configuration data object contains set of reference to a Test Script, System Data Container & several Test Data Containers. It contains all the information necessary to run an automatic test without further user interaction. Test Script Editor: Used to create & maintain Test Scripts. There are some recording functions available in this editor. Test Script Editor has following areas: Application Toolbar. Information Area Editor Tab Parameter List Command Editor Structure Editor Attribute Tab Test script data object contains an executable script & an interface for data transfer.

Test Data Editor: Used to create & maintain the Test Data Containers. Test Data Containers are the data objects, which contain a set of parameters that can be maintained independently of a test script. Parameters can be ABAP simple types, structures, or tables. System Data Editor: Used to create & maintain the System Data Containers. System Data Containers are the data objects, which identify instances of SAP systems. They can be maintained independently of the test script like Test Data Containers.

Sapna Modi is a Software Engineer.


Add to: del.icio.us | Digg | Reddit

https://weblogs.sdn.sap.com/pub/wlg/3334

14-11-2008

SAP Network Blog: eCATT - An Introduction (PART I)

Page 3 of 5

eCATT - Future Of Testing Comment on this weblog Showing messages 1 through 27 of 27.

Titles Only Why Solution Manager is not mentioned? 2008-05-08 13:49:03 jennifer lee Business Card [Reply] This is a good blog.

Main Topics

Oldest First

However, I do NOT see SM4.0(or SM7.0) is mentioned here. Why? Thanks! ECATT Log issue... 2008-03-24 08:20:50 Sampath Eggadi Business Card [Reply] Hi Swapna, I am running a test configuration with test script where in TCD is defined on F-28 for customer line items payment posting. I am executing this test config using external variants.

After execution if I see the log, execution is terminated if the first record is an erroneous one and not proceeding further with next records in the input file. Execution ended abruptly here after first record got into error.

But if I use ON_LAST_MESSAGE_CHECK ( * ) command all the records are getting processed but log is not displayed properly.

Even if a record is not posted and was erred. Still log is indicated in green and perceived as successful if we do not expand the node.

Code in the script is as below. **************************************** ON_LAST_MESSAGE_CHECK ( * ).

* TCD Transaction /////////////////////. TCD ( F-28 , F_1 ).

LOG ( &MSG ). ****************************************

Hoping for your kind attention and solution.

Regards Sampath excellent... 2008-02-18 09:34:00 Hari Priya pampana Business Card [Reply] excellent..... the best way of presentation.....

need's further clarification.

regards, ramesh... eCATT 2007-06-28 16:16:28 Sandeep Gupta Business Card [Reply] eCATT can be used to do customizing. I suppose this is done using BC sets. Is anyone aware as to how to create ecatt scripts for customizing, using BC sets? Great Work.. 2007-05-14 23:19:31 Rohit Gaharwar Business Card [Reply] Keep it up...looking for more blogs like this... Excellent Article 2007-04-11 00:15:44 C Prabhu Shankar Business Card [Reply] Hi Sapna , It was a great write-up about eCATT, very useful to functional consultants like me...keep up the good work.. Thanx... Prabhu wonderful 2007-01-17 07:53:17 Bill Bianca Business Card [Reply] Hallo Sapna, I've read all 4 sections of your eCATT introduction and I'm really impressed by your work. It's easy to understand and to follow by Thank you so much for your effort - it's highly appreciated. Good luck for your further career Great job

https://weblogs.sdn.sap.com/pub/wlg/3334

14-11-2008

SAP Network Blog: eCATT - An Introduction (PART I)

Page 4 of 5

2006-08-28 04:16:57 Sachin B Business Card [Reply] Hi Sapna, This is one of the best articles i have seen on eCATT. Keep up the good work.

Regards, Sachin

Further clarification needed 2006-08-22 05:49:34 Giridhargopal H Business Card [Reply] Hi, I went thro all the weblogs posted by you on ecatt. It is very much helpful. I am stuck at one of the step in recording in SAPGUI. Request your help in this regard. The issue is how to handle ecatt recording for the HTML control. I am recording the co60 , (PI sheet cockpit). I am doing this recording thro SAPGUI mode.

Further clarification needed 2006-09-13 01:52:06 Sapna Modi Business Card [Reply] Hello Giridhargopal, If this transaction co60 interacts with web or is on web using some HTML controls then eCATT can't record it. For web based transactions or related Mercury is the recording tool. Once the scripts are recorded in Mercury, they can link to SAP via eCATT.

Hope this helps.

Regards, Sapna N. Modi Good Article 2006-08-10 01:12:03 Eduardo Au Business Card [Reply] Hi Sapna, Thanks for yr effort on explaning the ecatt. Easy to understand and much better than the online doc. Good one 2006-05-08 00:44:02 jigs d Business Card [Reply] Hi sapna, Its really nice that u have posted so many blogs for eCATT. All are very helpful to understand eCATT. Keep it up. Thanks, Jigs Very Good Weblog 2006-05-03 22:29:09 Shivanand Patil Business Card [Reply]

Excellent work done by you Excellent Job!!! 2006-05-03 06:19:54 Raman Gaddam Business Card [Reply] Great knowledge. Thanks Raman Good article 2006-04-26 03:36:45 Viswanath Hiremath Business Card [Reply] Nice article. Helps in understanding the eCATT testing tool. Keep it up 2006-04-25 04:29:18 ganesh papat Business Card [Reply] It's Nice Introduction to e Catt. Keep it up!!! 2006-04-19 02:57:47 Mangesh Vingkar Business Card [Reply] Sincere and dedicated efforts!!! This article is very informative and useful. Even a layman can use this article to understand eCATT. The flow of the information throughout the article is very nice. The author has taken lot of efforts to explain difficult concept in a simple manner. Thanks for such a nice article...Keep it up!!!

Regards, Mangesh Vingkar

https://weblogs.sdn.sap.com/pub/wlg/3334

14-11-2008

SAP Network Blog: eCATT - An Introduction (PART I)

Page 5 of 5

Good Work 2006-04-18 23:23:06 Amarendar Kumar Business Card [Reply] Let me first have few words of appreciation for the efforts you have put on in compiling all the information at one place. The article is too good because good is no better these days, very informative & excellent work. Keep it up Hope to read more such articles in near future. Amarendar Kumar A nice article 2006-04-18 07:14:04 Umesh Kulkarni Business Card [Reply] Hi, Nice article Sapna. Would like to know various other applications as well...e-catt could be more versatile than a testing tool? Umesh Great artical 2006-04-18 06:39:29 Balaji Shinde Business Card [Reply] I had the glance of this article, too good, very informative & excellent work, It seems that you have put in lot of hard work. Keep it up, keep the tempo on all the time to add the study material to the knowledge Bank. Best of Luck for future articles.

Balaji Shinde. Nice Blog 2006-04-14 02:26:54 Deepali Darne Business Card [Reply] Good article on eCATT. A Very Informative Article! 2006-04-12 05:57:25 Abhijit A Business Card [Reply] Hi Sapna... It's a very Informative article. Best Wishes. Abhijit Awasarikar Very useful article on eCATT 2006-04-12 03:19:08 Rahul Shinde Business Card [Reply] Very good information about eCATT & waiting for further articles. Very Useful Article for eCATT users. 2006-04-12 01:17:33 Shilpa Patel Business Card [Reply] Extremely informative and well organized article on eCATT testing tool. Nice Article on eCATT. 2006-04-11 23:59:20 Tushar Mundlik Business Card [Reply] Very good article which can help SAP testing beginners to understand indispensable aspects of eCATT. Good job 2006-04-11 02:25:17 allan faure Business Card [Reply] It's a nice introduction to e-catt. Best Regards. Great Job!!! . 2006-05-04 10:36:24 Sainarayanan Kumbeswaran Business Card [Reply] Hi Sapna Excellent article !!!

Thanks and Best Wishes Sai

Showing messages 1 through 27 of 27.

https://weblogs.sdn.sap.com/pub/wlg/3334

14-11-2008

Das könnte Ihnen auch gefallen