Brice Laurel a écrit : > Hi list, > > I am a beginner on SWTBot. I use eclipse 3.4 > > 1- I create a plug-ins project "SWTBot" which template "Hello RCP" > 2- I create class "FooTest.java" in the default package >
Does your FooTest.java extends SWTBotTestCase? It is the minimum. > 3- I add plug-ins (help -> softwares updates -> > "http://swtbot.sourceforge.net/update-site" > Good. Verify they are correctly installed > 4- I add jars in my project's build path (Junit, net.sf.swtbot.finder, > org.apache.commons.collections, org.apache.log4j, > net.sf.swtbot.eclipse.finder) > You do not need them as Eclipse makes the link. And they may conflict. But you must select them in the plug-in dependencies (if not, the test file will not compile so may be it is not the problem). > 5- I restart eclipse > You do not need this except after installing software through update. > But when I right click on "FooTest.java" and select Run As -> Run > configuration. I see only the item "Run Configurations...". > I don't see items : > 1. JUnit Plug-in Test > 2. JUnit Test > 3. SWTBot Test > as refer in the SWTBot's user guide. > > I don't understand the problem. > > Thanks. > > > -- Cordialement Vincent MAHÉ Ingénieur Plate-forme OpenEmbeDD - http://openembedd.org IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France Tél: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71 ------------------------------------------------------------------------- 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