How to record mouse movement

Ranorex Spy, Recorder, and Studio.
marck
Posts: 2
Joined: Thu Feb 12, 2015 4:54 pm

How to record mouse movement

Post by marck » Thu Feb 12, 2015 5:06 pm

I'm trying to test a drawing tool. When you hold the left click down and start moving the mouse a line is drawn according to the mouse movement. Upon release the drawing stops.
When I record that, ranorex actually records only the location where I pressed the button down and where I released it, thus drawing a straight line.
Anyone have any suggestions on how to record the mouse movement so that when I play the recording the line that I drew is actually drawn and not a straight line?

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

Re: How to record mouse movement

Post by Support Team » Fri Feb 13, 2015 11:36 am

Hi marck,

You can record mouse moves with Ranorex by enabling the hotkeys and pressing "M" as you can see here: During Recording.
But I am afraid this works in a different way as you would need it to work, since Ranorex just tracks the start and end point of any mouse action, so when you want to record a more complex movement you will need to separate it in different mouse moves or mouse ups and downs.

Regards,
Markus
.
Image

marck
Posts: 2
Joined: Thu Feb 12, 2015 4:54 pm

Re: How to record mouse movement

Post by marck » Fri Feb 13, 2015 11:44 am

I have tried the Move command, but that will require a lot of work for just a small task. Thank you for your suggestion though.