Jump to: navigation, search

Difference between revisions of "SWTBot/Troubleshooting"

m
m
Line 7: Line 7:
 
</pre>
 
</pre>
  
Then the most common cause is that the target platform does not have the "org.eclipse.swtbot.eclipse.core" plugin.
+
Then the most common cause is that the target platform does not have the "org.eclipse.swtbot.eclipse.core" plugin. If you're certain that you have this plugin, but the error persists. Try running with -consoleLog -debug options turned on while running the tests. This would most probably tell you about a missing dependency that causes the plugin to not load.
  
 
[[Category:SWTBot]]
 
[[Category:SWTBot]]

Revision as of 00:01, 28 April 2009

SWTBot fails with"swtbottestapplication" could not be found in the registry

If you get an error like:

java.lang.RuntimeException: Application "org.eclipse.swtbot.eclipse.core.swtbottestapplication" could not be found in the registry.
The applications available are: some.long.list.of.application.ids

Then the most common cause is that the target platform does not have the "org.eclipse.swtbot.eclipse.core" plugin. If you're certain that you have this plugin, but the error persists. Try running with -consoleLog -debug options turned on while running the tests. This would most probably tell you about a missing dependency that causes the plugin to not load.