我想将 SWTBot 测试记录器与我的 Eclipse RCP 应用程序一起使用,但是当我尝试运行它时,SWTBot 记录器没有随我的应用程序一起启动。
我用 Eclipse 做了什么:
File > New > Other > Run Test Recorder > Record Test Senario on another RCP Application
配置:
- 虚拟机:
-Dorg.eclipse.swtbot.generator.enable=true
- 运行产品:我的应用
- 我有 SWTBot 的插件
运行 >>> 我的应用程序在没有 SWTBot 测试记录器的情况下启动
我已经看过这篇文章https://www.eclipse.org/forums/index.php?t=msg&th=1078197&goto=1734430&#msg_1734430它对我不起作用。 SWTBot 测试记录器可以使用 Eclipse IDE 启动。
谢谢,
安托万
最佳答案
这篇文章应该有帮助:
https://www.eclipse.org/forums/index.php?t=msg&th=1078197&goto=1734430&#msg_1734430
它对我有用。 您需要确保将插件添加到目标平台(Window->Preference->Plugin Development->Target Platform)
关于eclipse - 使用 Eclipse RCP 应用程序打开 SWTBot 测试记录器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46217906/