Draganddroptoobject

This command will drag and drop an element to another element using nothing but the Element Locator strings specified.

Required Attributes
locatorOfObjectToBeDragged
an element to be dragged.
locatorOfDragDestinationObject
an element whose location (i.e., whose top left corner) will be the point where locatorOfObjectToBeDragged is dropped.
Usage Examples
Example #1
<selenium baseurl="http://someplace.com" browser="*firefox">
   
<open url="/" />
   
<dragAndDropToObject locatorOfDragDestinationObject="//input[@name='trash']" locatorOfObjectToBeDragged="//input[@name='pic1']" />
</selenium>