Recording Hang After SAP GUI Close

Ranorex Studio, Spy, Recorder, and Driver.
nirmal
Posts: 3
Joined: Thu Jan 15, 2015 4:03 am

Recording Hang After SAP GUI Close

Post by nirmal » Tue Jan 20, 2015 7:52 am

Hello,

We are unable to continue recording due to recording hang after SAP GUI close.
We are doing following steps:
1) Start Recording
2) Open our application
3) Our application will launch SAP GUI
4) Do some steps in SAP GUI
5) SAP GUI will auto close while click save button in SAP
6) After above step recording will hang....

Please help us if we need any require steps to complete recording.

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Recording Hang After SAP GUI Close

Post by krstcs » Tue Jan 20, 2015 2:46 pm

Please include the following information when posting issues on the forum:

1. Ranorex version (5.2.2 is current).
2. Windows version
3. Error messages, if any.
Shortcuts usually aren't...

ChrisN.
Posts: 33
Joined: Wed Jul 25, 2018 11:38 am
Location: Germany

Re: Recording Hang After SAP GUI Close

Post by ChrisN. » Mon Sep 17, 2018 11:46 am

Hi, I have a same problem with recording or scripting. There are no Errors or reports, ranorex just hang after the SAP GUI was closed. This happens when I record or execute the script.
Ranorex Version 8.2.1
Windows 7
Image

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Recording Hang After SAP GUI Close

Post by Support Team » Wed Sep 19, 2018 5:23 am

Hi ChrisN,

I'm sorry to hear you are having trouble but I would be happy to help.

Did this issue just start recently for you or has it always been like this? If it just started recently, are you able to think of anything potentially related that may have changed in your environment? I would also doublecheck the SAP automation steps if you have not yet already.

Would you be able to provide a Ranorex Report from a test run which experienced the hang?

I look forward to hearing from you!

-Jon

ChrisN.
Posts: 33
Joined: Wed Jul 25, 2018 11:38 am
Location: Germany

Re: Recording Hang After SAP GUI Close

Post by ChrisN. » Mon Oct 01, 2018 1:22 pm

I can't present a report, because Ranorex does not create some. The Execute did not finishing. I only can say that the SAP GUI goes in the background and can't be used anymore, there are no actions more possible in this window but this is OK. The spy funktion hangs if I track or refresh. I dont execute any actions in this backgroundwindow after it is minimized so I dont understand why its hang. This is a big problem, because the whole projekt dont work without this funtion.
Tested on win7 and 10.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Recording Hang After SAP GUI Close

Post by Support Team » Tue Oct 02, 2018 5:32 am

Hi ChrisN,

Thank you for the added information. I agree this sounds like a serious issue and so I would recommend capturing logs after reproducing the issue and then submit them via our support portal. Please see the below steps for providing internal Ranorex logs:
  • Reproduce the issue through whatever steps needed
  • When you are finished, close all Ranorex tools
  • Find and zip the 'Logs' folder located at: C:\Users\<USER NAME>\Documents\Ranorex\
Once you have a compressed copy of the Logs folder, please create a support query at this link. There will be a section at the end where you may upload the files.

Please let me know if you have any questions or concerns!

Regards,

Jon

ChrisN.
Posts: 33
Joined: Wed Jul 25, 2018 11:38 am
Location: Germany

Re: Recording Hang After SAP GUI Close

Post by ChrisN. » Thu Oct 04, 2018 1:39 pm

Hi, the Problem was Ranorex tried to find a hidden SAP window, which goes in background after some actions. The solution was to disable the SAP plugin when the window is in background and not used and activate it when its needed.

"Ranorex.Plugin.SapFlavor.Instance.Enabled = false/true;"

Thanks to Ranorex Support for Help.