Sie sind auf Seite 1von 18

  

Home / Community / Blogs + Actions

eCATT Scripts Creation – TCD Mode (PART II)


April 10, 2006 | 1,757 Views |

Former Member

Retagging required

sapna modi

share 0 share tweet share

Follow RSS

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 will be
explained in detail. In the subsequent Parts, SAPGUI recording mode of recording and
other details of eCATT will be covered.
Steps Involved In Creation Of eCATT Test Scripts:

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Test script is generally series of steps (transactions) involving a business scenario.
Identification of right transactions for this script, which prepares the input data for the
script and also covers the planned business scenario, should be done.
Recording of test script by selecting proper recording mode.
Execution of test script immediately after recording without parameterization to confirm
the errorless recording.
Parameterization of the import, export & variable parameters.
Preparing variants using Test Data Container.
Linking Test Script (TS) & Test Data Container (TD) by Test Configuration (TC).
Execution of TS using TC for different Variants.

How To Identify Any Transaction For TCD Recording Mode:


If the transaction runs under SAP GUI for Windows or SAP GUI for Java, it can be
recorded by either TCD or SAP GUI mode.
If the transaction doesn’t have any activex controls then TCD recording mode can be
used.
If the transaction has activex controls and these controls are NOT mandatory for the
functionality of the transaction, then also TCD mode can be used as recording mode.

Key Features Of TCD Recording Mode:


It is suitable for the transactions not having activex controls, so it doesn’t require any GUI
playback mode.
It is very fast.
It has its own built in screen simulation for standard screen elements. Hence while
execution, the controls are deactivated and the user’s actions are simulated by reading
the recorded data flow.

Steps For Recording Using TCD Mode:


Transaction SECATT.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Give the name of the Test Script (TS) in Test Script input box. The Version input by
default is with value 1.
In the Attributes ->General Data Tab, the value of the Component will be BC-TWB-TST-
ECA for eCATT.
In the test script editor, choose the Editor tab.
Choose Pattern button from the application toolbar.
The Insert Statement dialog box appears.
From the Command Dropdown List, choose TCD (Record).
In the Transaction field, enter the transaction code of the transaction that you want to
record, and choose Enter.

In the Interface field, a system-generated name appears.


Accept the system-generated name or edit it.
If there is a system data container, you can enter the target system in the Target System
field.
Choose Enter.
The transaction starts recording.
Work through the transaction as normal.
When you leave the transaction, the system returns you to the script editor with the
Recording ended dialog box.
Choose Yes to transfer the data.
A TCD command and its associated Command Interface will be inserted in test script
editor of SECATT.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Execution of Recorded TCD script:
Once the recording of the transaction is done and the details of recording are taken back
to the test script editor, script can be executed.
First of all without parameterization the script should be executed to confirm the errorless
recording. At the runtime, a Start Options window appears. Give the following values on
this window –
Error Behavior with value S No termination, continue with next script.
System Data – Name of the system data container, which contains the Target
System.
Target System – Name of the server on which the execution will happen.
Select the Log Display check box.
In TCD section of window, select N – Process in background, synchronous local.
Click on Execute button.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Transaction will start executing, which appears at the bottom.
If the recording is error free, then success log will appear. And if there is any error in
recording of the transaction and its replay then error log with details will appear.
After the confirmation of error free recording, one can go ahead with parameterization of
the import, export & variables.
In SECATT transaction using Test Data (TD), variants can be prepared for the recorded
test script. In the Parameters tab, add all the parameters from the test script. This will
appear as ECATTDEFAULT in the Variants tab. Add multiple variants, as per requirement
in the Variants tab. Test Data is independent of test script. Hence can be reused wherever
required.
In SECATT transaction using Test Configuration (TC), the TD & TS can be linked together
on the Configuration tab. On the Variants tab, using Variant Maintenance Assistant
required variants values from TD could be linked to TC.
Finally the TC can be executed from SECATT directly by giving the required variant name
at runtime.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
The TC is used in managing the scripts in plans/packages using SCAT transaction.

Alert Moderator

30 Comments
You must be Logged on to comment or reply to a post.

Former Member

April 18, 2006 at 4:42 am

Hi,
I had the glance of this article, too good, very informative & excellent work.

Best of Luck for future articles.

Balaji Shinde.

like (0)

Former Member

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
April 18, 2006 at 4:42 am

Hi,
I had the glance of this article, too good, very informative & excellent work.

Best of Luck for future articles.

Balaji Shinde.

like (0)

Former Member

April 18, 2006 at 4:42 am

Hi,
I had the glance of this article, too good, very informative & excellent work.

Best of Luck for future articles.

Balaji Shinde.

like (0)

Former Member

April 18, 2006 at 5:06 am

Appreciate a hard work behind this precise document. Hope to see more articles in future!!
Umesh

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
like (0)

Former Member

April 18, 2006 at 5:06 am

Appreciate a hard work behind this precise document. Hope to see more articles in future!!
Umesh

like (0)

Former Member

April 18, 2006 at 5:06 am

Appreciate a hard work behind this precise document. Hope to see more articles in future!!
Umesh

