Jubula doesn´t recognize running AUT after upgrade to 2.0

ε祈祈猫儿з 提交于 2019-11-29 16:25:11

There are a couple of things to try when you can no longer test an RCP AUT after an upgrade:

  • Ensure the old org.eclipse.jubula.rc.rcp_[version].jar in your AUT's plugins directory is replaced with the new version from [jubula_install_directory]/development/rcp-support.zip

  • Ensure your AUT's configuration/config.ini file still references the Jubula remote control plugin: osgi.bundles=[your AUT's bundles],org.eclipse.jubula.rc.rcp@start

More information and more Q&A about this issue can be found on the Jubula forums.

There are also the occasional quirks to look out for. For example, my current AUT shows a splash dialog on startup, and I have to dismiss it before Jubula will connect. When you're running the AUT and Jubula ITE on the same machine, it does tricky things with focus and the AUT connection can get messed up quite easily in my experience.

I've also had times when the AUT name hasn't shown up in the Running AUTs view, but I can still perform object mapping and run test suites with no problems. If everything seems to be set up correctly, it's worth trying a couple of times in case it's just a quirk messing with you.

I know I'm late but it might help those lost souls who need to migrate to newer versions of Jubula;

Jubula is made up of 3 components:

1.) Eclipse UI-plugin (or testexec.exe)

2.) AUT agent

3.) RC-plugin as the dependency of the AUT (Remote Control)

They are released in bundles:

Jubula 6.0 with 1.2 feature
Jubula 8.0 with 2.3 feature (Java 7 only)

My experiences with different versions of these:

UI-plugin  Agent   RC     Result
1.2        6.0     1.2    Works (of course)
1.2        8.0     1.2    Works
1.2        8.0     2.3    Can't see AUT
2.3        6.0     1.2    Sees AUT but won't do mapping/tests
2.3        6.0     2.3    Can't see AUT
2.3        8.0     1.2    Sees AUT but won't do mapping/tests
2.3        8.0     2.3    Works (of course)

The 2.3 Eclipse UI-plugin won't start without using Java 7 JRE.

But Fabian's problem must be this:

The RC also needs Eclipse e4 Platform. It writes nothing to log files but it won't start if you export/run your application on RCP 3.x platform. Thus you need to migrate your entire app to e4.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!