|STWBot Launch Delegate - Helios [message #661049]
||Tue, 22 March 2011 21:56
| Jessica Deery
Registered: March 2011
I am migrating some test plugins that use swtbot to helios. However, I am unable to run my tests with the IDE's SWTBot Test launch delegate. This worked with an older version of eclipse. When I use the launch delegate, I get the error:
Plug-in org.eclipse.swtbot.eclipse.ui was unable to load class org.eclipse.pde.internal.ui.launcher.PDEMigrationDelegate.
It appears that PDEMigrationDelegate has moved to org.eclipse.pde.internal.launching.launcher.PDEMigrationDele gate which is part of org.eclipse.pde.launching.
Is this a bug?
I was able to work around this by tweaking the plugin xml to remove the reference to PDEMigrationDelegate. However, I then noticed that parts of my tests were unexpectedly failing. For example, the following click caused my radio to end up in a strange state:
I was able to workaround this by calling:
// Create the trace configuration file based on manual selection.
SWTBotRadio someRadio = bot.radio("some button.");
However, it is not clear to me why I now need this extra setFocus when running the test under helios. Any ideas?
Powered by FUDForum
. Page generated in 0.01997 seconds