ECATT SAPGUI playback hanging..

Hello,
I have just recorded some new test script using the SAPGUI driver. The recording looks good but when i play back my recording is script hang after the first command and I loose control.
I have tried many execution option but the problem still there - This is a new problem too me as I did some recording in the past with no issue.
The error do not seem to be consistent accross my multiple attempts. Sometime the script "unlock" and then process the rest of the transaction correctly.
It seems that the transition between the session manager command and the actual transaction is not going smootlhy.
Any suggestion on how to address the issue?
My gui version is 640 Patch level 14 build 782634
The sap version is: 4.70 was 620
Thanks for the help.
Gilles

Hi Gabriela,
just to explain that behavior:
eCATT SAPGUI recoding in 6.20 starts the GUI not directly into the transaction to be recorded. Depending on system settings transactions called SESSION_MANAGER, S000 or even other "startup-transactions" do come up first, before you enter "/n<TACODE>" in your OK-Code field. (BTW: you should avoid starting transaction to be recorded by menu path').
Unfortunatelly SAPGUI recording does also record that start transaction, but as Jon wrote, you can decomment or drop this line.
For a "perfect" transaction recording you should also active the RESET_GUI flag with 'X' in the SAPGUI command containing the real first screen of your transaction (the screen after SESSION_MANAGER). This causes eCATT to send a "/N<TA_CODE>" before starting replay. That way you can be sure to start with the right transaction.
Now the reason for your error message:
Sometimes during replay unfortunatelly the start screen is not the same as during recording. There is a certain check in SAPGUI command to avoid replay on wrong screens and that causes the message you saw.
From 6.40 on eCATT starts recording always directly in the trasaction to be recorded. You have to specify it at the "insert pattern" screen for SAPGUI recording. So screen with TA SESSION_MANAGER should not appear anymore in new recorded SAPGUI commands.
Best regards
Jens

Similar Messages

  • How to deal with generated programs in eCATT SAPGUI recording?

    Hi experts and professionals,
    I am trying to automate testing of our solutions by eCATTs and so far i have not been able to find solution for following problem.
    Whole test scenario is very simple:
    Check InfoProvider data (query, lookup, listcube,...)
    Create DAP on InfoProvider
    Archive InfoProvider
    Check InfoProvider data (query, lookup, listcube,...)  again
    Compare results from step 1. and 4. (must match)
    Reload archived data
    Check InfoProvider data (query, lookup, listcube,...)  again
    Compare results from step 1. and 7. (must match)
    As you can see, one of the required test steps is to check InfoProvider's data in transaction LISTCUBE.
    But transaction LISTCUBE generates its program "name" every time it is executed and
    I am struggling to find a way how to deal with these generated programs in eCATT SAPGUI recording.
    Key is that solution must be generic and work for all SAP BW releases from 7.0 upwards
    (having in mind that LISTCUBE can read NLS data from SAP BW 7.3 release).
    Error description from eCATT log:
    Screen Check Error: Expected Transaction: LISTCUBE, Actual Transaction: LISTCUBE.
    Expected Program: GP0KOZE7EFIUBN10MZUFWX90W80, Actual Program: GPBP24INA6VV77SL0XKU5NA642O.
    Expected Screen Number: 1000, Actual Screen Number: 1000.
    There Is Probably an Error in SAPGUI recording.
    ExceptionClass:CX_ECATT_APL_CAPTURE  ExceptionId:SCREEN_CHECK_ERROR
    RaisingClass:CL_APL_ECATT_LINE_INTERPRETER  Include:CL_APL_ECATT_LINE_INTERPRETER=CM00J  Line:443
    Is there any way how to avoid program check in eCATT script?
    Anything that would help me to find solution will be greatly appreciated.
    Best Regards,
    Igor

    Dear Igor,
    Your issue is caused by the "screen check" which eCATT processes here.
    In General this screen check is a very usefull activity, since is ensures that only those screens are processed by automation, which initially where recorded. This should ensure as much as possible to invoke only intended activities.
    Remember, that the driver of the screen flow is still the automated transaction program ( but not the test tool). So application logic decides which screen is send next.
    Using screen check the test tool tries to ensure that menu items and buttons and other activities are only automated when the tool "believes" to work on the intended screen.
    For generic test scripts and often in context of generated programs the screen check might hurt a bit.
    To overcome this, one might try to make the check dynamic (as Sheetal suggests correctly).
    If here the name of program cannot be determined for any reason, one can use another method and do following:
    - Change the value of ProcessedScreen-Active to 'R'
    This will disable/skip the screen-check for this ProcessedScreen.
    Sure the solution includes a certain risk, since not checking the correct screen to appear might lead to automation of actions with not desired impact.
    Maybe this can improve your solution.
    Kind Regards
    Jens

  • Message---- End Message in Ecatt - -SAPGUI

    Hi Everyone:
        Can some one give me a detailed information about Message and End Message commands in Ecatt-SAPGUI.
        How can they be used?
        What are the main advantages etc.
    Thanks,
    Rajesh.S

    Hello Rajesh
    You can basically use the Message/End Message statement to surround SAPGUI or TCD commands to capture messages from the GUI as raised by the MESSAGE ABAP Statement in your programs. The captured messages can then be analysed using a set of specified rules to determine whether the program is functioning as expected or not.
    For example, the following eCATT segment was used to capture a message from the program that certain data was successfully generated and saved.
    MESSAGE ( OPTIONAL_COMMANDS ).
      SAPGUI ( CONFIRM_SAVE ).
      SAPGUI ( CONFIRM_GENERATE_SUCCESS ).
      SAPGUI ( SAVE_SUCC_MSG ).
    ENDMESSAGE ( E_OPTIONAL_COMMANDS ).
    The command interface used with the Message/End Message statement, in this case the command interface is called OPTIONAL_COMMANDS, will determine how the eCATT script will respond to the messages received from the SAPGUI commands.
    The command interface has a specific parameter called MODE which will determine whether a specific message is allowed, is expected, is considered an error or is obligatory. You can also specify whether the script should exit if the specified condition is not met using the EXIT flag in the command interface. Also note that the command interface used with the Message/End Message statement can contain a number of these kind of rules as to establish a set of rules used to govern the expected behaviour in terms of the messages being raised by the program.
    In your recorded SAPGUI or TCD statements specifically look for the Message variant in the recording to see what messages should be raised by the program in terms of the message classes and message numbers since you are going to need these to fully specify your messages to the Message/End Message statement. The following is an example of the message recorded in the CONFIRM_GENERATE_SUCCESS command interface from the above code except that can be used to determine the exact information to use in drawing up the OPTIONAL_COMMANDS command interface for the Message/End Message statement:
    Message
      Type  I
      Text  Report /EPIUSE/VM3REP_22000003_NEW was generated  successfully.
      Id    /EPIUSE/VM3MESS
      Number 225
      Parameter1 /EPIUSE/VM3REP_22000003_NEW
      Parameter2
      Parameter3
      Parameter4
      AsPopup  X
    Here your expected message is an information message (Type I), the message class would be /EPIUSE/VM3MESS as recorded in the Id field and the message number would be 225, do take note of these fields since you are going to need them to draw up the command interface for the Message/End Message statement. The parameters 1-4 might also be used in your Message/End Message statement conditions to really narrow down your expected messages. Well, this is a lot of information for you, I hope it helps...
    Stay well
    Ettienne Hugo

  • Ecatt sapgui issue

    Hi,
    I am trying to record co60 transaction thro ecatt sapgui mode.
    I have issue while specifying batch number, qty on the main cockpit sheet. Scripting is not recognizing the actual fields on the PI sheet. Anyone faced this issue ,kindly share your thoughts.
    Thanks in advance
    Giridhar

    Hello Giridhar
    The PI sheet is a quite old-fashioned report with editable fields that, unfortunately, escape the eCATT recording.
    However, there might be trick how to record these fields nevertheless. For example:
    - The field "QUANTITY" is (on our system) located within a block "Phase". The line begin with the phrase "Control Instruction" which occurs several times on the PI sheet but this is the last occurrence.
    Phase          : 0952 / Instruction no.: 0010
    Control Instruction            :               QUANTITY :
    Text could not be read                         ORDER COMPLETE?
    So, if you can navigate unambigously to the line where you want to modify values using the SEARCH button (Ctrl+F) you are halfway through. Let us assume that you could navigate to the line begin with "Control Instruction". How do you get to the editable "QUANTITY" field? By moving the cursor with the "Right-Arrow" button. The distance between the beginning of the line and the editable field should be fixed.
    I know it sound a bit weird but I have used this workaround already to get to specific nodes of old-fashioned trees (RS_TREE_...).
    Good luck.
    Regards
       Uwe

  • ECATT SAPGUI Recoring for co60

    Hi,
    I am trying to record co60 transaction thro ecatt sapgui mode.
    I have issue while specifying batch number, qty on the main cockpit sheet. Scripting is not recognizing the actual fields on the PI sheet. Anyone faced this issue ,kindly share your thoughts.
    Thanks in advance
    Giridhar

    Hi Giridhar,
    Check the SAPGUI Recording if some of the steps are not recorded itself or if the SAPGUI's are jumbled(this happens some times, then split to the least level and arrange the SAPGUI's in order) correct them and execute them.
    Execute the Script highlighted, so that you will exactly know where the problem is..
    That should be a temporary problem. CO60 is a normal transaction which doesnt have any controls in it also, so handling that transaction for SAPGUI should not be a problem.
    Try to record the TA again(my last suggestion)..
    Besr regards,
    Harsha
    PS: Reward points if this is helpful

  • ECATT SAPGUI method to capture ALV grid contents

    Dear All,
    I am using eCATT SAPGUI method to record the transaction VF04. The problem here is I am unable to capture the contents of the ALV grid present in the transaction.
    Were any one of you able to capture the contents of ALV grid using SAPGUI method, if so, please do help me to solve this problem.
    Thanks in advance,
    Sidharth

    Hi Sidharth,
    Did u find any solution for this problem .
    Iam facing same problem for MRIS,MRRL alv reports.Iam recording through SAP GUI but I want One out put field in log. If U find any solution for this plz forward to me.
    Thanks in advance
    Raju.K

  • ECATT - SAPGUI Recording Messages Queries

    Jonathan,
    With the earlier discussion regarding SAPGUI recording pattern, following were the observations. (More details were posted on September 08, 2005 with the subject - Re: eCATT SAPGUI Recording Queries)
    >> The messages, which I got, are not popup dialog boxes. They are at the bottom on status bar. And the system is expected to proceed further with the warning message without any problem. But the SAPGUI recorded script fails due to such unrecorded messages.
    TCD handles such situation automatically. But SAP GUI doesn't. So how to handle such unpredicted situation?
    >> Again, it is mentioned in help that whenever Controls are involved, one should go ahead with SAPGUI.
    What is this 'Control' mean in case of TCD.
    Thanks & Regards.

    Jonathan,
    With the earlier discussion regarding SAPGUI recording pattern, following were the observations. (More details were posted on September 08, 2005 with the subject - Re: eCATT SAPGUI Recording Queries)
    >> The messages, which I got, are not popup dialog boxes. They are at the bottom on status bar. And the system is expected to proceed further with the warning message without any problem. But the SAPGUI recorded script fails due to such unrecorded messages.
    TCD handles such situation automatically. But SAP GUI doesn't. So how to handle such unpredicted situation?
    >> Again, it is mentioned in help that whenever Controls are involved, one should go ahead with SAPGUI.
    What is this 'Control' mean in case of TCD.
    Thanks & Regards.

  • ECATT-SAPGUI Recording error

    Hi All,
    I am trying do  the GUI recording of the transation ME51N.I have done the recording with proper set of data and at the end i got PR number.And it given SAP GUI command on the ecatt editor(say SAPGUI ( SAPGUI_1 ).
    when i double click on the command it exapand as ProcessedScreen[1]>UserChangedState>GuiElement[1]-->here we need to get the Value.Then we can perameterized this value to be available for other set of data.
    but when i try to replay it running successfully and giving PR nuber.
    But in this case i am unable to get values under the "VALUE"(like material, quantity, plant...)  which i entered during the GUI recoding.Can any one provide solution.
    and VALUE is not displayed.
    When i try this for VA21, it works good, the problem with ME51N.
    It will be great help if any one provide solution.
    Regards
    RAJ

    Dear Igor,
    Your issue is caused by the "screen check" which eCATT processes here.
    In General this screen check is a very usefull activity, since is ensures that only those screens are processed by automation, which initially where recorded. This should ensure as much as possible to invoke only intended activities.
    Remember, that the driver of the screen flow is still the automated transaction program ( but not the test tool). So application logic decides which screen is send next.
    Using screen check the test tool tries to ensure that menu items and buttons and other activities are only automated when the tool "believes" to work on the intended screen.
    For generic test scripts and often in context of generated programs the screen check might hurt a bit.
    To overcome this, one might try to make the check dynamic (as Sheetal suggests correctly).
    If here the name of program cannot be determined for any reason, one can use another method and do following:
    - Change the value of ProcessedScreen-Active to 'R'
    This will disable/skip the screen-check for this ProcessedScreen.
    Sure the solution includes a certain risk, since not checking the correct screen to appear might lead to automation of actions with not desired impact.
    Maybe this can improve your solution.
    Kind Regards
    Jens

  • ECATT, SAPGUI recording

    Hi..
    I'm working on eCATT with SAPGUI recording mode,
    I recorded VA01 transaction, In this after enterring some articles i'm getting a statusbar message,
    If I press enter then i'm able to enter order quantity,
    But, my problem is, I'm not getting the status bar message regularly (i think the message is appearing only on holidays)
    So, i want to execute the command only when the message appeared,
    For this Shall I use message..endmessage block,
    or any work around is there to handle this,
    If i use message..endmessage block, how to define the rule and how to use the rule to execute/not execute the required step after appeating the message,
    can anyone help me in this regard..
    Thankyou...
    Chandra shekhar

    Hi Chandra Sekhar,
    Using a Message - End Message block would not solve your problem.
    Message block basically captures your messages(that arise while execution) but you cannot use it for standard instructions. All you could do is Allow that message(which in this case could mean nothing).
    You could do some thing like this..
    Use the SAPGUI ATTACH, record the message and the Enter button.. Make both the steps Optional. So, while execution, sapgui handles these optional steps when needed and in the other times, it wont consider.
    Hope this helps..
    Best regards,
    Harsha
    PS: Reward points if this answers your query.

  • ECATT - SAPGUI record 6.2 vs 6.4

    When I was recording eCATT's with SAPGUI on 6.2 I did not have to enter a t-Code, it would just open a session and I could enter what ever in that session and it was recorded till I stop record
    Now on 6.4 I'm required enter a t-code and start with it.   What if you want to record some other action other then a t-code, is there a way to still do that?
    Thanks
    Rudy

    Hello Rudy,
    you still can use the attach function to record any possible action in a SAPGUI you started from SAPLOGON.
    On the other hand there is nearly nothing one could record without a transaction running. Even if you would like to start your transaction from sap menu, this menu itself is hosted in a transaction.
    Best regards
    Jens

  • Gapless Playback Hanging Up

    All-
    I have done several searches on this, didn't find any thing conclusive. Does anyone have any insight why iTunes hangs up songs when performing the "determining gapless playback information"?
    I removed the song it was originally hanging on, only to have it hang on another.
    Any help is GREATLY appreciated.
    Cheers,

    I used a program called AppZapper to uninstall Itunes. It is pretty nifty for uninstalling programs in osx. You drag the item you want to uninstall into appzapper from you applications menu and it finds it and some files associated with it. When you click zap it is uninstalled. I then downloaded Itunes 7.4.2 from here.
    http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iTunes7/Mac/061-3 873.20070917.Rg7Vw/iTunes7.4.2.dmg
    Like I said in my previous post. I plugged in my hard drive let it run and I was still getting the spinning pin wheel. I left it over night to work through its whatever it was doing so i am not exactly sure how long it takes. Hope this helps.

  • Playback hang

    During timeline playback, about every 20-30 seconds, the picture and audio meters hang while audio playback continues. The timeline is completely rendered and (ProRes 1080p24 media) there are no backround processes running. Activity monitor indicates FCP uses 75-110% CPU during playback on my MBP Retina 2.7 GHz w/16 GB RAM.
    Any clues to what might be happening?

    Deleted my prefs and now it's working. I guess some things never change!

  • Playback hangs on cuts - 5D Mark II

    Working on FCP7 on a MBP 2.4 with 4GB memory.
    I've changed playback control to
    RT: Safe
    Video Quality: Low
    Frame rate: Dynamic
    Does this apply to the way FCP handles playback on the Sequence or the viewer? In the RT submenu on the sequence all I get is the "Play base layer only" (which is unchecked) and the Record to Tape options.
    Working on an H.264 timeline with Canon 5D Mark II clips. I'm to play them in Viewer without a problem and on the sequence, it's going from clip to the other that causes a hiccup on clips. Thanks for any help.

    H.264 is a recording and delivery format, it is an extremely difficult format to edit in (as you are finding out). You need to convert your H.264 files into a file format that can be edited such as Pro Res.
    Convert your files via Compressor, then edit with the converted files.
    Hope this helps.

  • Bluetooth A2DP audio playback hangs every 5 seconds (Portege R500 VistaSP1)

    Hi,
    I've completely reinstalled on my new Portege R500 Vista SP1and the newest Bluetooth 6.10.10. When playing with Mediaplayer some music on a A2DP Bluetooth audio output device the music is always hanging every 5 seconds. With my mobile phone this A2DP audio device is working perfectly without problems.
    I'm thinking already throwing away Vista and installing XP ...
    Best regards,
    Stefan

    Update:
    I could solve my problem. I found the solution there: [http://www.djkaty.com/vista/bluetootha2dp]
    Disabling the Microsoft Bluetooth Stack was the solution. The 2 Stacks disturbed each other. Now its working fine.
    Go to Start -&gt; Control Panel -&gt; Administrative Tools -&gt; Services and scroll down to the service called Bluetooth Support. Right-click the service, choose Properties and change the startup type from Automatic to Manual. Click OK.
    Cheers,
    Stefan

  • Adobe Premiere playback hangs in Windows 7 (But worked in XP on same machine w/  half as much ram?)

    Problem description:
    Ever since I upgraded to Windows 7 on my m1210, I've been having major  problems with Adobe Premiere Pro CS4.  When I'm editing a video, I'm  unable to play the video in the timeline - or in the program at all.  High definition video plays fine with regular programs, but when the  same file is run in Premiere, the audio plays, but the picture doesn't  advance - or when it does it freezes on a single frame, waits 20  seconds, and then shows off another glorious single frame.
    This is odd, because the computer exceeds the requirements to run  Premiere, and what's more - it worked fine under windows XP with LESS  ram.   I don't understand what's going on here.
    Attempted fixes: Tried to make sure both cores were recognized by  win7 (Apparently they are) Bought more RAM (upgraded from 2 to 4gigs)  Bought faster HD.
    None of these things have made a difference.  I still wonder if only one  core is being recognized by the program but both show up under the  device manager, and when I use CPUID.
    Recent changes: I installed a faster hard drive (Which was my  attempt to help solve the problem, as faster HD=good for video editing)  and reinstalled Windows 7. Didn't change the results.
    Operating system:Windows 7 32bit Ultimate Edition. (Thinking about installing 64 to see if it makes a difference.)
    System specs:
    Dell XPS m1210
    Intel Core Duo T5600 1.83 (essentially 2.5 with both cores)
    4G Ram
    120gb 7200rpm HD
    GeForce 7400Go

    >don't understand what's going on here
    Upgrade-Itis... CS4 was not written for Win7, so some people have problems
    Some reading
    http://forums.adobe.com/thread/789809?tstart=0
    More Tips http://windowssecrets.com/comp/110127
    Utilities http://windowssecrets.com/comp/110106 (Soluto for startup)
    Win7 Help http://social.technet.microsoft.com/Forums/en-US/category/w7itpro/
    Win7 Configuration Article http://windowssecrets.com:80/comp/100218
    Win7 Monitor http://windowssecrets.com:80/comp/100304
    Win7 Optimizing http://www.blackviper.com/Windows_7/servicecfg.htm
    Win7 Virtual XP http://www.microsoft.com/windows/virtual-pc/
    More on Virtual XP http://blogs.zdnet.com/microsoft/?p=5607&tag=col1;post-5607
    Win7 Adobe Notes http://kb2.adobe.com/cps/508/cpsid_50853.html#tech
    Win7 Adobe Update Server Problem http://forums.adobe.com/thread/586346?tstart=0
    An Adobe Win7 FAQ http://forums.adobe.com/thread/511916?tstart=0
    More Win7 Tips/FAQ http://forums.adobe.com/thread/513640?tstart=0
    Processes http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
    Compatibility http://www.microsoft.com/windows/compatibility/windows-7/en-us/Default.aspx
    Win7 God Mode http://forums.adobe.com/thread/595255?tstart=0
    CS5 Install Error http://forums.adobe.com/thread/629281?tstart=0
    CS5 Help Problem http://kb2.adobe.com/cps/842/cpsid_84215.html
    Win7 and Firewire http://forums.adobe.com/thread/521842?tstart=0
    http://lifehacker.com/5634978/top-10-things-to-do-with-a-new-windows-7-system
    http://www.downloadsquad.com/2009/05/29/7-free-windows-7-tweaking-utilities/
    Win7 64bit Crashing and "a" fix http://forums.adobe.com/thread/580435?tstart=0
    http://prodesigntools.com/if-any-problems-downloading-or-installing-cs5.html
    Harm's Tools http://forums.adobe.com/thread/504907
    Also http://www.tune-up.com/products/tuneup-utilities/
    Also http://personal.inet.fi/business/toniarts/ecleane.htm

Maybe you are looking for

  • Using iPhoto after transferring from a PC...

    I just transfered my files from PC to mac and I was wondering is there a way to make sub folders inside events to organize photos better? Also where is the Photos folder for iPhoto on the hard drive? I can't find it anywhere.

  • Valuated GR not allowed in case of multiple account assignment

    Hi Friends, While creating Asset PO with multiple account assignment categories from SC i received the following error message in RZ20. PO 0030065837: No instance of object type PurchaseOrder has been created. External reference: PurchOrder 003006583

  • Outlook 2003 Calendar syncing bug fixed!

    Since Apple has refused to acknowledge this major bug in Itunes 7.7 - iPod Touch 2.0, I decided to solve the problem myself. As you all know. The new Apple software and firmware upgrades have destroyed the syncing of Outlook Calendars with both the i

  • Transmitting MIDI clock from Mainstage - is it possible?

    Hi I've just upgraded from Mainstage V.1 to V 2.1.1. I have previously been unable to transmit MIDI clock from MS to external MIDI devices (specifically a DSI Tetra) in order to sync arpegiator, sequencer, LFOs etc. I can't find any mention of it in

  • Chapters in the Revolution theme not appearing

    IDVD is not showing the chapter markers with the clips. I know that they are there because an orange frame appears for each of the six I created.