← Back to team overview

sikuli-driver team mailing list archive

[Question #279251]: dragDrop does not work

 

New question #279251 on Sikuli:
https://answers.launchpad.net/sikuli/+question/279251

I was trying to drag horizontal slider using
t= find(image)
dragDrop(t, t.offset(Location(100, 0))

It did not work.  I had to write my own drag drop function.

    mouseMove(t)
    hover(t)
    wait(.3)
    mouseDown(Button.LEFT)
    mouseMove(t.offset(Location(100,0)))
    mouseUp(Button.LEFT)
    mouseMove(t) # reset mouse position to before move

why is the dragDrop function not doing this in 1.1.0?


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.