/
"DRAG_AND_DROP" Command

"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

 

 

 

Related content

"ALERT" Command
"ALERT" Command
Read with this
"PRINT_PAGE_SOURCE" Command
"PRINT_PAGE_SOURCE" Command
Read with this
"GET_COOKIE_VALUE" Command
"GET_COOKIE_VALUE" Command
Read with this
"VERIFY_SOAP" Command
"VERIFY_SOAP" Command
Read with this
"EXECUTE_SOAP" Command
"EXECUTE_SOAP" Command
Read with this
"RIGHT_CLICK" Command
"RIGHT_CLICK" Command
Read with this