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

0 like 0 dislike
815 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.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...