Wait for Download reference used in a drag and drop web componet

Hi all,

I am able to get a download file in UiPath. How do I use the file reference/result from the Wait for Download to then use in a drag and drop upload file component in web browser?

Best regards

@Cooper

Rather than drag and drop…most of the drag and drops will open a browse file window once clicked…try to click on it and then use the output to type the file

Cheers

Hi @Cooper
As suggested by Anil, use the click and then provide the file path in the file explorer window, this is the most reliable way to automate.
And if you are uploading to share point , one drive, or google drive , you can also use the upload file activity from the corresponding integration services activities pack

Hey @Cooper

You can use the following steps:

→ After the “Wait for Download” activity, you will have a file reference/result stored in a variable “downloadedFilePath”.

→ Open the web browser and navigate to the web page where you want to perform the drag and drop file upload.

→ Identify the element on the web page that allows drag and drop file upload.

→ Use UiPath’s “Drag and Drop” activity to perform the drag and drop operation. Set the source as the downloaded file and the target as the identified element on the web page.

  • Set the “Source” property of the “Drag and Drop” activity to “downloadedFilePath”.
  • Set the “Target” property of the “Drag and Drop” activity to the selector or element variable that represents the target drop zone on the web page.

Happy Automation!!

Hey @Anil_G,

It won’t let me change the output on that click to be the file in Studio Web and it gives me an error when I make it the input. How do I fix?

@Archana_Gulli,

I am not seeing that within the Studio Web. Any way to do that in the cloud based platform? I am on Mac.

@Sharath_HK I am using the Chrome browser and it doesn’t have the website I want to use as a native integration.

Best regards

@Cooper

Try to use set text directly on the field where the file path gets populated instead of click and type into use set text on that element

Cheers