RPT_ECATT_EXECUTE_TEST to execute eCATT Test Scripts in background

Hi everyone,
  Found this program RPT_ECATT_EXECUTE_TEST  to execute eCATT Test Scripts in the background. However, when i try to run a TCD test script in the background, im getting a "Control Framework: Fatal error - GUI cannot be reached" error in the job log.
Is there a workaround for this?
Thanks in advance.

Hello,
If the recording is done using SAPGUI , here is the solution .
Say there are 3 radio buttons.
First time record with only one radio button clicked , complete the entire recording and save the script.
Split the recording using Methode wise, once this done you will have one SAPGUI for each operation performed.
Reopen the script in the change mode and also open the transaction screen where you want to record the remaining radio buttons.
Do a SAPGUI attach twice once for each radio button after the SAPGUI of the first radio button .
Once all the recoding is complete.
Declare 3 different input parameters (basically 3 flags), one for each radio button.
Note: SAPGUI recording is done only for checking the radio button and not unchecking.
IF ( input_parameter_radio_button_1 = 'x' ).
SAPGUI ( first radio button).
endif.
IF ( input_parameter_radio_button_2 = 'x' ).
SAPGUI ( second radio button).
endif.
Similarly for the third one.
Hope you understood the logic.
Thanks & Best regards,
Ajay

