← Back to team overview

sikuli-driver team mailing list archive

[Question #250815]: Drag and drop not working with java

 

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

Hello,

i tried to drag and drop a picture (screenshot) from x to y, but the following commands do not work in my java application:

s.dragDrop(thumbnail, placeholder);
=> I used Patterns defined in my script

OR:

s.hover(thumbnail);
s.mouseDown(Button.LEFT);
s.wait((double) 1.0);
s.mouseMove(placeholder);
s.wait((double) 1.0);
s.mouseUp();

Does anyone have an idea, why my java programm does not drag and drop the picture into the placeholder?

I am testing a website with Flash content. I can for example drag and drop manually, but not automated.

Thanks for any help.

Kind regards
Mathew

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.