Mouse click operations are not working

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
tharward
Posts: 9
Joined: Sat Nov 16, 2013 4:17 am

Re: Mouse click operations are not working

Post by tharward » Mon Dec 09, 2013 7:29 pm

Hi Markus,

It is good to hear that Ranorex is working on a solution.

As for the LowLevelHooksTimeout setting that you mentioned, like Phani, I also do not have the path to the specific folder in my Registry. More specifically, there is not a Control Panel folder listed under Windows in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows.

In an earlier post in this topic you referred to a different path (HKEY_CURRENT_USER\Control Panel\Desktop\LowLevelHooksTimeout) which is what I used although I saw no difference in the number of Mouse Down events recorded regardless of the value of the setting (7000, 10000, 20000, 30000).

If there is a better location to put the setting in the Registry, please let me know and I will be glad to give it a try.

Thanks,

Troy

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Mouse click operations are not working

Post by Support Team » Tue Dec 10, 2013 9:18 am

tharward wrote:I also do not have the path to the specific folder in my Registry ... HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Control Panel\Desktop
This registry key can be set by a group policy. If it is not present, the value from HKEY_CURRENT_USER\Control Panel\Desktop\LowLevelHooksTimeout is taken.
tharward wrote:I saw no difference in the number of Mouse Down events recorded regardless of the value of the setting (7000, 10000, 20000, 30000).
The setting may only take effect after you log out and log in again (or restart). Have you done that?

Regards,
Alex
Ranorex Team
.
Image

phani.2905
Posts: 41
Joined: Thu Nov 07, 2013 12:19 pm

Re: Mouse click operations are not working

Post by phani.2905 » Fri Dec 27, 2013 7:38 am

Hi guys,

Is there any update??

Thanks,
Phani

User avatar
BernhardS
Ranorex Guru
Ranorex Guru
Posts: 36
Joined: Tue Dec 17, 2013 6:35 pm

Re: Mouse click operations are not working

Post by BernhardS » Mon Dec 30, 2013 2:53 pm

Hello Phani,

Did you try the workaround that Alex provided?

Regards,
Bernhard

phani.2905
Posts: 41
Joined: Thu Nov 07, 2013 12:19 pm

Re: Mouse click operations are not working

Post by phani.2905 » Mon Jan 06, 2014 11:02 am

Yes Bernard but no luck,
I was told that it is an bug and it's being fixed in 5.0.0 version..

Thanks,
Phani

User avatar
BernhardS
Ranorex Guru
Ranorex Guru
Posts: 36
Joined: Tue Dec 17, 2013 6:35 pm

Re: Mouse click operations are not working

Post by BernhardS » Tue Jan 07, 2014 11:55 am

Hello Phani,

OK!
I would suggest to wait for Ranorex 5.0.

Regards,
Bernhard

phani.2905
Posts: 41
Joined: Thu Nov 07, 2013 12:19 pm

Re: Mouse click operations are not working

Post by phani.2905 » Thu Feb 06, 2014 7:09 am

BernhardS wrote:Hello Phani,

OK!
I would suggest to wait for Ranorex 5.0.

Regards,
Bernhard
Hi,

It seems in Ranorex 4.1.5 version our bugs are fixed :) :) . So i don't need to wait till 5.0 Release.
I will take a backup of my current scripts and upgrade to 4.1.5 version. I will try to install and update you about this issue.

Thanks,
Phani
Attachments
4.1.5 release.PNG
last 2 bug fixes
4.1.5 release.PNG (28.34 KiB) Viewed 1921 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Mouse click operations are not working

Post by Support Team » Thu Feb 06, 2014 8:15 am

phani.2905 wrote:It seems in Ranorex 4.1.5 version our bugs are fixed :) :)
That's right, we put the relevant fixes for recording via (laggy) RDP connections into 4.1.5 as well.

Looking forward to your feedback on the bug fixes.

Regards,
Alex
Ranorex Team
.
Image

phani.2905
Posts: 41
Joined: Thu Nov 07, 2013 12:19 pm

Re: Mouse click operations are not working

Post by phani.2905 » Tue Feb 11, 2014 11:27 am

