Steps in ECATT
HI,
I am totally new to the eCATT field.
My main concern is to upload data from external file. How do I do that? If i receive the feedback by steps how to upload, it will be really great. And also like to know the below:
1. What are the advantages in eCATT compared to CATT?
2. I got an error while executing test data. (SV900 this entry already exist - How can I resolve this error). I couldn't process further as I don't have an idea what to do?
Thanks in advance for any help provided.
Karthick
Hello Karthick,
1. Uploading data from external file -
1a. For uploading data, for Web AS 6.20, recommended way is to use SCAT transaction.
1b. You can also record the required transaction using SECATT for which data will be uploaded. And then load this data from external file to the variants. Execute this automated script for all those variants.
2. Advantages in eCATT compared to CATT -
2a. eCATT is enhanced successor of CATT available from Web AS 6.20 & more.
2b. CATT won't be no longer supported by SAP so one is forced to use eCATT.
2c - eCATT is purely functional tool. Very easy to use. No programming knowledge is mandatory for using eCATT.
-CATT involves more of programming knowledge.
3. The error you are getting is due to repeatability of data while execution. The transaction needs unique data for every run it seems. Correct the data and try to execute again. You can try with different sets of data for different behavior of transactions. Analysis can be done from the eCATT log. This will help in understanding of input data to be given to the automated script.
PS If the answer helps you, do reward points to everyone responding.
Regards
Similar Messages
-
Hi gurus,
We have a requirement to upload data using CATT in 4.7c version. I have never used this technique of data upload. I also want to know about the difference between CATT and eCATT. Plz send me the detail steps with screen-shots if possible.
Plz help me....Chk thes links.
/people/sapna.modi/blog/2006/04/24/ecatt-tips-of-recording-testing-links-part-viii
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CATS/CATS.pdf
Computer-Aided Test Tool (CATT), which is freely available within your SAP landscape, to automate your testing activities and save your project team considerable time.
you can leverage CATT to test end-to-end processes like order-tocash or purchase-to-pay.
Extended CATT (eCATT), a functional testing tool that resides in SAP Web Application Server.
Step through examples of how eCATT can be used to test data across multiple systems.
You can integrate eCATT into SAP Solution Manager to manage your test cases from a central place. -
GL account master upload steps using ECATT
Hello Friends,
If any one have step by step procedure to upload GL account moster(FI) using CATT method than please forward me on "[email protected]" Please ASAP its my kind request.
Thanx & Regards,
Rahul TaleleHi,
Go to path : Accounting -->Financial Accounting -->General Ledger -->Master Records -->G/L Accounts -->Collective Processing -->OB_GLACC11 - Chart of Accounts Data / OB_GLACC12 - Company Code Data / OB_GLACC13 - Descriptions click on OB_GLACC11 or OB_GLACC12
And enter give company code and Execute (F8) click on Select all records click on Print button and click on List > Save / send>File an select Spreadsheet and enter and save the excel sheet and upload through LSMW
Thanks,
Raviteja -
ECATT - Running in Foreground (Enter Key)
We have recorded the transaction VA01,(header and line items) using command tcd.
We are running it in foreground with an external variant . If I press the enter key step by step , the ecatt does not stop and everything works fine. When trying to run the same way with enter key pressed (not removing the finger away from the key) , the ecatt errors randomly. Have any of you had this issue?Hi,
The check box can be found in the following location:
On the main screen of SAP, there is a Customize local layout icon. Select this and go to options. Select on the expert tab. Then you will see Batch input, and the dial box for OK code.
Thanks,
mark -
Hi,
I have to create SCATT for the following.
Select vendors with payment method T in a company code
Table LFB1-ZWELS
Find all open items for these vendors
FBL1N
Update the payment currency to USD
FB02 .
Please guide me step by step to do this in scatt with transaction codes.
Thanks in advance.
MichealHi,
Transaction code is SECATT for recording of scripts and SCAT for managing them.
I have written series of 9 articles step by step for eCATT. Kindly find the following link for details -
/people/sapna.modi/blog
Hope this helps you.
PS If the answer solves your query, plz close the thread by rewarding each reply and marking it Sovled.
Regards -
Hi experts,
I have to upload legacy data into SAP by using eCATT recording Transaction. For doing this I have completed Test script in tcode SECATT. After this what I have to do.. How can I attach my legacy file.. Can anyone help me. ..Its really urgenthi silviya,
check these threads...
/people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
Steps in ECATT
uploading data from external files with multiple entries in ecatt
ecatt upload
Error in executing eCATT GUI Script
hope these help,
do reward if it helps,
priya. -
Build an automatic eCATT with several steps
Hi!
I looking for suitable documentation for e-CATT (e.g. how to build and integrate automatic e-CATT scenarios).
I have created very simple eCATT from tcode SECATT (for tcode MM01 in SAP ECC 05 system) and would like to extend this functionality:
Especially the following information is of big interest for me:
- how to build an eCATT with several steps (e.g. including several transactions)
- how to do this automatically (in a loop)
Any helpful information or examples will be appreciated.
Thank you!
regards
ThomHi Thom,
Refer the following link for material on eCATT.
http://www.sap-press.de/katalog/buecher/htmlleseproben/gp/htmlprobID-54
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Jan 11, 2008 2:58 PM -
How to load Test data from a Text file in ECATT
Hi,
I have created a test configuration with a test script, system data container, and test data container.
I have done the recording of a transaction and created the script. Parameterization is done for the script and have imported those parameters from script in to the data container.
I am trying to load a the data from a text file on the local work-station. The data is not being read.
Please explain this in detail (step by step) as I am very new to ECATT.
I am trying this on SAP ECC 6.0 IDES server.
Thanks in Advance
Vikas PatilPlease explain this in detail (step by step) as I am very new to ECATT.
Thanks in Advance
Vikas Patil -
Runtime Error while executing eCATT Script
Hello @All,
I worte a small eCATT script to stop the time a certain process needs to finish. The way I did this was to use the SAPGui (Record) method in eCATT.
This does work fine.
The second step I tried was to log the time and write it in a table to work with the times.
If I do this I always get an runtime error, I know why it appears but I do not have any idea how to solve this.
My script is:
message ( UZEIT ).
SAPGUI ( CC04_100_STEP_1 ).
SAPGUI ( CC04_1100_STEP_1 ).
endmessage( UZEIT ).
settab ( ypdm1t001, UZEIT ).
UZEIT is an Inputparameter with no reference.
The short text of the runtime error is:
Access not possible using 'NULL' object reference.
If I delete the definition of the parameter UZEIT the runtime error does not appear but I get the error in the Log that the parameter UZEIT is not defined.
Does anyone has a solution for this problem?
greets
manuelHi Harsha,
UZEIT is a command interface (I changed it so that is no more an parameter).
There seem to be no restrictions to add values in the table. I already spoke to collegues here and they cannot find a mistake.
I would further try to describe you what I want to do. Perhaps you have better ideas.
What I want to achive is to get an overview over response times of defined transactions.
We have a system landscape with local SAPGUIs and with installations on WTS and we want to compare response times from both sides.
Therefore I made the eCATT skripts.
Now I want to write the times somewhere so that I need not to write them down from every log file.
At this point I wanted to write the times (which should be stored in UZEIT) to a table so that afterwards a report can write those times in an excel file.
If you have better ideas to realize this please tell me.
Thank you in advance for helping me.
greets
Manuel -
Hello,
I have created a ECATT for master data uploading. This created a request number. Now when I am trying to create a BC set using tcode SCPR3 and attaching the above created request it is giving me the following error:-
Message Number: S_CUS_IMG_ACTIVITY230
Diagnosis
Logical object ECAT is a lockable (TADIR-mandatory) object.
System Response
Lockable objects cannot be included in BC sets because, during the activation process, an entry would have to be written in the catalog of repository objects (table TADIR). However, this is not possible with BC sets.
Procedure
The object cannot be used in BC sets.
Kindly guide me as to how do i resolve this error and attach my Ecatt request in the BC set.
Narendra
Creation of BC set for ECATTHi,
Check if this process helps u.
Procedure
Aassign existing preconfiguration, transactions or rReports
1. Go to the structure element to which you want to assign preconfiguration, in the project structure.
2. Choose BC Set, CATT, eCATT Test Configuration, Transaction, Program or Add-On Transport Request, in the Type column.
3. If it is not a process step, enter a component from the possible entries help in the Component field.
4. Make an entry in the Object column, or choose from the possible entries help for the Object field.
5. Save your entries.
Assign IMG objects
1. Go to the structure element in the reference structure to which you want to assign an IMG object.
2. Choose IMG Object in the Type field.
3. If it is not a process step, enter a component from the possible entries help in the Component field.
4. Call the possible entries help for the Object field. You go to the Implementation Guide (IMG) of the selected component system.
5. Choose one or more IMG object nodes and choose Select.
6. Choose Copy Selected Nodes.
You have now assigned an IMG object to a structure element.The system goes back to the Configuration tab and fills in the Object and Description columns.
Create and assign preconfiguration
1. Go to the structure element to which you want to assign preconfiguration, in the project structure.
2. Choose a Type.
3. To create a new BC Set, CATT or eCATT test configuration from the Configuration tab, enter a name in the Object field and choose Create.
4. You go to one of the following transactions, depending on the object type:
BC Set: BC Set Maintenance
eCATT Test Configuration: Test Configuration (eCATT tool)
CATT: Change test case.
5. Enter the data required to create a new BC Set, eCATT test configuration or CATT.
regards
Gokul -
Hi Experts...
I am new to eCATT and have jus begun using it.
While creating a Sample Test Script, After entering the component (I wanted to record the trasaction for Maintaining Opprtunuites on CRM4.0), even before I started to record the transaction, When i execute the test script I get an error which says,
Parser: No Script Text exists.Hi Ram,
1.> First of all check if scripting is enabled in front end. Please follow the steps below to enable scripting:
The SAP GUI Scripting component is installed. There is an option for installing this component when installing the SAP GUI.
Procedure
1. On any screen, choose Customizing of local layout.
2. Choose Options....
3. Choose the Scripting tab.
4. Select Enable Scripting.
5. Choose Apply.
2.> Please clarify the sentence that you have written "even before I started to record the transaction, When i execute the test script I get an error..." what exactly do you mean by that.
3.> Which mode of recording you are using TCD or SAPGUI ? -
How to deal with generated programs in eCATT SAPGUI recording?
Hi experts and professionals,
I am trying to automate testing of our solutions by eCATTs and so far i have not been able to find solution for following problem.
Whole test scenario is very simple:
Check InfoProvider data (query, lookup, listcube,...)
Create DAP on InfoProvider
Archive InfoProvider
Check InfoProvider data (query, lookup, listcube,...) again
Compare results from step 1. and 4. (must match)
Reload archived data
Check InfoProvider data (query, lookup, listcube,...) again
Compare results from step 1. and 7. (must match)
As you can see, one of the required test steps is to check InfoProvider's data in transaction LISTCUBE.
But transaction LISTCUBE generates its program "name" every time it is executed and
I am struggling to find a way how to deal with these generated programs in eCATT SAPGUI recording.
Key is that solution must be generic and work for all SAP BW releases from 7.0 upwards
(having in mind that LISTCUBE can read NLS data from SAP BW 7.3 release).
Error description from eCATT log:
Screen Check Error: Expected Transaction: LISTCUBE, Actual Transaction: LISTCUBE.
Expected Program: GP0KOZE7EFIUBN10MZUFWX90W80, Actual Program: GPBP24INA6VV77SL0XKU5NA642O.
Expected Screen Number: 1000, Actual Screen Number: 1000.
There Is Probably an Error in SAPGUI recording.
ExceptionClass:CX_ECATT_APL_CAPTURE ExceptionId:SCREEN_CHECK_ERROR
RaisingClass:CL_APL_ECATT_LINE_INTERPRETER Include:CL_APL_ECATT_LINE_INTERPRETER=CM00J Line:443
Is there any way how to avoid program check in eCATT script?
Anything that would help me to find solution will be greatly appreciated.
Best Regards,
IgorDear Igor,
Your issue is caused by the "screen check" which eCATT processes here.
In General this screen check is a very usefull activity, since is ensures that only those screens are processed by automation, which initially where recorded. This should ensure as much as possible to invoke only intended activities.
Remember, that the driver of the screen flow is still the automated transaction program ( but not the test tool). So application logic decides which screen is send next.
Using screen check the test tool tries to ensure that menu items and buttons and other activities are only automated when the tool "believes" to work on the intended screen.
For generic test scripts and often in context of generated programs the screen check might hurt a bit.
To overcome this, one might try to make the check dynamic (as Sheetal suggests correctly).
If here the name of program cannot be determined for any reason, one can use another method and do following:
- Change the value of ProcessedScreen-Active to 'R'
This will disable/skip the screen-check for this ProcessedScreen.
Sure the solution includes a certain risk, since not checking the correct screen to appear might lead to automation of actions with not desired impact.
Maybe this can improve your solution.
Kind Regards
Jens -
Ecatt integration of scripts SAPGUI
Hi,
Using ecatt SAPGUI mode is it possible to integrate two steps in a single script. Say for example
Step 1. post a GL transaction like in (SD creation of a sales order)
Step 2 reverse the above generated document in (SD create a delivery)
The usual procedure is to create two different unit scripts one script for creation of a GL transaction (creation of a sales order) and thre second script for creation of reversal posting (creation of delivery). In the third script integrate both the scripts for creation of a GL transaction and reversing the document (like in SD creation of sales order and as well as delivery). Is there any possibility of creating only one script which includes both creation of a sales order and create a delivery or posting a GL document and reversing the document
Regards,
ManojHello,
Its possible , by recording the operations one after the other.
IF ( '' = '').
creation of a sales order
ENDIF.
IF ('' = '' ).
create a delivery or posting a GL document
ENDIF.
IF ('' = '' ).
reverse
ENDIF.
However this is not the ideal way of doing it from the reusable prespective.
Each of this operation has to be recorded in seperate scirpts and has to called in your process script.
Thanks & Best regards,
Ajay -
Webdynpro testing using Ecatt from Solution Manager
Hi Experts,
I am trying to do test a Webdynpro application using Ecatt. But when i go to test script --> pattern
in the following popup i am maintaing the following data
group : UI Control
Command : Webdynpro
Interface : [GENERATED] then START RECORDING
i am getting the below error An error probably occurred during the logon to the Web Dynpro target system. Check user name and password in your eCATT target system.
I have created and mapped a HTTP rfc. Assigned ECATT_HTTP user also in the RFC. Also i followed all the steps mentioned in the [http://help.sap.com/saphelp_nw2004s/helpdata/en/8e/df9f40eb72371be10000000a1550b0/content.htm]
kindly help me
regards
Naveen>
Naveen Kumar wrote:
> Hi Experts,
>
> I am trying to do test a Webdynpro application using Ecatt. But when i go to test script --> pattern
>
> in the following popup i am maintaing the following data
>
> group : UI Control
> Command : Webdynpro
> Interface : [GENERATED] then START RECORDING
>
>
> i am getting the below error An error probably occurred during the logon to the Web Dynpro target system. Check user name and password in your eCATT target system.
>
> I have created and mapped a HTTP rfc. Assigned ECATT_HTTP user also in the RFC. Also i followed all the steps mentioned in the [http://help.sap.com/saphelp_nw2004s/helpdata/en/8e/df9f40eb72371be10000000a1550b0/content.htm]
>
> kindly help me
>
>
> regards
> Naveen
Hi,
You may not have a valid user id in the target system.
Regards,
SSN. -
Hello everbody,
we are trying to script a webdynpro ABAP application with eCatt.
We have completed the system configuration steps (see below), but still when trying to record we are getting the error message:
"An error probably occurred during the logon to the Web Dynpro target system. Check user and password in the target system."
We have set up a HTTP connection to the target system with a preset username / password combination in the authentication details. We also log into the target system with this username / password combination directly just fine.
What could we be missing?
Some more questions:
Is eCatt supposed to execute the webdynpro on the target system as the user defined in the http connection or as the user executing / recording the script?
What user should be set in the http connection in the first place? I'm assuming its not the ecatt_http user because that one doesnt even exist in the target system (the guides only ask for this user to be created in the ecatt system)
Regards & Thanks in advance,
ThomasThomas Stoffels wrote:
> We have set up a HTTP connection to the target system with a preset username / password combination in the authentication details. We also log into the target system with this username / password combination directly just fine.
Just check, if HTTPS is off on this connection.
Thomas Stoffels wrote:
> Some more questions:
> Is eCatt supposed to execute the webdynpro on the target system as the user defined in the http connection or as the user executing / recording the script?
> What user should be set in the http connection in the first place? I'm assuming its not the ecatt_http user because that one doesnt even exist in the target system (the guides only ask for this user to be created in the ecatt system)
Please take a deeper look into saphelp for RFC connections, to clearify, which user credentials are used with RFC connections.
Kind regards,
Christoph
Maybe you are looking for
-
How to use query-result as a new query-fiter
HI, All Is it possible to execute sub-query filtererd by the pre-query-reslted lists ? As far as I investigated, only way to do is that I combine two suject-areas by using set operations like "Union" or around. But in this way, there is an impractica
-
Trying to run .js script from MS Access
Hello guys, I am new to programming in JavaScript and Vba. Okay so I am trying to output data from a few cells from vba into a .js script in order to automatically create bookmarks in pdf files. This is all going to be part of a big database manageme
-
Refreshing the user library without restarting?
Does anyone know a way to refresh the user library without restarting Labview? I've searched the forum and LV help, but I'm not seeing that feature... Thanks, Chad Solved! Go to Solution.
-
How to change apple id on game
i can not log into the games because it says enter password but i don't remember that email on there.
-
I need to free up space in my Mail home folder, but I don't know which folder this is. I've deleted files from other folders in Mail but it doesn't seem to be doing the trick. Mail won't open because of this and I have important emails to send out pr