Balasubramanyan murugan Balasubramanyan murugan - 1 year ago 154
AngularJS Question

Protractor - is there a way to Do a click/drag event with x,y coordinates

I have diary page with rows (time) and columns(person). I want to drag and select three rows from top to bottom. Please help me on this.

Answer Source

You use actions to perform drag and drop in Protractor, which also includes offset x & y. Something like:

    mouseDown(timeElement, {x: right, y: bottom}).
    mouseMove(personElement, {x: right, y: bottom}).
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download