Drag the image into the rectangle:


Below drag drop is for backward compatibility testing and requires _sahi.isDragDropFromTopLeft to be set true either by using _call in script or by setting sahi.browser.dragdrop.top_left sahi property to true:


Below drag drops are testing drag drop when scroll is required:

Drag drop has become very important part of modern websites.

Testing had never been easier before, specially drag drop. Automating Drag drop is not same as automating other actions as it involves movement of element from one place to another. Also depending on use case, sometimes draggable element might be dropped in drop area only if certain conditions are met. Sahi makes drag drop easy by just using _dragDrop api.