"DRAG_AND_DROP" Command

Description: This command drags an element defined by a locator or inline XPath to another element defined by a locator or inline XPath using Native or HTML5 elements.
Usage Scenario: Suppose you want to drag a picture and drop it in a box.

Procedure: Define locators for both the picture and the box (or use inline XPaths) and use them in your steps. Your steps will look like this:

Web Locator:

image-20240527-170752.png

Inline XPath:

image-20240527-170914.png

 

 

Â