Cross platform drag and drop

can we drag a file (PDF) in a folder in the computer and drop it in a website ? if we can do it how to do it ?

To drag and drop a file using UiPath, you can follow these steps:

  1. Open UiPath Studio and create a new blank project.

  2. Drag and drop a “Start Process” activity onto the workflow.

  3. In the Properties panel of the “Start Process” activity, set the FileName property to the path of the application where you want to perform the drag and drop action.

  4. Add a “Delay” activity after the “Start Process” activity. This delay will allow time for the application to load.

  5. Use the “Click” activity to click on the file or element that you want to drag.

  6. Add a “Delay” activity after the “Click” activity to allow time for the drag action to take effect.

  7. Use the “Click” activity again, but this time to click on the target or destination where you want to drop the file.

  8. Add a “Delay” activity after the second “Click” activity to allow time for the drop action to take effect.

  9. Save and run the project.

This is a workaround suggestion, please let me know how it goes. As out of box Drag and Drop is not available cross platforms.

Hi,

Unfortunately DragAndDrop activity doesn’t support cross platform as the following document.
(Because HardwareEvent is not supported in cross platform)

https://docs.uipath.com/activities/other/latest/ui-automation/n-drag-and-drop

Regards,

@elt.rd13

Welcome to the community

In cross platform you do not have any functionality that is related to desktop events or drags and drops or hardware events

Cheers

Hello Guys, Thank you so much for your response. I appriciate it so much. Cheers.

Thanks you so much Mr. Yoichi. Appreciate your help.

1 Like

Thank you so much Mr. Anil. I appreciate your help.

1 Like