Similar Messages

  • Error in executing eCATT GUI Script

    Hi
    I am getting following error (in bold) while executing eCATT GUI Script. This happens only for GUI Scripts and not for TCD scripts. Please help me to solve this issue.
    <b>0000000195  Test Scrpt ZGUI_SCRIPT4 Version 1 - SECATT [Without Interruption]
    R01 800 SANDEEPK1 E 620 sapnw10 Windows NT MSSQL 26.05.2006 12:42:29
    ZGUI_SCRIPT4 [0,109 sec] Version 1 ZGUI_SCRIPT4
    Tgt System TEST_ECAT->ECATT_SAPNW10_800_E->T90CLNT090 (R01 800 ALEREMOTE E 620 sapnw10
    Windows NT MSSQL)
    Error in eCATT function SAPGUI
    Destination ECATT_SAPNW10_800_E RFC error
    service 'sapgw-1' unknown / CPI-C error CM_PRODUCT_SPECIFIC_ERROR.</b>
    Thanks in Advance.
    Regards,
    Sandeep K.

    Hi Sandeep,
        My self , Sreedhar D, working eCATT using SAPGUI recording.
        i think ur problem is resolved. Can u help for the below issue.
          Scenario:       
           And i working on testing server which does not have any trasaction, i have to record the transaction using RFC connection to different machine.
           I did all the that process and able to connect  remote machine.
          i started doing the recoding in SAPGUI after creation of sys. Data container by specifying RFC connection.
            I recorded the script, but when i try to execute the same this attached error r coming.
           But i recorded the same using TCD(Recorded) using remote connection and able to sucessfully execute.
           One more thing also, we used write the script for reading the test data from Excel and pass as parameters using TCD(Recording).
    Below is the error
         Target sys ECATT_SAPTD120_400_E_0002
         Destination ECATT_SAPTD120_400_E_0002 RFC Error
          Waiting for ur response. Thanks in Adavance.
    Sreedhar d

  • Does Single Sign on feature affect the eCATT test script

    Hi
    I am having problem with eCATT test scripts when running on the PC with single sign on feature .
    I am able to run the eCATT test script on PC with out single on feature .when I am trying to run the same eCATT script on the PC with single sign on feature it gives error message
    When the test script is executed it open up new session and tries to log on system and then it comes out of the Session  and gives the error message.
    Error When starting replay session Possible causes
    1) Scripting is deactivated in Replay system .
    2)User has not logged on with in given time or user has no Dailog rights .
    3) Too Many Sessions are open.
    Can you please Suggest me how to overcome this problem .
    The PC with single sign on feature is using SAP GUI 7.1 Version and the PC with out single sign on feature is using SAP GUI 7.2 Version . Will this affect the test script.
    Thanking you .
    Regards
    Kiran

    Hi
    The issue is resolved . Once the single sing on program is disabled on the machine the eCATT test scripts are working fine now .
    Thank you .
    Regards
    Kiran

  • Regarding ECATT Test Scripts

    Hi All,
    I would like to know abt how we assign <b>Transaction to ECATT test scripts</b>,once i can get transaction to run this i can improve the program with more conditions using selection-screen etc.
    Here i will execute the test script using <b>SECATT</b> Transaction.
    But now i want to put the this test script into one transaction.....
    Means i should be able to run the TEST SCRIPT from a Tranasaction.
    or i will run one Transaction and i have to provide option like enter test script name from there so that i can execute.
    Can body have the solution for the above.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi All,
    Can anybody give the solution to above issue.
    I want to run the Test Scripts that are being run from <b>SECATT</b> from Seperate[My Own] Transaction.
    Please provide the solution for above issue.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

  • Transaction to find ecatt test script

    transaction to find ecatt test script and the table which stores ecatt test script
    transaction to find function group and the table which stores function group
    transaction to find general text and the table which stores general text
    where i should be able to change the devlopment class

    Hi Avinash,
    For ecatts check development class/package SECATT_DDIC and transaction SECATT.
    For general text transaction is SO10 and tables are STXH and STXL.
    For Object Naviagtor SE80 you can change development class.
    For function groups check ENLFDIR table.
    All transaction codes are stored in TSTC and TSTCT tables
    Thanks
    Lakshman

  • Error executing BPC test script

    Hi,
    We are on HANA. Our performance team is trying to execute a test script from HP Load Runner. We are seeing the below error
    HTTP/1.0 500 Internal Server Error\r\n
    <TITLE>500 SAP Internal Server Error</TITLE>\n
    ERROR: XSLT: No valid XML source (termination: RABAX_STATE)<P>\n
      Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://fmsap980.erps.intel.com:8000/sap/bpc/files?method=list" [MsgId: MERR-26612]
    when we try and execute the same script manually within BPC front end, then no issues. everything is fine. Automating the test script is an issue.
    any script , same error.
    thanks for the help.

    Hey Ravi:
    Any chance you found a solution to this?
    Thanks
    Kalinga

  • ECATT test script preparation

    Hi SRM Gurus,
    I would like to create an ecATT Test Script for creation of shopping cart. Can anyone, give me some inputs on this like, how to go about, steps involved.
    Thanks  & Regards,
    Ramkumar

    Hi,
      Pls refer the foll links:
    http://www.erpgenie.com/sap/ecatt/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
    http://www.sapdevelopment.co.uk/testing/ecatt_qas.pdf#search=%22ecatt%20in%20SRM%22
    HTH.
    BR,
    Disha.
    Pls reward points for helpful answers.

  • Importing internal table data from FM to eCATT test script

    Hi all,
    I am working on Workflow project where by i need to post invoices related to purchase orders sent as scanned imaages. Incase all the data in the incoming invoice(scanned) is correct then i am using BAPI_INCOMING_INVOICE_CREATE to post the invoice.
    But when the data is wrong, i need to give the user MIRO transaction pre-populated with the invoice details so that he manually corrects them(after verification) and posts the invoice.
    I understand MIRO is an ENJOY transaction hence BDC doesn't work properly(i have tried with all kinds of options on recording and the problem comes incase of multiple POs) hence i choose to use eCATT.
    The recording worksfine but my real problem is the PO data (multiple PO details for same invoice) is in table form. In all my previous objects related to eCATT we used to upload the file, hence no problem of importing tables.
    But now as i'll call this test script from a function module which has all the POs in the form of internal table, i need to import this into my test script.
    Please any body tell me how to proceed in this case or please suggest me a better a way to record the MIRO.
    Thank you,
    Lakshmi Narayana.S

    Hello Raj,
    First of all thank you for your inputs.
    Yes, I know about Parking an invoice. even i am using it in some scenarios.
    If everything on the invoice matches with the values in SAP then i am posting it using BAPI invoice_create also.
    But for some scenarios like if the PO on the invoice doesnot match with actual PO then i need to create a work item in the Accounts Payable user's inbox and he will change invoice data manually (after getting confirmation and correction) and post it using MIRO.
    Here i need to pre-populate the MIRO with the invoice data so that he can correct and post it.
    Hence i was trying to write a BDC and as MIRO is an Enjoy transaction i thought writing a BDC is not a good idea (i tried writing BDC but had problems) hence i am using eCATT.
    Hope i am clear about my problem. Any inputs to solve this are welcome.
    Thanks,
    Lakshmi Narayana.S

  • Error During ECATT test script creation

    Hi,
    I am creating test script using SECATT t.cde. I select traget system and click on Pattern Button and provide input as follow.
    Group : UI Control
    Command : TCD (Record)
    Transaction : MM02
    When I click continue button, I am getting error "Transaction MM02 could not be found in Target System".
    I had check my RFC Configuration, its working properly.
    Please help me to solve this issue.
    Regards,
    Nisit

    Not sure what exactly you're asking, but here is a "how-to" article on eCATT creation:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50bec015-14f1-2910-6080-9874b3499052

  • ECATT Test Script Generation with ME21N MIGO

    Hi,
    I am generating the test script in DEV 100 it is running successfully when i am running it into the target system DEV 200 it is giving error.
    I am facing this for MIGO when canceling the document, displaying any document or changing any document in ME21n, ME22n and soon.
    Suggest the solution for that.
    Regards

    > I am generating the test script in DEV 100 it is running successfully when i am running it into the target system DEV 200 it is giving error.
    Interesting.
    Unfortunately nobody has a magic ball to check which error you get; so if you want some advise, please post what you face.
    Markus

  • ECATT Test Script

    Hello All,
    I am writing a Test Script for MM01 transaction.
    I don't know Where to write the ABAP and ENDABAP Block for test script.
    Should I have to write it in the Command Editor or anywhere else.
    Can anybody help in the procedure of doing a testing for VA01 transaction.
    Thank you in advance.
    Looking forward to your response.
    Warm Regards,
    SampathKumar G.

    Hi,
    Put the whole ABAP code in ABAP & END ABAP statements,
    for VA01, based on transaction using by you
    like for inquiry,quatatio,saleorder,credit notes,billing,shipping
    put these transaction one after onein TCD command and test it.
    If you are facing any difficulty please let meknow I''l forward the link.
    Thanks,
    Rahman

  • In eCATT, How to mention the values as  input parameter during test script

    Hi,
    1. I am just learning eCATT tool. I created a Test Script by recording my transaction. But if i want to execute the recorded transaction with different data then how to store the values.
    2. How to execute my Test Script created in one client to another client of same server. is it just by mentioning the target system or do we have to do anything in anothere client.
    Lakshmi

    Hi
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0e0ebec-c9da-2910-689e-b1a22a621c7f
    Manoj Shakya.

  • Error in Test Script in eCATT

    Hello Experts,
    When i am executing my test script after recording the transaction,the system is running FB50 in the remote system but giving error in foreground mde.
    Attached is the snapshot of error.
    Abhishek

    thanks AP for your reply.
    I have deleted and  I have recreated the file with new recording but the error still ramains.
    Can anybody assist to solve the issue ?
    Thanks in advance.

  • Executing third party test scripts using eManager.

    Can eManagers execute automated scripts written with other tools like SoapUI, SilkTest, QTP? If not directly, what are the ways to integrate thirdparty test scripts with eME?

    Hello rohitpareek.
    eManager can execute e-Tester scripts out of the box. What you can do is use eManager manual test functionality, run those other scripts, and note if pass/fail yourself.
    Hope it helps!

  • 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

