How to drag and drop if your element quickly responds to single click?

I’ve seen here how to automate drag and drop and i tested it moving a file to a folder… How To Automate ‘Drag And Drop’ (uipath.com)

Problem is, in my application, im trying to drag and drop something but the target is immediately opening and my page changes to something else so i cant do the drag n drop…

if i do drag n drop manually its okay…i just dont want any delay… even a small delay quickly opens it up… how to resolve this?

does uipath have some default delay before actions on top of the delay we can add? if so how can i disable it?
Thanks

Hello @KD11

Are you trying to drag some file to the webpage?
Also if you want to reduce the delay, can you try setting the timeout value to a lower value.

i have not set any timeout/ delay anywhere

I want to drag Top_Req2 from right to left side of screen… but as soon as i click it with uipath… it open another page…

manually drag n drop is fine

@KD11 Instead of Drag and Drop is there any other option to open the file?
If still want to proceed with Drag and Drop , did you checked the UiPath.UIAutomation.Activities.NDragAndDrop?

what’ve you’ve suggested is brilliant… its the option I’ll use eventually. Thanks for that.

Meanwhile i found a non elegant solution…

I could follow the above link but the delay was the problem

I had to change the default delay to make it work from project settings

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.