Executing Chained eCATT scripts

Hi Gurus,
I have created a chain of scripts (F-47,F-48,FB60 & F-54). In Test Configuration I have added 4 different Test Data Containers, each containing data for each T-Code.In the Variants tab, I have added the Internal Variants using the 'Variant Maintenance Assistance'. So, now for one full run of the script I have four variant, one for each T-code.
The problem is, when I run the chained script, F-47,F-48 & F-54 is fetching data from the Test Data Containers but the FB60 variant is  not fetching any data from the Test Data Container, but is using the default value only.
Please help.
Best Regards,
Debojit Dey

Hello Debojit,
the test configuration is the binding element between testdata and one testscript.
If you "chain" testscripts as you describe, I assume you are using REF command.
The testconfiguration can link only one script, let's call it master script, invoking  transaction scripts (F-47,..) by using REF.
Building such chains makes sense in terms of testing business processes, where one trasaction is a successor to the next, consuming data created by the predecessor.
On the other hand executing multiple independend tests requires building of multiple test configurations and packaging of them in the SAP Test Workbench (Transaction STWB_1 STWB_2 STWB_WORK ) for collective execution.
Comming back to your sample and implied you are testing a business process, you can transfer testdata from one REF to the next by using eCATT parameters in your masterscript. Defining these eCATT parameters as import parameters of the master script, they will appear in you test configuration and can be liked to parameters from test data containers.
Best regards
Jens

