Author: jjankovi
Date: 2012-04-17 09:42:31 -0400 (Tue, 17 Apr 2012)
New Revision: 40240
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/utils/ProjectHelper.java
Log:
method in ProjectHelper modifying
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/utils/ProjectHelper.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/utils/ProjectHelper.java 2012-04-17
13:41:41 UTC (rev 40239)
+++
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/utils/ProjectHelper.java 2012-04-17
13:42:31 UTC (rev 40240)
@@ -15,6 +15,7 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotCombo;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTable;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
import org.jboss.tools.ui.bot.ext.SWTBotExt;
@@ -152,7 +153,10 @@
propertiesShell.activate();
SWTBotTreeItem item = bot.tree().getTreeItem("Targeted Runtimes");
item.select();
- bot.table().getTableItem(0).uncheck();
+ SWTBotTable runtimes = bot.table();
+ for (int i = 0; i < runtimes.rowCount(); i++) {
+ runtimes.getTableItem(i).uncheck();
+ }
bot.table().getTableItem(0).check();
bot.button(IDELabel.Button.OK).click();
bot.waitWhile(new ShellIsActiveCondition(propertiesShell),
Show replies by date