textField.setText("");
}
});
robot().waitForIdle();
robot().pressAndReleaseKeys(new int[] { VK_A, VK_B, VK_Z });
pause(new Condition("until keys VK_A, VK_B and VK_Z are pressed and released") {
@Override
public boolean test() {
Integer[] expectedKeys = array(VK_A, VK_B, VK_Z);
return recorder.keysWerePressed(expectedKeys) && recorder.keysWereReleased(expectedKeys);
}