Author: lzoubek(a)redhat.com
Date: 2011-03-08 10:18:37 -0500 (Tue, 08 Mar 2011)
New Revision: 29601
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java
Log:
fixed another swtbot 2.0.3 incompatibility
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java 2011-03-08
12:08:10 UTC (rev 29600)
+++
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java 2011-03-08
15:18:37 UTC (rev 29601)
@@ -33,6 +33,7 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotCombo;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotScale;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
import org.jboss.tools.ui.bot.ext.gen.ActionItem;
@@ -119,8 +120,8 @@
wiz.comboBoxWithLabel(
WebServicesWebServiceClient.TEXT_SERVICE_DEFINITION).setText(
wsdlDef);
- SWTBotScaleExt slider = bot.scale();
- slider.setSelection(type);
+ SWTBotScale slider = bot.scale();
+ slider.setValue(type);
selectJbossWSRuntime();
bot.sleep(TIME_1S); // wait for wizard to validate wsdl url and
// enable Finish button