Draganddrop

This command simulates the dragging and dropping of an HTML element. The element is identified by the locator tag while the movement made is specified by the movementString attribute.

Required Attributes
locator
Element Locator to identify the html element.
movementsString
offset in pixels from the current location to which the element should be moved, e.g., "+70,-300"
Usage Examples
Example #1
<selenium baseurl="http://someplace.com" browser="*firefox">
   
<open url="/" />
   
<dragAndDrop locator="//input[@name='test']" movementString="0,50" />
</selenium>