Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

eCATT Question

Former Member
0 Likes
1,194

Hi All,

I needed some information related to eCATT.

We want to upload the data for eCATT execution through an external text file.

We have created the Test script(TS),Test Data container(TD) and the Test Configuration(TC) .

The variants come up from the text file to the test data container when we upload through

EDIT->VARIANTS->UPLOAD.

We have also copied the parameters from the TD to the TS by

EDIT->PARAMETER INTERFACE ->IMPORT.

In the TS these parameters are assigned to the proper fields where the value needs to be populated.

The problem is that when we run the TS these values are not getting uploaded to the parameters of the TS.

Needed your help in solving this problem.

Regards,

Rupesh.

6 REPLIES 6
Read only

Former Member
0 Likes
889

Hi all,

Can anyone let me know how to get the below problem solved?

Regards,

Rupesh R Nair.

Read only

0 Likes
889

Hi Rupesh,

This is Sam...remember we worked in Infy together....:) how r u man? Where are u currently working??

Cheers,

Sam

Read only

ashok_kumar24
Contributor
0 Likes
889

Hi Rupesh,

Good Check out the following documentation

Purpose

Use extended Computer Aided Test Tool (eCATT) to create and execute functional tests for software. The primary aim is the automatic testing of SAP business processes. Each test generates a detailed log that documents the test process and results.

eCATT enables automatic testing in SAP GUI for Windows and SAP GUI for Java. In order to offer a complete test solution that covers other GUIs, eCATT has interfaces to third party tools.

Implementation Considerations

Test cases usually make database changes. Therefore, you should not normally run them in productive systems.

In general, do not use eCATT to manipulate data in a productive system: eCATT is a test tool. Instead, use techniques such as Batch Input.

Integration

eCATT can be used with the Test Workbench.

You can migrate test cases from Computer Aided Test Tool (CATT) to take advantage of the better features of eCATT.

eCATT is also integrated with the Object Navigator (SE80).

Features

You can:

· Test transactions, reports, and scenarios

· Call BAPIs and function modules

· Test remote systems

· Check authorizations (user profiles)

· Test updates (database, applications, GUI)

· Test the effect of changes to customizing settings

· Check system messages

Constraints

eCATT runs in a system based on SAP Web Application Server 6.20 or higher. However, you can use this system to test systems with Release 4.6C or higher.

Check out the following documentation

ECATT is automated testing tool developed by sap for functional testing.

http://www.sapdevelopment.co.uk/testing/ecatt.htm

Check my weblogs too.

/people/community.user/blog/2007/02/05/create-and-migrate-catt-to-ecatt-part-1

/people/community.user/blog/2007/02/06/create-and-migrate-catt-to-ecatt-part-2

/people/community.user/blog/2007/01/22/integrating-ecatt-mercury-qtp-part-3

/people/community.user/blog/2007/01/15/integrating-ecatt-mercury-qtp-part-2

/people/community.user/blog/2007/01/02/integrating-ecatt-mercury-qtp-part-1

extended Computer Aided Test Tool (eCATT) is use to create and execute functional tests for software.

eCATT Tutorial

http://help.sap.com/saphelp_sm40/helpdata/EN/fd/4f6b3f3d643b3be10000000a114084/content.htm

Following are the individual article links on SDN for SAP eCATT Weblogs. Kindly comment on them -

1. eCATT An Introduction(Part I)

/people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i

2. eCATT Scripts Creation - TCD Mode (Part II)

/people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii

3. eCATT Scripts Creation - SAPGUI Mode (Part II )

/people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii

4. eCATT Chaining, Parameterization, Creation Of Test Data,Test Configuration, System Data (Part IV)

/people/sapna.modi/blog/2006/04/18/ecatt-chaining-parameterization-creation-of-test-datatest-configuration-system-data-part-iv

5. eCATT Scripts Management Via Test Workbench(Part V)

/people/sapna.modi/blog/2006/04/13/ecatt-scripts-management-via-test-workbench-part-v

6. eCATT Logs (Part VI)

/people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi

7. eCATT Scripts Creation Non-User Interface Mode & Rename, Copy, Delete, Upload, Download eCATT Objects(Part VII)

/people/sapna.modi/blog/2006/04/19/ecatt-scripts-creation-non-user-interface-mode-rename-copy-delete-upload-download-ecatt-objectspart-vii

8. eCATT Tips Of Recording, Testing & Links (Part VIII)

/people/sapna.modi/blog/2006/04/24/ecatt-tips-of-recording-testing-links-part-viii

ERPGenie.COM -> The Home of SAP R3 ABAP -> ABAP utilities -> eCATT

Extended Computer Aided Test Tool

Working with eCATT (Extended Computer Aided Test Tool)

(By: KVR Prasad Babu[11] , Infotech Enterprises Ltd[12] , email: rajendraprasadbk@infotechsw.com[13] )

Description:

In this article first I will introduce some of the basic concepts regarding eCATT[14] and then we will see how to develop a test script to upload a test data file with a practical example.

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.7X and it end with an example.

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,

What is eCATT?

How to load test data from a file in 4.7X with an example?

What is eCATT?

eCATT stands for extended Computer Aided Test Tool (eCATT) which is built is testing tool to test SAP system. By using testing tool we can test the entire business process, and we can also use this tool with a third party testing tool (I am not covering this topic). 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,

· Test transactions, reports, and scenarios

· Call BAPIs and function modules

· Test remote systems

· Check authorizations (user profiles)

· Test updates (database, applications, GUI)

· Test the effect of changes to customizing settings

· Check system messages

For more information go to: eCATT::Extended Computer Aided Test Tool (sdn.com)

Here I am discussing fundamentals about eCATT in detail. You can find very good documentation in sdn.com.

To develop a test script in eCATT we need to follow the following steps,

1. Creating Test Scripts.

2. Creating Test Data Containers[16] .

3. Understanding System Data Containers[17] .

4. Executing Test Configurations.

There is a very good web blog on eCATT in sdn.com which explains eCATT with necessary screen shots. To read document click here Blog on eCATT in sdn.com

Good Luck and thanks

AK

Read only

0 Likes
889

Hi AK,

I have gone through this weblogs and documentation but cudn't find how to upload the test file as I have specified.

Thanks for your help.

Regards,

Rupesh R Nair

Read only

0 Likes
889

Downloading Variants

1.      In the test data editor or test configuration editor, choose Edit -> Variants ->-> Download.

The Save as dialog box appears.

2.      In the File name field, enter a name for the file.

3.      In the Save as type field, select TXT.

4.      In the Save in field, browse to the folder where the file is to be saved then fill in the variants in the same pattern and save it after u can start below steps.

5.      Choose Save.

In a test configuration, a dialog box gives you the option to replace references to test data containers with the fixed values.

Uploading Variants

1.      In the test data editor or test configuration editor, choose Edit  -> Variants ->-> Upload.

2.      In the dialog box, browse to the folder where the file is stored and select the file.

3.      Choose Open.

4.      Specify whether the existing variants should be deleted before the external variants are uploaded.

Read only

Former Member
0 Likes
889

Hi,

I was facing the same issue and this is how i resolved it.

Download the variants file from Edit-->Variants--> Download. Once this file is downloaded in your desktop, make sure you open the file in the notepad and fill in the variants in the same pattern as you will be able to see your default variants. Then save the text file and upload the variants from Edit-->Variants-->Upload.

Make sure you give the External Variants/path correctly and give your variants File path.