Drag&Drop

The Drag&Drop activity automates the process of dragging an interface element with the mouse, for example, moving a file from one folder to another. This activity is similar to the Click activity. However, Drag&Drop requires two pointers to be set up. The first pointer (Selected element) is the element you need to "grab" and move. The second element (Target area) is where you move the first one.

Activity settings

Activity settings are configured automatically when recording a process or a particular activity. You can change them if you need. To open the settings window, click on the activity on the process diagram.

Parameters Tab

The Parameters tab displays the basic activity parameters, parameters of the first (Selected element) and the second pointer (Target area), and controls parameters.

drag-and-drop-1

Basic parameters:

  • Name. The activity name on the process diagram. It is set by the template when adding the activity. If you want to change the name, you can do it in this field;
  • Mouse button. Select the mouse button (left, middle, right) for the element moving;
  • Modifier keys. Simulates simultaneously pressing a key (Ctrl, Shift, Alt) and a mouse button when moving the element. For example, if you hold the Control button when moving a file, it will be copied but not moved. To delete the key, click on the 15 button;
  • Mouse cursor mode. Select the mode the cursor will move between the elements: Without animation or With animation. After selecting the first one, the cursor will move at a standard speed. When animated, it moves between elements without a pause.

Read more about target and control parameters in the "Basic activity settings principles" article.

The Target area is configured similarly to the Selected element settings.

Conditions Tab

Read more about the Conditions tab in the "Basic activity settings principles" article.

Example of using Drag&Drop