Maybe you are looking for

  • Error ORA-01403: no data found is not raised using jdbc

    Hy there I have a problem receiving exceptions from oracle jdbc driver. I have the following exception stack if i call insert on a view using an instead of trigger. ORA-01403: no data found ORA-04088: error during execution of trigger 'MYUSER.MY_VIEW

  • Simplest way to password protect an external drive??

    I want to clone my Macbook onto an external drive - I don't want to have to turn on filevault - never used it - i would ideally like to password protect the "Macintosh HD" icon on the external drive.... is there a really simple way to do this?

  • Date format for Calendar Prompt  in Oracle BI

    Hi, 1) In Oracle Answers, I need to have this format : dd-MMM-yy in a Calendar Prompt I've changed in localedefinitions.xml : <property name="dateShortFormat">dd-MMM-yy</property> <property name="dateOrder">dmy</property> <property name="dateSeparato

  • DUMMY_BW (0FI_GL_04) delta queue not getting cleared

    Hi, We're using minute based extraction approach for 0FI_GL_04 and thereby have two delta queues for the 0FI_GL_4 extractor in the SAP ERP ECC system: One for the 'DUMMY_BW' and the other for the 'real' BI system. The delta queue for DUMMY_BW is not

  • Is it safe to buy a stolen Mac book Pro or Air?

    Hey! Someone is selling a Macbook Pro on a cheaper price and it is a used one. I dont knw if its a stolen laptop or the guy is in need of money thats y he is selling the macbook on a cheeper price. I just wana know if i can get in trouble if the lapt