HI,

The below issue is not yet fixed. Even now also all my Mouse click events are shown as Mouse Down's

-> Fixed the recorder generating mouse Up/Down instead of Click actions (with asynchronous input
dispatching turned off)

Thanks,
Phani.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Mouse click operations are not working

Post by Support Team » Wed Feb 12, 2014 10:12 am

We made another improvement in 4.1.5 trying to fix mouse wobbling with the asynchronous dispatching turned on. Please make sure the "Use asynchronous dispatching of mouse and keyboard events" is checked in the Ranorex Settings -> Advanced tab page. Turning this setting off was just a workaround for very slow RDP connections that should now not be needed any more.
In general, this setting should be turned on, otherwise you need to worry about the LowLevelHooksTimeout being set to a high level in the registry.
phani.2905 wrote:The below issue is not yet fixed. Even now also all my Mouse click events are shown as Mouse Down's
Have you tried recording clicks on the Windows calculator?
The bug fix will not apply if you have asynchronous input dispatching turned off and the time to calculate the RanoreXPath for the clicked element is longer than the LowLevelHooksTimeout set in the registry.

Regards,
Alex
Ranorex Team
.
Image

phani.2905
Posts: 41
Joined: Thu Nov 07, 2013 12:19 pm

Re: Mouse click operations are not working

Post by phani.2905 » Wed Feb 12, 2014 2:30 pm

Have you tried recording clicks on the Windows calculator?
The bug fix will not apply if you have asynchronous input dispatching turned off and the time to calculate the RanoreXPath for the clicked element is longer than the LowLevelHooksTimeout set in the registry.
Hi,

I agree with you. regarding " Turning this setting off was just a workaround for very slow RDP connections that should now not be needed any more."

I tried recording clicks on Windows calculator (Asynchronous mode disabled) all of them are showing correctly. Then why clicks on our application web page is showing as 'Mouse Down'. I had not changed the setting. For same setting > Calculator shows clicks correctly and Web page shows 'mouse down'.

Thanks,
Phani

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Mouse click operations are not working

Post by Support Team » Tue Feb 18, 2014 11:00 am

phani.2905 wrote:Then why clicks on our application web page is showing as 'Mouse Down'. I had not changed the setting. For same setting > Calculator shows clicks correctly and Web page shows 'mouse down'.
As I outlined in my previous post, you will always get "Mouse Down" actions only if you have the Asynchronous Dispatching turned off and do not have the LowLevelHooksTimeout set to a sufficiently high value.
Have you set the LowLevelHooksTimeout in the registry? If yes, to what value?

Have you tried switching on the Asynchronous Dispatching?

Regards,
Alex
Ranorex Team
.
Image

phani.2905
Posts: 41
Joined: Thu Nov 07, 2013 12:19 pm

Re: Mouse click operations are not working

Post by phani.2905 » Tue Feb 18, 2014 2:28 pm

Hi Alex,

Please see my post dated "Sat Nov 23, 2013 7:28 am ".
Yes i do have 'LowLevelHooksTimeout' Registry value and I had tried to set with 5000,10000,20000,30000 values. But no luck.

Anyways currently i am enabling Asynchronous mode and working on scripts. No issues

Thanks,
Phani

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Mouse click operations are not working

Post by Support Team » Tue Feb 18, 2014 3:12 pm

phani.2905 wrote:Please see my post dated "Sat Nov 23, 2013 7:28 am ".
Yes i do have 'LowLevelHooksTimeout' Registry value and I had tried to set with 5000,10000,20000,30000 values. But no luck.
Right, I remember (the forum thread is just too long :? ), but did you log out or reboot after setting the value? Since it should definitely work if you have a high timeout value.
phani.2905 wrote:Anyways currently i am enabling Asynchronous mode and working on scripts. No issues
I'm glad to hear that :D

Regards,
Alex
Ranorex Team
.
Image

phani.2905
Posts: 41
Joined: Thu Nov 07, 2013 12:19 pm

Re: Mouse click operations are not working

Post by phani.2905 » Sun Mar 09, 2014 8:16 am

Thanks Guys :) :D

Phani..