Eclipse SWT错误:找不到shell中的菜单'Shell with text {Shell {C / C ++ - Eclipse SDK}}

时间:2015-04-23 13:12:44

标签: eclipse swtbot

我在插件的swtbot测试中实际工作。当我想将Juno升级到Luna时。 在通过Luna版本后,所有测试都通过了。或者现在我在这一行有一个错误:

bot.menu("Window").menu("Preferences").click();

导致此错误:

 org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could not find a menu within the shell 'Shell with text {Shell {C/C++ - Eclipse SDK}}' 

有你的想法。

感谢每次前进。

0 个答案:

没有答案