@Test public void testSaveMerge() { robot.openComparisonFile(DATABASE_Schema_FILE); robot.startComparison(); robot.contextMenu("Save merge script: Left to Right..."); if (!robot.escapeDialog("Save SQL Changescript", VK_ESCAPE)) fail("Save as dialog doesn't appear"); robot.contextMenu("Save merge script: Right to Left..."); if (!robot.escapeDialog("Save SQL Changescript", VK_ESCAPE)) fail("Save as dialog doesn't appear"); }