Parameterization  in ecatt

hi,
Is Parameterization  require in ecatt ? when we transfer catt to ecatt .
supriya.

Hi
Parameterization in eCATT
By Venkat
In eCATT script we can pass 3 types of parameters.
Import
Export
Local variables 
Import Parameters: Import Parameters are input values to the test script. These variables are the local to the script i.e. Import Parameters can access only in eCATT script editor but not in ABAP…ENDABAP block. These are version independent. 
Export Parameters: Out put result values after executing the script are caught in Export Parameters. These variables are the local to the script i.e. Export Parameters can access only in eCATT script editor but not in ABAP…ENDABAP block. These are version independent. 
Local Variables: Local Variables are used in both eCATT script editor and ABAP…ENDABAP block. These are version dependent i.e. local variables defined in one version is not automatically defined in other version. 
After the recording has been done for the particular transaction without parameterization, we need to check whether the recording is error free or not. Once it is confirmed error free then we go for parameterization of required fields. Usually we go for parameterization for reusability of eCATT script. Different set of data can be passed via parameters and recorded script can be used again and again. 
Parameterization in TCD mode: 
Fields having mode ‘S’ (Set) under each dynpro of command interface contains some values entered during the recording. These are the values need to be parameterized as Import, Export or Local as shown below. 
Replace the value ‘P’ in VALIN with I_MBRSH parameter. 
And now double click on the parameter I_MBRSH then the following screen will appears. 
Select Local and click ‘YES’. 
The output result of transaction is assigned to Export parameters. These are very useful in chaining of transactions where the output of transaction is input to another transaction. 
In this mode, last dynpro of the dynpro list just before the MSG node in the command interface contains the output messages as shown below.  
Here we have to change the mode ‘O’ (Field output) to mode ‘G’ (Get) and assign Export parameter in VALIN as shown below. 
Parameterization in SAPGUI mode: 
Now double click on each step of command interface of SAPGUI command from the test script editor. In this case, first double click on “ME01_200_STEP_2”. Then you will get following screen. 
Now replace value of material number T-BW06-02 with parameter. Here, T-BW06-02 is replaced with I_MATNR. 
Now double click on I_MATNR then you will get pop-up box as shown. 
Click ‘YES’. The entry appears in Parameter list and provides parameter reference. 
The output result of the transaction in this mode can be captured using MESSAGE….ENDMESSAGE node. 
Click the Pattern button from the application tool bar and select MESSAGE…ENDMESSAGE option as shown. 
And click ‘OK’.
Now the following screen appears. 
Now place the command interface between MESSAGE….ENDMESSAGE command to capture the export parameter. 
Here, the material number is captured in parameter1 (MSGV1). Now we can assign this value to export parameter as shown below. 
if found useful award points.

