REPOST: I posted this earlier, but was not subscribed to the list yet, so it was rejected. Sorry for the dupe... --------------------------------------------------------------------------------------------- SWTBot newbie, trying to run my first test against a large Eclipse RCP app with SWTBot 1.0
I created a new test class like this: public class RCPTest extends SWTBotEclipseTestCase { @Test public void testOpeningConnectionManager() throws WidgetNotFoundException { bot.menu("Adaptors").menu("Connection Management").click(); } } Set up Run -> Configuration to add a new launcher and pointed it to my app's product. Our app launches fine on its own, but when I try to run the test, I get an error launching the app: !SESSION Mon Nov 24 11:53:52 EST 2008 ------------------------------------------ !ENTRY org.eclipse.equinox.launcher 4 0 2008-11-24 11:53:52.371 !MESSAGE Exception launching the Eclipse Platform: !STACK java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:546) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) Any idea what else am I missing in my setup? -- View this message in context: http://www.nabble.com/REPOST%3A-Failed-to-start-test-tp20664863p20664863.html Sent from the SWTBot Users List mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SWTBot-users mailing list SWTBot-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swtbot-users http://swtbot.org/ - a functional testing tool for SWT/Eclipse