Click and drag

Hello, guys!

Our web site has a form to add a new person.

In this form, there’s a imagebox where the user can upload his photo.

So, after the user click “select”, it opens a window for the image to be uploaded. Then, the user need to crop the image before click save.

How can I use katalon to automate this upload, considering the ideia of the crop being a “click and drag” action?

Best regards!!!

There are a couple of Drag based APIs, you might start there:

https://docs.katalon.com/display/KD/[WebUI]+Drag+And+Drop+To+Object

https://docs.katalon.com/display/KD/[WebUI]+Drag+And+Drop+By+Offset

1 Like

Hello, Russ.

The second link fits perfectly to me.
Thank you!