// 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.
*********** from the related question
// This opens the list of items in a combo box. _EDIT_ACCOUNT_ DIALOG) ;
header. similar( 0.80f); header) .grow(0, 0, 0, 350);
tmp.find( _ACTIVE_ COMBO_BOX) .click( );
Pattern header = new Pattern(
Region tmp = exists(
// This selects one of the items in the combo box. down(Button. LEFT);
Mouse.move(0, 50);
Mouse.
Mouse.up();
// This code then clicks the dialogs "Submit" button. _EDIT_ACCOUNT_ DIALOG) ;
header. similar( 0.80f); header) .grow(0, 0, 0, 350);
tmp.click( _SUBMIT_ BUTTON) ; <<<---- This is where the problem occurs. The click NEVER returns.
Pattern header = new Pattern(
Region tmp = exists(