Page 1 of 1

How to record mouse movement

Posted: Thu Feb 12, 2015 5:06 pm
by marck
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?

Re: How to record mouse movement

Posted: Fri Feb 13, 2015 11:36 am
by Support Team
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

Re: How to record mouse movement

Posted: Fri Feb 13, 2015 11:44 am
by marck
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.