[jbosstools-commits] JBoss Tools SVN: r43860 - trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/wizard.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Sep 20 07:30:04 EDT 2012


Author: ljelinko
Date: 2012-09-20 07:30:04 -0400 (Thu, 20 Sep 2012)
New Revision: 43860

Modified:
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/wizard/ImportProjectWizard.java
Log:
Added setting of focus before pressing tab key. 

Modified: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/wizard/ImportProjectWizard.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/wizard/ImportProjectWizard.java	2012-09-20 11:21:52 UTC (rev 43859)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/wizard/ImportProjectWizard.java	2012-09-20 11:30:04 UTC (rev 43860)
@@ -49,6 +49,7 @@
 
 	private void loadProjectsFromFolder() {
 		getBot().text(0).setText(projectPath);
+		getBot().text(0).setFocus();
 		KeyboardFactory.getAWTKeyboard().pressShortcut(Keystrokes.TAB);
 		getBot().waitUntil(new ProjectIsLoaded());
 	}
@@ -56,6 +57,7 @@
 	private void loadProjectsFromZIP() {
 		getBot().radio("Select archive file:").click();
 		getBot().text(1).setText(zipFilePath);
+		getBot().text(1).setFocus();
 		KeyboardFactory.getAWTKeyboard().pressShortcut(Keystrokes.TAB);
 		getBot().waitUntil(new ProjectIsLoaded());
 	}



More information about the jbosstools-commits mailing list