Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
827 views
by
retagged by
I have a scenario where I am supposed to drag and drop an element in TestComplete. How do I do that?

1 Answer

0 like 0 dislike
by Master (1.2k points)
You can use the Drag function in TestComplete to perform Drag and Drop action.

E.g.

Dim testObject
Set testObject = Aliases.MyObject
Call testObject.Drag(19, 26, -3, -59)

You can get values to pass to the Drag function by starting the record option and perform drag and drop while recording.

Hope that helps.
...