like (0)

Former Member

April 19, 2006 at 1:00 am

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.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Thanks for such a nice article…Keep it up!!!

Regards,
Mangesh Vingkar

like (0)

Former Member

April 19, 2006 at 1:00 am

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

like (0)

Former Member

April 19, 2006 at 1:00 am

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.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Thanks for such a nice article…Keep it up!!!

Regards,
Mangesh Vingkar

like (0)

Former Member

April 25, 2006 at 2:35 am

Very much user-friendly & Informative article..Keep it up….

like (0)

Former Member

April 25, 2006 at 2:35 am

Very much user-friendly & Informative article..Keep it up….

like (0)

Former Member

April 25, 2006 at 2:35 am

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Very much user-friendly & Informative article..Keep it up….

like (0)

Former Member

April 26, 2006 at 1:42 am

Nice article. Easy to follow. All the steps are explained nicely.

like (0)

Former Member

April 26, 2006 at 1:42 am

Nice article. Easy to follow. All the steps are explained nicely.

like (0)

Former Member

April 26, 2006 at 1:42 am

Nice article. Easy to follow. All the steps are explained nicely.

like (0)

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Former Member

May 9, 2006 at 8:32 am

Hi…
Really good article to learn eCATT, very simple and precise explanation.
Keep up the work.
-Prasad Babu

like (0)

Former Member

May 9, 2006 at 8:32 am

Hi…
Really good article to learn eCATT, very simple and precise explanation.
Keep up the work.
-Prasad Babu

like (0)

Former Member

May 9, 2006 at 8:32 am

Hi…
Really good article to learn eCATT, very simple and precise explanation.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Keep up the work.
-Prasad Babu

like (0)

Former Member

January 17, 2007 at 6:46 am

thanks for putting the info together in a comprehensible way. This is VERY helpful and HIGHLY appreciated

like (0)

Former Member

January 17, 2007 at 6:46 am

thanks for putting the info together in a comprehensible way. This is VERY helpful and HIGHLY appreciated

like (0)

Former Member

January 17, 2007 at 6:46 am

thanks for putting the info together in a comprehensible way. This is VERY helpful and HIGHLY appreciated

like (0)

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Former Member

February 20, 2007 at 4:27 pm

Hi, a great introduction to eCATTS I have to say, I dont really understand how they went from the easy to use CATTs to
these…anyway.
I am currently trying to create an eCATT on ECC6, we would like to create a script for mass generation of Roles. We have
a tool that generates imput files for uploading in the Menu tab of the Profile Generator so we can generate roles with a
clean folder structure straight from our tool in a matter of seconds. I was trying to figure out a way to capture the parameter
that actually gets the path to the file to be uploaded, I can get most of the other fields to generate the profile properly,
except the file to generate the folder/tcode structure.

If anyone has any idea please reply, it would be really appreciated

like (0)

Former Member

February 20, 2007 at 4:27 pm

Hi, a great introduction to eCATTS I have to say, I dont really understand how they went from the easy to use CATTs to
these…anyway.
I am currently trying to create an eCATT on ECC6, we would like to create a script for mass generation of Roles. We have
a tool that generates imput files for uploading in the Menu tab of the Profile Generator so we can generate roles with a
clean folder structure straight from our tool in a matter of seconds. I was trying to figure out a way to capture the parameter
that actually gets the path to the file to be uploaded, I can get most of the other fields to generate the profile properly,
except the file to generate the folder/tcode structure.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
If anyone has any idea please reply, it would be really appreciated

like (0)

Former Member

February 20, 2007 at 4:27 pm

Hi, a great introduction to eCATTS I have to say, I dont really understand how they went from the easy to use CATTs to
these…anyway.
I am currently trying to create an eCATT on ECC6, we would like to create a script for mass generation of Roles. We have
a tool that generates imput files for uploading in the Menu tab of the Profile Generator so we can generate roles with a
clean folder structure straight from our tool in a matter of seconds. I was trying to figure out a way to capture the parameter
that actually gets the path to the file to be uploaded, I can get most of the other fields to generate the profile properly,
except the file to generate the folder/tcode structure.

If anyone has any idea please reply, it would be really appreciated

like (0)

Former Member

November 10, 2009 at 2:06 am

This is good article which removes mine very basic doubt and helps in completion of task.

like (0)

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Former Member

November 10, 2009 at 2:06 am

This is good article which removes mine very basic doubt and helps in completion of task.

like (0)

Former Member

November 10, 2009 at 2:06 am

This is good article which removes mine very basic doubt and helps in completion of task.

like (0)

Former Member

July 6, 2010 at 2:28 am

Really the great work… still useful after years.

thanks

like (0)

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Former Member

July 6, 2010 at 2:28 am

Really the great work… still useful after years.

thanks

like (0)

Former Member

July 6, 2010 at 2:28 am

Really the great work… still useful after years.

thanks

like (0)

Share & Follow

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Privacy

Legal Disclosure Terms of Use

Trademark Copyright

Sitemap Cookie Preferences

Newsletter

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD

Das könnte Ihnen auch gefallen