I am trying to automate the recorded tests for my product by following the sample provided in WindowTestRunner.zip on your website. New to eclipse world and bumping to issues that could be trivial. Could you please explain how the ContactManagerRCPTest.zip was made from the rcpContactManager example project?
Was it exported as a "Archive File" or "Plug-in Development > Deployable features"?
I tried exporting my test project as a .jar file and included in the 'samples' folder. Modified the ant xml files (run.xml and macros.xml). When I run the test (with the run.bat), my product is invoked and nothing happens from there. The test-out.txt indicates that the plug-in could not be found.
Any help here is appreciated.
Thanks,
NSajjan
- Code: Select all
java.lang.Exception: Could not find plugin "M3TestProject_01"
at com.windowtester.runner.EclipseTestRunner.loadSuiteClass(EclipseTestRunner.java:296)
at com.windowtester.runner.EclipseTestRunner.getTest(EclipseTestRunner.java:229)
at com.windowtester.runner.EclipseTestRunner.<init>(EclipseTestRunner.java:212)
at com.windowtester.runner.EclipseTestRunner.run(EclipseTestRunner.java:196)
at com.windowtester.runner.LocalTestRunner$1$2.run(LocalTestRunner.java:161)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at com.windowtester.runner.LocalTestRunner.launchApplication(LocalTestRunner.java:125)
at com.windowtester.runner.LocalTestRunner.run(LocalTestRunner.java:74)
at com.windowtester.runner.WindowTesterRunner.run(WindowTesterRunner.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
at org.eclipse.core.launcher.Main.main(Main.java:34)