How to drag and drop in Ranorex?

Ranorex Spy, Recorder, and Studio.
Posts: 11
Joined: Fri Jul 03, 2015 5:35 pm

How to drag and drop in Ranorex?

Post by sunil.pandey » Wed Jul 08, 2015 12:03 pm


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

Ranorex is not recording "Drag and Drop" event.

Thanks & Regards,

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

Re: How to drag and drop in Ranorex?

Post by odklizec » Wed Jul 08, 2015 12:23 pm


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: ... -t856.html ... tml#p15099
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