Skip to main content
Solved

Unable to perform Drag and Drop in A360 using Web Automation Action

  • 6 September 2024
  • 2 replies
  • 37 views

Hi All,

We are trying to perform Drag and Drop action for one of our process and facing below challenges.

Please find the below:

Our requirement is to Drag “SQL Query” tab and drop in “Drop Activity” workplace.

Our Code – Using Web Automation Package :

Step 1: We are starting the session

Step 2: We have provided the element value for “From” and “To” element .

Step 3: End Session.

 

Result : Bot run Successful, but drag and drop is not performed ( which means, “SQL Query” tab is not moved to right side (Under “Drop Activity”)).

Can someone guide me how to achive this step?

Is there any alternative ways to perform Drag and Drop?

Thanks 

 

Another possible way is to use the Mouse package. I used three actions to perform a drag-and-drop from this sample page:

https://www.w3schools.com/HTML/html5_draganddrop.asp

My automation consisted of three actions:

  • Mouse: Click, based on the browser window, capturing coordinates where the item is currently located, and the event was Button down. This holds the mouse button down.
  • Mouse: Move, capturing the coordinates of the “from” and “to” locations.
  • Mouse: Click, also based on the browser window, capturing the coordinate of where you want to drag to, using the event Button up. This releases the mouse button.

See if that works for you!


Hi @Aaron.Gleason,

Thank you so much for your response. 

With the above mentioned steps we are able to perform Drag and drop action.


Reply