Comment 1 for bug 1569721

Revision history for this message
RaiMan (raimund-hocke) wrote :

*********** 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.