Drag Element From Source to Destination: DRAG_AND_DROP
The DRAG_AND_DROP action is used to drag an element from one location (source) and drop it onto another location (destination). This action helps automate drag-and-drop interactions commonly used in lists, dashboards, forms, or visual editors.
Example: Let’s drag the item “Task A” from the Available Tasks panel and drop it into the Assigned Tasks panel.
Steps to configure:
- Add a new step to the Use Case you are working on
- Select DRAG_AND_DROP from the Action drop-down
- In the Screen Name field, enter where the elements are located (for example, TaskManagementPage)
- In the Element Key field, select the element you want to drag. This is your source element (example, TaskA_Item)
- In the Parameters section, enter destination name where the item should be dropped. This is your destination element (example, AssignedTasks_Panel).
- Click Save.
Note: Ensure both the source and destination locators are already defined before using this action.

Expected Outcome on Execution: The DRAG_AND_DROP action will pick up Task A from the Available Tasks panel and drop it into the Assigned Tasks panel.