Similar Messages

  • Is it possible to execute same eCATT  script in different SAP versions

    is it possible to execute same eCATT  script in different SAP versions?
    Regards,
    Sunil sankar B.
    [email protected]

    Yes. In the ecatt script you have the option under ATTRIBUTES --> VERISONING DATA you can restrict it to different software components and different releases.

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

    Hi 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

  • Chaining 2 Ecatt Scripts Problem with Parameter

    Hi,
    I'm trying to chain two scripts VA01 and VA02 using a new script via REF command.
    The result of VA01 (Sales Order number) is being passed as export parameter to VA02 but in the replay I can see it go into VA02 but subsequently being replaced with the default value from the VA02 script i.e. the value used when recording this script in the first place. The script then fails.
    Any help thanks

    Venkat,
    Thanks for the reply but still no joy with your suggestions
    In VA01 I have export parameter E_SALES
    In VA02 I have import parameter I_SALES
    In the 3rd linked script I have local parameter V_SALES
    I pass E_SALES value to V_SALES and then V_SALES to I_SALES in the 3rd linked script
    The value of I_SALES in VA02 does not come from the linked script as it should do. In the replay I can see the correct value go into VA02 but then overwritten with the value of parameter I_SALES in VA02 script.
    any other ideas?
    thanks

  • Executing eCATT Script from Mecury Quality Centre

    Hi All,
       1. Is it possible to Save eCATT Test Script in Mercury Quality Centre? If so, How?
       2. Then How to invoke eCATT Script from mercury Quality Centre?
                      or
       3. Can we call eCATT script from QTP?
          If possible, what r the setup requirements and How to call the ecattt script?   
    Regards,
    Sree

    Hi Sreedhar,
    I cannot help you with you with the first 2 questions.. but I can tell you the integration of QTP & eCATTs.
    You can refer an QTP script in eCATTs and not vice versa. You can call a QTP script in eCATTs like this
    REFEXT ( SCRIPT , SCRIPT_1 ).
    Create a QTP script and name in SCRIPT( anything ) and call the QTP script in eCATTS.
    As far as I know, we cannot call an eCATT in QPT. QTP is a third party tool which you can buy outside, but eCATT is a propereitory tool of SAP which you cannot buy alone. So, there in no possibility for this way(as far as my knowledge goes).
    Best regards,
    Harsha

  • Question on ECATT scripts (SAP QA)

    Hi,
    Can anybody tell me about the ECATT's tool?
    If you do possess any notes or material, please forward the same to my id - [email protected] .
    How is the scope for QA in SAP?
    Are the growth prospects better in SAP QA?
    Thanks in Advance,
    Vijay

    Hi Vijay,
    Kindly find the following series of weblogs written by me on eCATT Tool in depth.
    eCATT - An Introduction (PART I)
    /people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
    eCATT Scripts Creation – TCD Mode (PART II)
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    eCATT Scripts Creation - SAPGUI Mode (PART III)
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    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
    eCATT Scripts Management Via Test Workbench (PART V)
    /people/sapna.modi/blog/2006/04/13/ecatt-scripts-management-via-test-workbench-part-v
    eCATT Logs (PART VI)
    /people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
    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
    eCATT Tips Of Recording, Testing & Links (PART VIII)
    /people/sapna.modi/blog/2006/04/24/ecatt-tips-of-recording-testing-links-part-viii
    Checkpoints in eCATT (Part IX)
    /people/sapna.modi/blog/2007/05/18/checkpoints-in-ecatt-part-ix
    Hope this helps.
    PS If the answer solves your query, plz close the thread by rewarding each reply and marking it solved.
    Regards

  • Reg: Calling an ecatt script in R/3 function module

    Dear Freinds
    Can Anyone of you tell me if an ecatt script can be called inside an r/3 function module.
    if yes, please explaion me how it can be done.
    If you have any example code it will be quite useful for me.
    Points will be rewarded for suitable answers.
    With Warm Regards
    Ravishankar Vembu

    Hello Ravishankar
    The following sample report <b>ZUS_SDN_ECATT_EXECUTE</b> shows how to execute an eCATT testcript using its default parameter values.
    *& Report  ZUS_SDN_ECATT_EXECUTE
    REPORT  ZUS_SDN_ECATT_EXECUTE.
    data:
      gt_execute    type ETEXE_OBJ_TABTYPE,
      gs_execute    type etexe_obj.
    start-of-selection.
      gs_execute-start_lnr = '1'.
      gs_execute-obj_lnr   = '1'.
      gs_execute-obj_type  = 'ECSC'.  " test script
      gs_execute-obj_name  = '<name of your testscript>'.
      gs_execute-obj_ver   = '1'.
      gs_execute-sysdata   = '<name of system data container>'.
      gs_execute-testsystem = '<test system>'.
      append gs_execute to gt_execute.
      CALL FUNCTION 'ECATT_EXECUTE'
        EXPORTING
          TO_EXECUTE                       = gt_execute
          DISPLAY_LOG                      = 'X'
    *     LOG_TXT                          = ' '
    *     DISPLAY_START_POPUP              = ' '
    *     START_PROFIL                     =
    *     START_PROFIL_X                   =
    *     WBMANAGER_ACTIVE                 = ' '
    *     EXIT_STATUS_UPDATE               = ' '
    *     HTTP_TRANSID                     = ' '
    *     I_SUPRESS_OUTPUT                 = ' '
    *     IT_VAR_TO_EXEC                   =
    *     I_PAR_VAR_DISPLAYED              =
    *     IT_VAR_EXT                       =
    *     IT_CALLER                        =
    *     IS_TZEXECDATA                    =
    *   IMPORTING
    *     EXECUTED                         =
    *     LOGID                            =
    *     LOG_DISPLAYED                    =
    *     TRACE_PROT                       =
    *     E_RESULT_XML                     =
    *     ET_RESULT_XML_ERR_MESSAGES       =
        EXCEPTIONS
          NOTHING_TO_DO                    = 1
          TOO_MANY_SCRIPTS_CALLED          = 2
          OTHERS                           = 3.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    end-of-selection.
    Regards
      Uwe

  • Running Ecatt script multiple times

    I have created a ecatt script for ME21N. I need the script to run multiple times.So,i have used Do Enddo statement and put the number of times to be executed.
    The script is running fine for the first time. then its not running. From the second time,its putting blank values into the fields and not saving the data.
    How can i run the script multiple times.
    Thanks,
    Aparna.

    Hello,
    When you run the script multiple time then you will have to pass different values to the fields so that every time the script is run with new set of values and the data is created.
    So in the script you will have to parameterize the fields and then handle the position of the fields so that when the script is run for the first loop counter the data is maintained in the first line of the transaction(for example) and the increament the counter for the second run so that the control moves to the second line for the second execution similarly for the multiple runs.
    Alternatively parameterize the fields with the table containing so many entries as the number of times you want to run the script and for each execution one set of entry from the table is picked and used in the execution for the next run the second set of values is used and so and so forth.
    Hope it answers your question.
    Thanks and Best regards,
    Ajay

  • ECATT script

    Hi Guys,
    I am developing  a eCATT script for removing the roles assigned via a position. This is working fine to some extent. However, I am getting an error as "Function code cannot be selected'.
    For example, if there are 53 roles assigned to a position and if my text file contains 53 lines for that particular position, it executes 50 lines successfully and last three lines are ending up in the error. I am confused, why the whole list is not getting executed successfully.
    My text file contains just the number, position id.
    Any help would be appreciated.
    Thanks.

    Hi Sathya,
    why don't you run the report two times filling the text file with allowed  maximum no of entries only?
    Regards,
    Deepak

  • ECATT Scripts for Creating Bussiness Partners

    Hi CRM Experts
    Can anyone guide me how to create a eCATT Script for Creating Mass Business Partner (Tcode: BP).
    While iam trying to create eCATT i was getting the error: Scripting not permitted on this server
    I talked to by Basis team, and they couldnt find flaw with eCATT settings.
    Thanks for Reading.
    Thanks
    Srinivas

    Hi
    This is to setup CIC users. All the user who would be accessing the CIC are TELESALES AGENTS. For provideing CIC access to Telesale end user we need to perform a series of steps to ensure all the order transactions made by agents are maped to salesareas and profitcenters.
    When an Sales Agent is to be created he would need to be linked to salescodes. Functional Team Set's up a sales code and map it profit centers in R/3 and this sales code data would be replicated from R/3 to CRM.
    In CRM(CIC) for Setting up a End user i need to perfrom 3 steps. The inputs i have for setting up the user is (User ID,Sales Code, User Job Position)
    1. create a user ID using su01 with required roles.
    2. In Tcode:BP (business partner) i need to search with the sales code and assign the USER ID to sales code.
    3. Using Tcode:PPOMW assign the USER ID to the Job Position (or) Company Hirearchy (or) Org Structure. 
    I want run eCATT to complete the step 2. The process involved is.
    1. Execute BP screen
    2. Enter Salescode in feild "BusPartner"
    3. Click Start
    4. You will find the one bus partner details that i replicated from R/3.
    5.Double click on the details shown in the Rectangle below the start button.
    6. select "Identification" TAB
    7.you will find a blank Feild in Employee data / USER
    8. input the user ID.
    9.save
    These are the process steps i need to recored for step 2.
    Thanks you for spending time on this.
    Srinivas

  • Estimation methodology for eCATT script

    Dear all,
            Can any help in doing estimatation for e-CATT project for SAPGUI recording.
    regards,
    sreedhar d

    Hi Sreedhar,
    Following are the individual article links on SDN for SAP eCATT Weblogs.
    Just check 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
    Regards,
    Priyanka.

  • Error while executing a uinx script in BODS job - exit code 127

    I am executing a UNIX script using BODS job and it is giving an error message saying 'Program terminated because of exit code 127'. The same script i am able to execute in UNIX. I am not able to find the solution for this.

    Using a print command with return code 8 should give more insight to the error.
    print(exec('sh \bin','<your command>',8));

  • How to execute a sql script in dbms_job?

    how to execute a sql script in dbms_job?

    See my response to Re: how to execute a sql script file in procedure or trigger.
    Cheers, APC

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

  • An unknown error occurred while executing the PowerShell script:

    Hello all,
    Not the most descriptive title, granted. I'm hoping this may prompt the next version toprovide additional valuable content.
    Kindly requesting any help on this problem. I'm running VMM 2012 R2 version 3.2.7668
    When I try to look at properties of an existing Private Cloud, I get this error, only if I "look" at certain attributes. If I stay away from the specific attributes, everything is hunky dory. For reasons unknown, after I get this error, I have
    to exit and go back into VMM in order to get anything else to run.
    The text in the error dialogue box is not entirely applicable because I was connected to the VMM server and will connect again, when I exit/relaunch.
    An unknown error occurred while executing the PowerShell script:
    The connection to the VMM management server scvmm2.mmmmmm.com was lost.
    Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager service is started
    on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Try the operation again. If the issue persists, contact Microsoft Help and Support.
    ID: 27235
    This is what I get in Events
    Warning 4/9/2015 3:27:04 PM PowerShell (Microsoft-Windows-PowerShell) 4100 Executing Pipeline
    Log Name:      Microsoft-Windows-PowerShell/Operational
    Source:        Microsoft-Windows-PowerShell
    Date:          4/9/2015 3:27:04 PM
    Event ID:      4100
    Task Category: Executing Pipeline
    Level:         Warning
    Keywords:      None
    User:          mmmmmm\paufra
    Computer:      tools-francis.mmmmmm.com
    Description:
    Error Message = The connection to the VMM management server scvmm2.mmmmmm.com was lost. (Error ID: 1610)
    Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager service is started
    on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Fully Qualified Error ID = 1610,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.GetSCReplicationGroupCmdlet
    Recommended Action = Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager
    service is started on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Context:
            Severity = Warning
            Host Name = Default Host
            Host Version = 4.0
            Host ID = 94963cd4-5979-4786-9da2-c8814de8c7c3
            Host Application = C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmAdminUI.exe
            Engine Version = 4.0
            Runspace ID = 359d7a46-3752-4929-8c09-0de4152d10e4
            Pipeline ID = 16
            Command Name = Get-SCReplicationGroup
            Command Type = Cmdlet
            Script Name =
            Command Path =
            Sequence Number = 91
            User = mmmmmm\paufra
            Shell ID = Microsoft.PowerShell
    User Data:
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-PowerShell" Guid="{A0C1853B-5C40-4B15-8766-3CF1C58F985A}" />
        <EventID>4100</EventID>
        <Version>1</Version>
        <Level>3</Level>
        <Task>106</Task>
        <Opcode>19</Opcode>
        <Keywords>0x0</Keywords>
        <TimeCreated SystemTime="2015-04-09T22:27:04.993655700Z" />
        <EventRecordID>285</EventRecordID>
        <Correlation ActivityID="{48059811-1A63-41E1-9057-7498D0E4FC20}" />
        <Execution ProcessID="2344" ThreadID="4076" />
        <Channel>Microsoft-Windows-PowerShell/Operational</Channel>
        <Computer>tools-francis.mmmmmm.com</Computer>
        <Security UserID="S-1-5-21-4008432563-1984933819-4238309236-2721" />
      </System>
      <EventData>
        <Data Name="ContextInfo">        Severity = Warning
            Host Name = Default Host
            Host Version = 4.0
            Host ID = 94963cd4-5979-4786-9da2-c8814de8c7c3
            Host Application = C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmAdminUI.exe
            Engine Version = 4.0
            Runspace ID = 359d7a46-3752-4929-8c09-0de4152d10e4
            Pipeline ID = 16
            Command Name = Get-SCReplicationGroup
            Command Type = Cmdlet
            Script Name =
            Command Path =
            Sequence Number = 91
            User = mmmmmm\paufra
            Shell ID = Microsoft.PowerShell
    </Data>
        <Data Name="UserData">
        </Data>
        <Data Name="Payload">Error Message = The connection to the VMM management server scvmm2.mmmmmm.com was lost. (Error ID: 1610)
    Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager service is started
    on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Fully Qualified Error ID = 1610,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.GetSCReplicationGroupCmdlet
    Recommended Action = Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager
    service is started on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    </Data>
      </EventData>
    </Event>

    Hi Sir,
    First , please try to run the VMM configuration analyzer on that computer :
    http://www.microsoft.com/en-us/download/details.aspx?id=41555
    In addition , please try to use "VMMTrace" mentioned in following article to collect trace log and find some useful information :
    http://blogs.technet.com/b/jonjor/archive/2011/01/07/vmmtrace-simplified-scvmm-tracing.aspx
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

Maybe you are looking for

  • Sync session failed to start error

    I updated my iphone 3GS to the new iOS5. The softwre unstalled fine I suppose, but it never finished syncing my music, photos, etc... even some apps don't work anymore. I try to restore but iTunes is stalling (spinning balloon) and will not complete

  • NOTES Does not Appear

    Hi Mac Friends, For some reason when I click the NOTES button in MAIL 3.0 nothing happens. Neither when I click FILE > NEW NOTE. Nothing. Any suggestions? Thanks in advance! JOE

  • Few Issues as a beginer on 'Variables' and  'Web Interface'

    Very very new to BPS.. Dear Friends, I have the following 2 issues ( Actually many.. but this post has restricted to only 2..   ) 1) I have created a Characteristic 'Variable' with User Exit and filled by using FM ZXXXX to with some value on Planning

  • Cannot find the new binding

    Hi !! I am using jdeveloper 11.1.1.5!! I had dragged and dropped mu OpcLoseId [an LOV] from my OpportHd table in a af:form. I had passed this value as a parameter to my AMImpl Method. So that while my user clicks the button this method get executed.

  • Hi good morning friends, in webdynpro

    i created a screen related to dms(document management system) using webdynpro , my question is how to save the created fields , where should i write the logic.