Skip to content

dragAndDropToObject (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • Drags an element and drops it on another element.
  • Syntax
  • dragAndDropToObject(locatorOfObjectToBeDragged, locatorOfDragDestinationObject)
  • Target
  • locatorOfObjectToBeDragged - an element to be dragged.
  • Value
  • locatorOfDragDestinationObject - an element whose location (i.e., whose center-most pixel) will be the point where locatorOfObjectToBeDragged is dropped.
  • Return Value
  • N/A
 
 

Feedback and Knowledge Base