Testing Webdynpro Application using ECATT

Hi
all
I am going to test webdynpro Application using ecatt.For this in se80 I selected the
existing component(z component which was created by me) and i selected the application of that component and right clicked  and selected START ECATT RECORDING and i have given the test cript name at that i have got one error USER ECATT_HTTPDoesnot exist. How to resolve this problem.
Please give me the soulution regarding this.
regards
venkat

Hi Venkatesh,
Before you can start recording any webdynpro application make sure that the below settings are done in the ecatt system and the target system , for further information refer ecatt documentation.
Create User ECATT_HTTP in the eCATT System
The administrator in the eCATT system must create a user called ECATT_HTTP(with a password). The user requires no special authorization but must be a system user (in transaction SU01, display the user and choose the Logon data tab. Under User Type, select System).
Activate the Service ecatt_recorder in the eCATT System
       1.      In the eCATT System, start transaction SICF and navigate to the service ecatt_recorder.
       2.      Double-click on ecatt_recorder.
       3.      On the Logon Data tab, enter the user ECATT_HTTPand the password.
       4.      Choose Save.
       5.      Select ecatt_recorder and choose Service/Virtual Host  ->  Activate.
Activate the Service ecattping in the Target Systems
Java System
       1.      In the Visual Administrator, choose Server ->Services -> Deploy.
       2.      On the Runtime tab, select Application.
       3.      Select ecattping.
       4.      Choose Start Application.
ABAP System
       1.      In the target system, start transaction SICF and navigate to the service ecattping.
       2.      Select ecattping and choose Service/Virtual Host ->  Activate.
Thanks and Regards,
Balaji.D.N
Edited by: Balaji DN on Dec 31, 2008 12:04 PM