Similar Messages

  • 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 Patil

    Please explain this in detail (step by step) as I am very new to ECATT.
    Thanks in Advance
    Vikas Patil

  • How to create a variant in ecatt?

    Hi all,
    I am new to Ecatt scripting. I hav a requirement from the user, that one ecatt is used for two sales org using two variants.
    I recorded as per the requirement ( first i created one basic script and called it in a master script ). Now I need to create two variants for the master script for the sales org.
    So could any one suggest how to create a variant in ecatt?
    Thanks in advance.
    Vijayakumar.G

    Hello Vijay,
    After recording parameterize everything whatever you want.
    In parameterization table leave the value field as empty, I mean don't give any value.
    Select the following in the menu,
    Utilities>Test configuration>Create
    Now, test configuration name will have the same of the test script name.
    Provide the details in the configuration tab. Then in the variants tab select the second radio button "Internal variants".
    In the variant table you can see the default variant "ECATTDEFAULT". You can make use of  this also. Otherwise you can also create your own variants by clicking "Insert variant" button.
    The variables whatever you have created in the test script will be there in the table. Now, Create variant and provide values for each variables.
    You can also select the variants which need to be executed.
    Now you can run the test configuration. It will be running number of times according to the created number of the variants.
    You can also create Test data for your test script and configuration.
    Try this, I hope it will help.
    Feel free to reward if it helps.
    Regards,
    Gopi
    Edited by: Gopinath K S on Oct 7, 2008 7:37 AM

  • How to create a field value as constant while creating eCATT scripts

    Hello Guru's,
    I am updating thousands of records using eCATT.  How should i declare a field value as constant while creating a eCATT script it self,  so that it automatically picks that value and  update the records. I should not mention the field value in the upload file.
    Full points for the answer,

    Dont parameterize the value that you would like to keep as constant. Pass the default value to that feild while reocrding .

  • Error - Vavlue is not an eCATT parameter

    Hello Colleagues,
    I am using SAPGUI recordign mode and while compiling i am getting the below error can anyone help me to resolve the issue ?.
    Test Script MIB_INS_CATEGORY_PERS_TAB,Version 1,                     
    Reference V_VALUE for SAPGUI_1_29-PROCESSEDSCREEN[1]-USERCHANGEDSTATE-
    GUIELEMENT[1]-STATE-SETPROPERTY[1]-VALUE Is Not Defined as an eCATT  
    Parameter                                                            
    More details,
    I am trying to give an input in one of the rows of the table in the scenario .
    regards
    harsha
    Edited by: Julius Bussche on Feb 6, 2009 8:58 PM
    Please use meaningfull subject titles

    >
    Harsha S wrote:
    > Hello Colleagues,
    >
    > I am using SAPGUI recordign mode and while compiling i am getting the below error can anyone help me to resolve the issue ?.
    >
    > Test Script MIB_INS_CATEGORY_PERS_TAB,Version 1,                     
    > Reference V_VALUE for SAPGUI_1_29-PROCESSEDSCREEN[1]-USERCHANGEDSTATE-
    > GUIELEMENT[1]-STATE-SETPROPERTY[1]-VALUE Is Not Defined as an eCATT  
    > Parameter                                                            
    >
    > More details,
    >
    > I am trying to give an input in one of the rows of the table in the scenario .
    >
    > regards
    > harsha
    Hi Harsha,
    This error may be due to the fact that you have not declared the variable that is used in the Parameterization part.
    Else,there may be a reason that while parameterizing you have put the parameter in the wrong place.
    You have to put the variable in the correct place for parameterization.
    Hope this info helps.
    Thanks and Regards,
    Senthil.

  • Urgent help need on  eCATT script

    Hi
    How to use eCATT script tool with transaction SECATT.
    urgent please help.
    regards,
    R K

    Hello Rao
    If you are using a "normal" transaction without any controls (like ALV lists, trees) then you can use the recording pattern <b>TCD REC</b> <i>(TCD (Record)</i>).
    In transaction SECATT give a name for your test script (e.g. Z_XD01 or Z_CREATE_CUSTOMER). Within the test script choose pattern TCD REC and enter the transaction you want to record (e.g. XD01).
    After finishing the recording you will see the following line in the eCATT editor:
    <b>TCD ( XD01 , XD01_1 ).</b>
    Meaning:
    - TCD = recording pattern
    - XD01 = recorded transaction
    - XD01_1 = eCATT interface for the transaction
    Next double-click on the eCATT interface name (here: XD01_1). Next to the editor you will see the interface displayed as tree and as ALV list. Here you can parameterize your transaction.
    Please note that you should preferably <b>use the highest available SAP release for eCATT recording</b>. If, for example, your business system has release 6.20 and you have a 6.40 system available record the eCATT on the 6.40 system via RFC.
    Regards
      Uwe

  • How to parameter Target System in eCATT

    Dear all,
    I would like to know if it is possible to have the Target System in the eCATT editor to parameterize them like the interfaces? In fact from solution manager I have to run a business scenario in diffrent satellite systems with RFC connections.
    TCD (<transaction code>, <command interface> , TARGET_A).
    TCD (<transaction code>, <command interface> , TARGET_B).
    TCD (<transaction code>, <command interface> , TARGET_C).
    etc.
    Kind regards,
    Aklilu

    Hello Aklilu,
    as all people aggree, parametrizing is no option.
    But it is even not needed to support your case.
    What one should do is:
    Use always the same eCATT target system (e.g.TARGET_A)for operations in one certain remote system (say A). Use another eCATT target system (e.g.TARGET_B) for another remote system (say B).
    All these commands together can be part of one script or a couple of scripts and modules automating one business case, like in your sample. The target systems are defined in a systemdata container, e.g. SYS_DEV.
    If that business case should be executed in another landscape, copy the system data container (e.g. to SYS_PROD), exchange the RFC destinations inside the copy and execute the script with that new system data container.
    You even can create multiple testconfigurations refering to the script and assign the different system data container to each. Such you can avoid to type the different system data names again and again on eCATTs start screen.
    In that sense eCATT Target Systems are already variables/parameters.
    A last hint:
    If you have multiple occurrence of a series of transactions in the same remote system, it is not needed to write the target system at each eCATT command. Simply aggregate the commands belonging together in one script and call that script from another one using REF with the target system.
    Define TESTSCRIPT SOMETHING.
    SAPGUI ( cmdi_ta_1 ).
    SAPGUI ( cmdi_ta_2 ).
    SAPGUI ( cmdi_ta_3 ).
    In another script:
    REF( SOMETHING, CMDI, TARGET_A ).
    Works also with TCD, FUN, WEBDYNPRO, ....
    Best regards
    Jens

  • Me21n create with ecatt

    hello,
    i have a big problem. I would like to create Purchase order with ecatt, but i like to record more than one item in a PO.
    So i want to upload data in a txt fajl. But if i create for example 10 rows in the txt, the ecatt is threat its new PO, so instead of one PO with 10 items I get a 10 PO-s.
    How must i record the transaction?
    Best regards,
    PN

    Hi Norbert,
    You can  try the following approach for entering the multiple value
    1.Parameterize all the fields
    2.Create an table type reference  & declare an IT_Table with above table type as reference
    3.Use Getlen in ecatts command,by this we will get the length of internal table and pass this to a parameter(V_No_Entries)
    4.Identify the command interfaces at which the entry is beind made then put a do...enddo loop for ex as below
    Do(V_NO_Entries)
             Sy-tabix  = &LPC
            Call a function module which can read the internal table and pass as an export parameter the value to a Variable (V_LineItem)
             Here for V_Lineitem give the Data type of the table type as reference parameter
       SAPGUI( ME21N_1) *** This would be the Command interface where we are making the entry**
    Enddo.
    4.Now you can enter 10 Values in the Structure editor of the IT_Table by double clicking on value entry field on the Parameter list
    Please note key here is to identify the command interface where the entry of the value is happening and looping it using DO....ENDDO loop and reading the Internal table and getting single value each time from the Function module and make the entry to the field
    For me this solution worked..and here the function Module can be generic and could be re-usable for other scripts....
    If any queries let me know.
    Cheers
    Lohit

  • ECATT : multiple line itmes

    Hi Gurus,
    i am creating ecatt with TCD recording. My requirement is if i record a sales order with one line item can i use the same ecatt for multiple line items.
    for example if i create a test script z_va01 in this i record a sales order having one line item. For this i created test data and configaration. Can i use same ecatt to create a sales order having multiple line items.
    Thanks in advace
    anil

    Hi Anilkumar,
    I don't think you can use same TCD script for single line item and multiple line item. The reason behind is the line items are part of recording. And their positions get recorded. So data has to match with run time behavior of transaction.
    In SAPGUI recording, record VA01 transaction for multiple line items first. And see whether you get different dynpro for each line item. If so, then you can make them Optional. Now this script can run for both multiple line item as well as single item provided one dynpro for each line item.
    Find the following weblog for SAPGUI recording and making screens optional -
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    /people/sapna.modi/blog/2006/04/18/ecatt-chaining-parameterization-creation-of-test-datatest-configuration-system-data-part-iv
    But my personal experience says not to play much with the recorded scripts in the given scenario. If you can record two different scripts for the different line items, your life will be simpler.
    Hope this helps.
    PS If the answer solves your query, plz close the thread by marking it Solved and rewarding each reply.

  • PA40 recording using ECATT TCD

    Hi,
    i'm new to ecatt.recently we are using ecatt in my project.My requirement is upload the logon details in sap using ecatt.They want logon details like username and password.How we record logon screen.
             one more requirement is upload the employee info using PA40 t.code.They want employee extension ,conversion,hiring,separation.
    pls any one help on this.How i will record using PA40.Any one help on this with screen shots.
    Advanced thanks
    Ravi
    Edited by: Matt on Feb 17, 2009 11:58 AM - subject modified

    Hello,
    Logon to eCATT system , enter transaction SECATT in command field and press enter key, in the test script text box enter the script name with which you want to create the script and once your enter inside the script you have to decide which driver to use to record the transaction.
    Say TCD , then in Pattern function select TCD REC and in popup enter transaction code and maintain target system where you want to record the transaction .
    Once the connection is established to target system then carry out the process with ur required transaction just as how you used to do manually.
    Once recording is complete then save and parameterize all input values and execute the script again with new set of values.
    Thanks and Best regards
    Ajay

  • Error for linking ecatt Script for exporting parameter

    Hi,
    We have 2 SAPGUI scripts, one is transaction CO01 to create the production order. The other is CO02 to release the production order. In the first script I get production order number as parameter 1 in the message field. I need to export this field to second script for releasing order.
    I am not able to pick the order.
    Tried to use ABAP code
    ABAP.
    DATA: z_aufnr like CAUFVD-AUFNR.
    get parameter id 'ANR' FIELD Z_AUFNR.
    ENDABAP.
    Still export parameter in log comes as empty. So if I create thrid script using ref# it errors out at second script start.
    Your help is greatly appreciated.
    Thanks,
    Gajanan

    Hi
    you don't have to use abap for this .
    in the command editor
    choose first script recording interface and double click it ,observe the screen list on right side and now select the last screend and double click field and parameterize it say give it a  name as variable1 by entering this in valin column.
    Create a parameter and by param1 name and export type and default values as variable1.
    Now for the second script create a parameter as import type and set it's value as &param1&.
    Also pass this value to second script by the same as you done for first script.
    This will work for sure.
    To know more how to parameterize follow the links,
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    http://www.sapecc.com/tutorials/secat_create.htm
    Please reward points.

  • ECATT: Parameterise the ID of a guielement

    I want to parameterise the ID of a guielement. At the last position of the ID is defined which element will be use. But it doesen't work. I think, the problem is the length of string, it contains more than 160 characters.
    ID = 'wnd[0]/usr/subSUBST:/VWK/ZFW_PROCESS:0100/subACT:
    /VWK/VMV_PAV:2200/subSUBSCR_PAV2100:/VWK/VMV_PAV:
    2100/tbl/VWK/VMV_PAVTC_PAV_2100/ctxt/VWK/
    VMVS_PAV_2100_DY-PARTNER[1,1]'
    I work with WEB AS 6.20.
    What can I do?
    Thanks
    Horst

    Hello Horst,
    in general you can parameterize the whole ID in a SAPGUI command interface.
    Unfortunatelly ecatt parameter value length is restricted to 128 char in 6.20. eCATT 6.40 dropped this limitation.
    So your 160char ID can not sucessfully replaced by eCATT parameter in 6.20.
    But you can parameterize of the ID by the use of a special escape sequence.
    Given a parameter PARAM and an ID ‘wnd[0]/abc/Textfield1’ you can parameterize the middle part of the ID by setting the parameter PARAM to ‘abc’ and replacing the ID with ‘wnd[0]/<!PARAM!>/Textfield1’.
    Hope this helps you out.
    Best regards
    Jens

  • How can eCATT used for testing of z program on DEV system &data on Quality?

    Hello All,
    Background - Custom object is (for e.g. any report program) which I want to test is present on DEV system  and required data (e.g. data that will be passed to selection screen fields of program) on Quality system.
    Question -How to do testing of program using eCATT without transporting my program to Quality box? Please anyone can give me any insights on this to fix the data availability issue. 
    My efforts - Created System data container specifying RFC connection for Quality system. Created Test Data Container with data available on Quality box. Here, I specified target system as 'Quality' for the data.  Created Test script (for SE38 tcode ) and did the parameterization(giving program name as parameter , other selection screen fields) and set the Target system for each parameter to QUALITY.  Created Test Configuration specifying with all required parameters .
    When I ran the test script from Test Configuration, test script started to run on Quality system. But failed saying program/object does not exist on quality box.
    Importance - This is required as no data available on DEV box, need to move program/object to Quality system. Hence, multiple transort requests are created.
    Edited by: Tripti on Feb 26, 2012 9:29 AM

    Thank you for your quick response, BalusC. I really appreciate your answer.
    Yes, you are right. If I manually code the same amount of those components in the JSF pages instead of generating them dynamically, the server will still run out of memory. That is to say, JSF pages might not accommodate a great deal of concurrent visiting. If I upgrade the server to just allow 1,000 teachers making their own test papers at the same time, but when over 2,000 students take the same questionnaire simultaneously, the server will need another upgrading. So I have to do what you have told me, using JS+DOM instead of upgrading the server endlessly.
    Best Regards, Ailsa

  • FAQs with respect to extended Computer Aided Test Tool (eCATT) - Part 1

    Dear  Community Members,
                                                                                    Please find the answers to the threads that can be frequently asked in the forum.
    1. What is eCATT?
        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.
    See Also 1. eCATT - An Introduction (PART I)
    /people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
    2. What are the features of eCATT?
    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
    3. How to record a transaction using TCD driver or command ?
    See link: eCATT Scripts Creation u2013 TCD Mode (PART II)
                   /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    4. How to record a transaction using SAPGUI driver or command ?
    See link: eCATT Scripts Creation - SAPGUI Mode (PART III)
                   /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    5. What is Parameterization, Test Data, Test Configuration,System Data and how to create them in eCATT?
    See link: 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
    6. What is Test Workbench and How is it Managed?
    See Link: eCATT Scripts Management Via Test Workbench (PART V)
                   /people/sapna.modi/blog/2006/04/13/ecatt-scripts-management-via-test-workbench-part-v
    7. What is eCATT Log?
    See Link: eCATT Logs (PART VI)
                   /people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
    Continued.
    Thanks and Kind Regards
    Mohan Kumar K
    eCATT Forum Moderator

    PMU reset does not get rid of it sorry to say and logic board replacement does nothing to cure it. They all have this problem I believe, and it could very well be the battery that is the culprit, and a recall might be on the way for the batteries or a firmware update. Who knows at this point, this is an inherent reality of first gen Apple portables (products also), they are never bug free, if you buy a MBP now, you should know what you are getting into and try to deal with it as best as you can, if you don't have the "stugots" to deal with these issues and document them, wait for the 3rd and 4th gen, those are usually bug free, but end of life also.
    Take it easy and don't worry, they will fix it soon, they just need documentation of the problem, half the battle has been won.
    --Felix

  • Error in Screen simulator in CM38 trasaction in eCATT

    Hi Gurus,
    I am working on eCATT for Transaction CM38 (capacity evaluation). after recording with TCD record, when I am trying for Simulator, system throws message " SCREEN SIMULATOR : WRONG SCREEN ID FOR SIMULATOR DATA" . I have tried with manual parameterization, but there is no fields with type "S" other than BDC OK code.. I dont know how to parameterize at least "scenario number" and "plant" for the transaction CM38.
    Please guide me,
    Thankx
    Amol

    Hi Tiago,
    Thanks a lot for the help.
    BASIS team changed the user to dialog user.
    Could you please suggest as what might went wrong for system to behave like this? And has this any co-relation with the changes I made & transported to staging system. As the changes made were cross-client. Was this the issue?
    I appreciate your support on this.
    Anurag Patki.

Maybe you are looking for

  • Can´t get SWF files to work in DW CS5

    I´m doing a personal website with DW CS5. That´s the code for the index.htm page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <he

  • Cannot create Portal System and Alias in System Landscape in Portal

    hallo all, i want to install vc, therefore i need to create an Portal System and Alias. this i should do in system landscape in the portal (System Admin -> System config -> System landscape )! but when i open it, it is loading and loading and nothing

  • No ipad shown in airplay

    When I select airplay,no ipad option shows,only keyboard ,Apple tv, a and mirroring?

  • Applications and files are all disappearing

    After initially having trouble with opening a file in Adobe Lightroom, I have now discovered that everything on my computer is slowing disappearing or erasing itself. For example, I went to go look at my pictures and found that all the folders existe

  • Javascript Issue

    I've successfully used the built-in pop-up menu javascript function for years (I know....everyone hates it). I've never had any problems until now. For some reason, in the following menu, the Scopes pop-up pops up high on the page in IE6 (works fine