Page 1 of 1

How to drag and drop in Ranorex?

Posted: Wed Jul 08, 2015 12:03 pm
by sunil.pandey
Hi,

Can anybody polease help me in understanding "How to drag and drop in Ranorex?"

Ranorex is not recording "Drag and Drop" event.

Thanks & Regards,
Sunil

Re: How to drag and drop in Ranorex?

Posted: Wed Jul 08, 2015 12:23 pm
by odklizec
Hi,

Ranorex of course records Drag&Drop operation, just not as a single operation, but rather as a sequence of actions (Mouse Down >> Move To >> Mouse Up). Depending of the speed of Drag&Drop operation during recording, it may happen that there are some other actions recorded between the D&D events. You may eventually need to change the mouse operation timings in Ranorex Global Settings.

In my opinion, instead of recording D&D operation, it's much more reliable to manually add MouseDown, MoveTo and MouseUp actions to your recording.

Please check for example these discussions about D&D:
http://www.ranorex.com/forum/how-to-per ... -t856.html
http://www.ranorex.com/forum/not-record ... tml#p15099