mouse problem

Ask general questions here.
ken
Posts: 9
Joined: Fri Jan 16, 2015 4:55 am

mouse problem

Post by ken » Fri Jan 30, 2015 2:05 am

the mouse scroll problem,for example,i use ranorex to record AutoCAD(CAD software),when i use mouse scroll to zoom out the view(delta is 720),then i replay the test,it only zoom one bar(delta is 120). Is the software's problem or i lack some setting,please help me out,thank you!

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: mouse problem

Post by odklizec » Fri Jan 30, 2015 9:33 am

Hi,

I believe this is your second post here regarding this issue? Did you contact Ranorex support via email, as suggested in your previous post? You can contact them at [email protected]
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

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

Re: mouse problem

Post by Support Team » Mon Feb 02, 2015 6:33 pm

Hi ken,

The problem is that Ranorex just send the mouse scroll command to the operating system.
The mouse scroll is measured in "delta", this is usually a multiple of 120, which is not defined by Ranorex.
A workaround could be to add multiple mouse scroll actions to the recording. (Possibly a mouse click in between)
ScrollActions.jpg
ScrollActions.jpg (45.43 KiB) Viewed 629 times
I hope this is a suitable workaround for you.

Regards,
Bernhard
.
Image