sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37615
[Bug 1569721] Re: [1.1.0] Mouse.move(x, y): seems to block subsequent usage of Region.click()
*********** from the related question
// This opens the list of items in a combo box.
Pattern header = new Pattern(_EDIT_ACCOUNT_DIALOG);
header.similar(0.80f);
Region tmp = exists(header).grow(0, 0, 0, 350);
tmp.find(_ACTIVE_COMBO_BOX).click();
// This selects one of the items in the combo box.
Mouse.move(0, 50);
Mouse.down(Button.LEFT);
Mouse.up();
// This code then clicks the dialogs "Submit" button.
Pattern header = new Pattern(_EDIT_ACCOUNT_DIALOG);
header.similar(0.80f);
Region tmp = exists(header).grow(0, 0, 0, 350);
tmp.click(_SUBMIT_BUTTON); <<<---- This is where the problem occurs. The click NEVER returns.
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Importance: Undecided => High
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.1.1
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1569721
Title:
[1.1.0] Mouse.move(x, y): seems to block subsequent usage of
Region.click()
Status in Sikuli:
In Progress
Bug description:
I'm using Sikuli V1.1 with Java 1.7. (I'm calling the Sikuli Java SDK)
I just added a little code to move the mouse and "click" (
Mouse.down()) followed by Mouse.up() ) to select an item from a combo
box. It seems to work fine however the next operation presses the
submit button with a {region}.click() operation and that hangs. It
never returns.
Thanks,
Spence
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1569721/+subscriptions
References