STWBot Launch Delegate - Helios [message #661049] |
Tue, 22 March 2011 17:56  |
Eclipse User |
|
|
|
Hello,
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:
bot.radio("some button").click();
I was able to workaround this by calling:
// Create the trace configuration file based on manual selection.
SWTBotRadio someRadio = bot.radio("some button.");
someRadio.setFocus();
someRadio.click();
However, it is not clear to me why I now need this extra setFocus when running the test under helios. Any ideas?
Thanks,
Jessica Deery
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03603 seconds