← Back to team overview

sikuli-driver team mailing list archive

[Bug 886632] Re: Sikuli - could not performed a drag and drop action with the right button

 

It's works in the sikuli  IDE even without the click. The click is done just for starting the action in the right place but it has no impact.
I put the same code that you mentioned above  and I realized it works now.( For the screen variable , it's a global variable used in all my tests and it was always working fine. For the lowercase L's, it's a rule that I should follow , just to say it's a local variable, but I agree with you about the fact that it's misleading. thkx for the advice).
I did some tests to see which criteria makes the test failing, and I found that I was mixing between Screen and Region.
The part with hover or click was done with screen and the rest (mouse events) with Region. Maybe, it could be a kind of loosing focus , if it's that what you meant before.
It's either you work with Region or Screen.
Thank you Raiman for you help.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/886632

Title:
  Sikuli - could not performed a drag and drop action with the right
  button

Status in Sikuli:
  New

Bug description:
  I was using an earlier version of sikuli (sikuli-script.jar) and upgrated to the latest version as of today but I`m still facing the same issue. I'm running tests scripts with Robot Framework and sikuli using Java.
  I need to perform a drag and drop action with the mouse right button . The default drag and drop method provided by Screen class (or other classes) is a left button mouse drag and drop.
  So, what I did is : breaking down it into 3 actions : 
                    - mouseDown(Button.RIGHT)
                    - mouseMove(Destination_location) (or hover or drag)
                    - mouseUp()
  Even using these low level mouse events don't give the expected result of getting a right button drag and drop.
  Does someone have an idea how to  resolve this?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/886632/+subscriptions


References