Similar Messages

  • How to test webdynpro applications using ecatt

    Hi All,
    Can anyone give me detail explanation of what is ecatt and how it can be used for webdynpro applications.
    Thanks in advance,
    Aleem.

    Hi Aleem,
       The Extended computer Aided Test  tool is known as eCATT. Enable businesses  to record and play back applications as automated test scripts.
      The Primary aim is the automatic Testing of SAP business processes. Each test generates a detailed log that documents the test process and result.
    I have written a wiki page for webdynpro abap testing using ecatt .
    <a href="https://wiki.sdn.sap.com/wiki/x/K8Q">ecatt on webdynproabap</a>
    Regards
    Sathish

  • Exception During Testing WebDynpro Application in Developer Studio

    Hi,
    I am trying to test webdynpro application in developer studio as they have mentioned in the url -<b>http://help.sap.com/saphelp_nw04/helpdata/en/c1/c6213e225f9a0be10000000a114084/frameset.htm</b>
    <b>1)</b>During Recording i am getting successful result as follows
    Application Url: http://pawanm:50100/webdynpro/dispatcher/sap.com/compositeapp~webdynpro/MyApplication
    Port: 12000
    The Server is ready to accept Xml files from the Web Dynpro Runtime on Port 12000
    -->Client Connected....
    XML file received from runtime
    The Server is closed and it will not accept any more Xml documents from the Web Dynpro Runtime.
    The script has been stored on the local file system.
    <b>2)</b>But when i am trying to reply the script generated by recording then i am getting
    following error in console
    ->Contacting XML Client on Server to get initial XML document.
    ERROR: Contacted the Xml client on the J2EE Server, but did not receive an Xml document from it.
    <b>And in log viewer i am getting following error</b>
    Date : 03/30/2007
    Time : 20:44:47:481
    Message : Cannot send an HTTP error response [500 Application error occurred during request processing. (details: java.lang.NullPointerException: null)].
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: The stream is closed.
    Exception id: [0014222FC3E20052000009490000077C00042CE65506EC3A]
    Severity : Error
    Category : /System/Server/WebRequests
    Location : com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl
    Application : sap.com/tcwddispwda
    Thread : SAPEngine_Application_Thread[impl:3]_10
    Datasource : 17409750:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc
    Message ID : 0014222FC3E200520000094B0000077C00042CE65506EF1F
    Source Name : com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl
    Argument Objs :
    Arguments :
    Dsr Component :
    Dsr Transaction :
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 0
    Relatives : /System/Server/WebRequests
    Resource Bundlename :
    Session : 0
    Source : com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl
    ThreadObject : SAPEngine_Application_Thread[impl:3]_10
    Transaction :
    User : Guest
    So anyony please help me by giving some guideline or send me some document or url from where i can get usefull document.
    And also please let me know that how to test CAF application by using some tool provided by SAP.  
    Thanks in Advance
    Pawan Mishra

    Hi Pawan
    Is your engine functioning properly.I mean go to http://localhost:port/index.html then chech out the webdynpro links and other links available on this page .I am suggesting this so that we can check if <b>sap.com/tcwddispwda</b>
    is working fine.Then we can look into the speacific application you are working on
    Reward suitable points

  • Testing WD Java Applications using eCATT tool

    Hi All,
    We are trying to simulate the runtime tests of WD java Applications using the tool eCATT. I would like to know the current procedure followed to achieve the same.
    We have ample users using eCATT tool for testing their WD ABAP Applications. Do you have any information about the team or users using the eCATT tool for the WD Java Applications?
    Also, i need some information about the WD Java Runtime team.
    Could you please provide me with some inputs?
    Thanks in Advance.
    Best Regards,
    Yogi
    Edited by: Yoganand P on Mar 11, 2011 11:20 AM
    Edited by: Yoganand P on Mar 11, 2011 11:21 AM

    Hi Thanks for u r reply Dude,this is the simple algo ,could you tell me how can i test my algo using junit in eclipse only rather every time deploye and test in ccb. Your help will be appreciated.
    package com.splwg.cm.domain.bills;
    * @author *
    @AlgorithmComponent ()
    public class CMGoodCustomer_Impl extends CMGoodCustomer_Gen implements
              DepositClassGoodCustomerAlgorithmSpot {
         private static final Logger logger=LoggerFactory.getLogger(CMGoodCustomer_Impl.class);
    private Account account;
    private DepositClass depositClass;
    private Bool customerStatus;
    private boolean flag;
         @Override
         public void invoke() {
              // TODO Auto-generated method stub
              CustomerClass customerClass=account.getCustomerClass();
              CustomerClass_Id customerClass_Id=customerClass.getId();
         if(customerClass_Id.toString().trim().equals("CAT-VIII")||customerClass_Id.toString().trim().equals("HT- VIII")||customerClass_Id.toString().trim().equals("SCATVIII")||customerClass_Id.toString().trim().equals("SHT-VIII"))
    flag=true;
              else
    flag=false;
         @Override
         public Bool getIsGoodCustomer() {
              // TODO Auto-generated method stub
              if(flag==true)
              return Bool.TRUE;
              else
                   return Bool.FALSE;
         @Override
         public void setAccount(Account accoutnt) {
              // TODO Auto-generated method stub
              this.account=account;
         @Override
         public void setDepositClass(DepositClass depositClass) {
              // TODO Auto-generated method stub
              this.depositClass=depositClass;
    }

  • Need help in developing a webdynpro application using UWL API

    Hi developers,
    Iam developing a new WebDynpro application for UWL using UWL API.the functionality is to dispaly the summary of UWL like number of unread items, total items.
    Iam getting the problem while deploying the application, iam getting warning while deployed the application.
    I have given all possible ways mentioned in the below forum link
    Re: Accessing PortalRuntime at runtime?
    The exact problem is coming at reference file.
    Please giude me how to move forward.
    1. Below is the error when given "tckmcbc.uwl~api" in the service entry
    deployed with warning :
    Finished with warnings: development
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application local/UWLCountDemo for startup. Reason=Clusterwide exception: Failed to start dependent service ''tckmcbc.uwl~api'' of application ''local/UWLCountDemo''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
    2.Below is the error  when i gave PORTAL:sap.com/tckmcbc.uwl~api in the sharing refernce entry
    Finished with warnings: development
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/UWLCountDemo cannot be started. Reason: it has hard reference to resource tckmcbc.uwl~api with type application, which is not active on the server.
    Thanks in Advance
    Sekhar.
    Edited by: sekhar c on Mar 21, 2009 11:24 AM

    Please see Kenichi Unnai in his blog "How to use UWL API for NetWeaver BPM Tasks"
    How to use UWL API for NetWeaver BPM Tasks
    The .sca-file can be found on the sap service marketplace, afterwards you need to import the .sca-file, add the SC to your "MyComponents" and then you can select your necessary DC's.

  • How to upload excel file in Webdynpro application using ABAP

    Hi Experts,
    Am developing a webdynpro application in which it will take an excel file as input and display the contents in the form of a table in output. I am able to upload tab delimited text file and populate the table using the below code but not able to do the same with .xls file. Pls let me know if I need to use a different function module for upload excel file.
    get single attribute
      wd_context->get_attribute(
        EXPORTING
          name =  `DATASOURCE`
        IMPORTING
          value = l_xstring ).
      CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
        EXPORTING
          in_xstring = l_xstring
        IMPORTING
          out_string = l_string.
      SPLIT l_string  AT cl_abap_char_utilities=>newline INTO TABLE i_data.
    Bind With table Element.
      LOOP AT i_data INTO l_string.
        SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE fields.
        READ TABLE fields INTO lv_field INDEX 1.
        fs_table-name = lv_field.
        READ TABLE fields INTO lv_field INDEX 2.
        fs_table-age = lv_field.
        APPEND fs_table TO t_table1.
      ENDLOOP.
    lo_nd_data = wd_context->get_child_node( 'DATA_TAB' ).
    lo_nd_data->bind_table( T_TABLE1 ).
    Thanks,
    Subathra

    Dear Exports
    Can anyone guide me how to uplode the .xlsx or ..xls formatted excel file using abap webdynpro without converting it to .txt file. Because my client requirement is only to upload the excel file. because to convert the .xlsx flie to .txt file it will be time taking and cost expanssive. Another requirement is suppose today i have create a application for uploading a file which has 8 columns and 10 rows. suppose tomorrow the client will make some changes in that flat file means the client will add 2 extra columns and 10 more columns in that fil. and will upload that file. Then the new file will be display on the browser or old file. but my requirement is to display the new file in browser.
    Can anyone kindly help to solve my problem. I am completely fresher in this field and I need to do it as soon as possible. Please help to solve the problem. 
    Regards
    Rashmita

  • Webdynpro application using BI queries

    Hello Webdynpro gurus!!
    I am quite new to Webdynpro and am actually trying to develop a new webdynpro application that calls in some existing BI queries and displays the chart/table as per the query.
    Could anybody please help me in achieving this?
    Any step by step guide will be very helpful.
    Thanks.
    ~~LB!!

    Thanks Siva for your immediate response. I actually want to use only a WD application. Could you please let me know, if using the iFrame for integrating the BI query is the most straightforward process?
    Is there any other way to integrate BI queries/reports into Webdynpro application?
    thanks much for your help in advance!!
    ~~LB

  • Error in webdynpro application using RFC's

    Hii,
    I have a webdynpro application where i use RFC to add a new customer to the database.I have used datacust and Uicust to do the corresponding coding.While running the application, values are not getting added from the front-end...giving an error "Error in adding customer".While i execute the RFC at R3 and enter new customer values,values are getting saved successfully.
    I am not getting to solve the problem.Please do help out.
    Thanks,
    Parama.

    Leha,
    Is this RFC expecting any mandatory parameters ? if that is the case make sure that you are sending the expected type mandatory parameter.  (you can print a message on the screen and verify this)
    If you are sure that you are sending the correct details to execute RFC, Please turn on the debiug session for the portal user in the backend and see whether the values are passing from the portal or not.
    How to switch on Debug mode in the backend for the specific user:
    Requirements:
    1. Make sure the user id existed in Portal and SAP Backend.
    2. Setup the debug mode for the user in the backend
    3. Run the application from the portal
    4. While executing the application from the portal , The backend stops the execution to debug, so from here you have to execute the FM step by step and verify whether you are getting the values from the portal or not.
    Steps to switch on Debug mode in the backend:
    Logon to ECC System>> To access the function module use SE37 tcode from the SAP Easy access menu>>Enter the Function Module name and click on Display>>From the SAP Menu click on Utilities>>Settings >>Debugging >>Enter the user ID to switch on the debug mode and Enter.
    Now the user ID is switched on for Debug. Go to the Function module Source Code>> palce the cursor at the start of the soruce code>>From the Menu go to Utilities>>BreakPoint>>Set?Delete Break Point
    This will set the break point for the mentioned user id and now you can veryfy the values on the backend.
    Once you complete the debug process please turnoff the debug mode.
    Thanks
    Krishna

  • How to close current window  of webdynpro application using webdynpro java

    Hi All,
    u201CTo close the current  window  of webdynpro application"
    if i using exit plug its giving the following error in portal runtime.
    u201Ccom.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application! u201C .
    could you send me the  process how to use  portal navigation for the above scenariou2026u2026instead of exitplug.
    Thanks& Regards,
    Srinivas.

    Hi,
    Follow the steps below:
    1. Create a new Window and embed a View which needs to be opened from the main view.
    2. Create a context attribute of type IWDWindow (Java Native Type Option)
    3. Write the following code in the controller for opening the new window:
    IWDWindowInfo windowInfo = (IWDWindowInfo)  
                                                     wdComponentAPI.getComponentInfo().findInWindows("<windowname>");
    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    wdContext.currentContextElement().set<contextattributename>(window);
    window.show();
    4. In the new window, create a contextattribute and bind it to the attribute created in controller and on action of the close button write the following code:
    IWDWindow window = wdContext.currentContextElement().get<attributename>();
    window.destroyInstance();
    Hope this helps you.
    Regards,
    Poojith MV

  • Unable to test WebDynpro Application

    Hi,
    I am learning WebDynPro Application development by installing SAP NetWeaver 7.1 Demo System from SDN.
    I am able to view the Views as Preview in SE80 Layout TabPage and they work fine. But an activated WDA wont show up on my browser. I seem to be getting a set of errors that take turns, such as "Die URL enthält keine vollständige Domainangabe (sree statt sree.). "
    Occasionally, a logon page is opened in the browser but i dont know what username/password to input. No matter what i input it wont work.
    During installation I did not specify FQDN since I do not know what it is and since mine is a desktop installation.
    I am new to WDA. Could someone help me with a detailed instruction to help solve the problem.
    I have carried out the following:
    OS: Win XP; Web Browser: IE 6
    MS Loop Back Adapter Installed as instructed.
    Java Runtime Engine 1.4.2 installed as instructed in installation.
    Host name set up in : e:WINDOWSsystem32driversetchosts as 192.168.0.2      NSP
    The above IP is connected to home wireless Router network, and internet connection is working fine
    Installation of Netweaver 7.1 Demo system carried out with no errors.So did not carry out any post installation steps but able to work with the demosystem alright.
    SICF activation of services carried out as per the help link Active Services in SICF
    For example, I am trying to run demo_flash_flight application and its ICF is seen as active  as shown in GO TO > HTTP Service Maintenance
    One of the many different errors that come up are :
    The URL http://sree:8000/sap/bc/webdynpro/sap/demo_flash_flight was not called due to an error
    The following error text was processed in the system NSP : Die URL enthält keine vollständige Domainangabe (sree statt sree.).
    The error occurred on the application server sree_NSP_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    Guess the link has to be https instead of http. How to switch this to HTTPS.
    Tried setting up user name/password in the WDA service was not successful.
    Thanks in advance for any pointers.
    Cheers

    Hi Andreas,
    Thanks for the suggestion. It works.  )
    But couple of questions.
    1)It takes a long time to load.
    2) Everytime, i have to manually change the url from hostname to  <localhost>:8000. 
    3)Also what is the default username / password for SAP WAS. Is it right to assume, each time i start the instance, the WAS is also started? is there a way i can tune it so that the browser loads happen fast.
    The above questions are not show stoppers. I am able to work with the programs. Thanks for the suggestion. Going by the SDN posts, there are many who have had this problem. Your suggestion is definitely a helper.
    thanks heaps!
    Cheers Sree

  • Calling Webdynpro Application using WDPortalNavigation.navigateAbsolute

    Hi All
    I have created a custom application for address in Personal Information. The application contains Overview, Edit, Review and Save , Completed view (Same as in standard ESS components)
    There is a link <b>Back to Overview</b>. On click of the link, i need to go back to <b>Overview</b> view.
    How can i perform this ?
    I am using
                   WDPortalNavigation.navigateAbsolute(
                        urlToTargetApp,
                        WDPortalNavigationMode.SHOW_INPLACE,
                        WDPortalNavigationHistoryMode.NO_HISTORY,
                        null
    What should be the value of  urlToTargetApp ?
    Pls help.
    Regards
    Sonal Mangla

    Hi Satyajit.
    Thanks for the inputs
    Actually i need to refresh the application so that it takes me to the first view.
    Previously i was using Exit plug to URL to go back to first view.
    But after upgrade from EP6 to EP7 and ESS 100 to ESS600, i am getting
    <b>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application</b>.
    Can u tell me what is the replacement of exit to URL plug ?
    Please guide me further.
    Message was edited by:
            Sonal Mangla

  • I want to integrate to WebDynpro applications using callable object

    Hi i created Dc and i want to add one  Dcs using Add Used Dcs in that cau/eu/gp/api was nto found what should i do please suggest

    Hi,
    Refer this
    http://help.sap.com/saphelp_nwce10/helpdata/en/b2/06ae42848bb211e10000000a155106/content.htm
    That will be present in GP CORE

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

  • Testing WebDynpro Adobe Interactive forms Using eCATT or any other testing

    Hi All,
    We are testing WebDynpro Adobe forms (Java). is there any methodology to test Interactive forms not normal webdynpro applications. Especially Interactive form with UI fields like dropdwons, datepickers dropdown values are from BAPI/RFC's  in these forms we will perfom actions like send data to backend and display PO created in onther view.
    once we repaly the test script all the drop down values are not updated this test scenario we tested with LR.
    Is there any procedure to test this scenario using eCATT or any other testing Tool.
    Rehards,
    Murali

    Hi Vara,
    You can develop Interactive forms using WD ABAP also.
    [E Learning- Interactive Forms using WD ABAP|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3]
    WD Java is useful in case, when your ABAP system is less than ECC 6.0. Otherwise you can achieve same functionalities in WD ABAP also.
    Hope this will help you.
    Amit

  • How to run/test application using network streams

    Hello,
    I'm confused on what steps to follow to test an application using the network streams feature. After reading a lot and going through other discussions I found 2 simple VIs on the last post here http://forums.ni.com/t5/LabVIEW/Network-streams-problem-with-cRIO-9022/td-p/1401576 (I attached the VIs, which I modified just a bit) which I believe have been tested before and work so I was trying to do the same in my desktop and it does not work. I get the same scenario when I was trying to test the code I wrote: no bugs, both VIs run but nothing happens.
    According to the link above this is what is supposed to happen: "a PC hosts a GUI (see mainGUI.VI) that sends an array of doubles to the cRIO via one stream and reads a double value back via another. The cRIO, via the scan interface, reads the array via the first stream and writes an analog value to the host via the second (see mainRT.VI). "
    The current set up is: 
    1. Add both VIs to the blank project with the target device cRIO (see attached screenshot)
    2. Deploy mainRT.vi on the cRIO
    3. Run both at the same time
    Am I missing something?
    Also, I have been reading that there are two ways of testing this. One running both VIs on the PC and the other actually using the targeted device, in this case cRIO. Is that correct?
    Please help!
    Thank you
    Attachments:
    project explorer.jpg ‏36 KB
    mainRT.vi ‏62 KB
    mainGUI.vi ‏20 KB

    Connections have TimeOuts, so you have a little "wiggle room" in deciding which to load first.
    In my situation, one side is a Remote Real Time system ("Remote"), which has the behavior that when it starts up, it runs the code that I want, which includes establishing the Remote side of the Network Stream.  I make all (four) streams use the Remote as the site whose URL (or IP) I need to know.  I set them up so that if they time out (I think I may use 15 seconds), they simply close the connections and try again, exiting when all four connections are established, and going on to run the rest of the Remote code.
    On the Host, the expectation is that the code is already running on the Remote.  Accordingly, on the Host side, the Initialization sequence establishes the four connections, all using the IP (URL) of the Remote.  I also use a 15-second timeout, but run it inside a second loop to allow three tries before I give up (and generate an Error Exit).  Otherwise, if all the connections get made, I've got my Network Streams connected and can continue.
    In this scheme, both the Host and Remote code are in the same Project.  What I typically do is to Build the Remote code, deploy it, and set it to run as the Startup.  If you are not dealing with a Real Time System, you might not have that option.  But you should deploy your Remote code, and start both programs within each other's respective TimeOut windows.  Since in my scheme the Remote Window is infinite, I (automatically) start it first, then start the Host.  I haven't timed it, but I'd guestimate that the connections are established in at most a few tenths of a second.
    Bob Schor

Maybe you are looking for