[jbosstools-commits] JBoss Tools SVN: r43170 - branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Aug 22 10:51:45 EDT 2012
Author: psuchy
Date: 2012-08-22 10:51:45 -0400 (Wed, 22 Aug 2012)
New Revision: 43170
Modified:
branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java
Log:
debugging tests for Windows compatibility
Modified: branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java
===================================================================
--- branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java 2012-08-22 14:31:11 UTC (rev 43169)
+++ branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java 2012-08-22 14:51:45 UTC (rev 43170)
@@ -49,10 +49,12 @@
} catch (AWTException e) {
e.printStackTrace();
}
+ robot.waitForIdle();
robot.keyPress(KeyEvent.VK_RIGHT);
+ robot.keyPress(KeyEvent.VK_ENTER);
robot.keyRelease(KeyEvent.VK_RIGHT);
- robot.keyPress(KeyEvent.VK_ENTER);
robot.keyRelease(KeyEvent.VK_ENTER);
+ robot.waitForIdle();
//KeyboardFactory.getAWTKeyboard().pressShortcut(Keystrokes.RIGHT, Keystrokes.CR, Keystrokes.LF);
bot.shell("Preferences").activate();
}
More information about the jbosstools-commits
mailing list