Skip to main content



      Home
Home » Archived » Jubula » Can't connect AUT to Luna or Mars
Can't connect AUT to Luna or Mars [message #1754783] Wed, 22 February 2017 06:00 Go to next message
Eclipse UserFriend
Hi all,
*Very* new to Jubula (started yesterday!) so I may just be doing something wrong, but here goes..

I have written a plugin for Eclipse that I need to support on Luna, Mars and Neon, so I wanted to automate testing. I came across Jubula yesterday and got it installed (version 8.4.1.123). I worked through a few tutorials and help pages, and I now have a Test Suite containing a Test Case that works with my plugin on Neon.

I couldn't get it to work with just the instructions in the help - I had to install the 'Jubula Functional Testing' and 'Jubula Launch Support for Eclipse RCP' plugins from each Eclipse version's Update Site as well (otherwise there was no org.eclipse.jubula.rc.rcp.common plugin registered). Now when I start the AUTs, all Eclipse versions start fine and appear in the 'Running AUTs' window.

I set up two new Test Suites with the same Test Case, each pointing at a different AUT (Luna and Mars). However, when I try to set up object mappings, I can't get the AUT to connect.

When I try to start object mapping against Mars, it just sits there for a while and then in the console window I get:
OK: Connection to AUT could not be established.
When I try to start object mapping against Luna, the Luna instance crashes and I get an error Dialog 'An error occurred. Reason: 5009: AUT start failed' in the Jubula app.

My guess is that there is a version mismatch in org.eclipse.jubula.rc.rcp.common, and it shouldn't come from the update site but from the plugin I got from rcp-support.zip, but that one isn't loading. Of course since I only started using Jubula yesterday I could be completely wrong here..

Any ideas? Happy to go test more/provide info that I missed out.

Cheers,
Kev.
Re: Can't connect AUT to Luna or Mars [message #1754789 is a reply to message #1754783] Wed, 22 February 2017 07:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi Kev,

my first guess is that the RCP accessor was not deployed correctly. The 'Jubula Functional Testing' and 'Jubula Launch Support for Eclipse RCP' plugins are solely needed for Eclipse for Testers, therefore I would recommend that you'd uninstall these plugins from your Eclipse AUT. The org.eclipse.jubula.rc.rcp.common is included within the orc.eclipse.jubula.rc.rcp_xxx.jar from the rcp-support.zip file. It's definitely possible that a version mismatch occurs when you are mixing these Eclipse for Testers plugins with the RCP accessor that is included in our standalone Jubula version.

I would therefore propose that you uninstall the Eclipse for Testers plugins first and then follow the steps to install the RCP accessor in our user manual [1] again. After that it might also help to use the -clean argument when starting the AUT.

Best regards,
Kevin

[1] 4.3.3. Setting up an RCP AUT for testing
Re: Can't connect AUT to Luna or Mars [message #1754793 is a reply to message #1754789] Wed, 22 February 2017 08:05 Go to previous message
Eclipse UserFriend
Thanks Kevin,

I had already done this several times, but what I didn't realize (and I just discovered by pure luck!) is that when you uninstall a feature from Eclipse, it leaves all the plugins behind. It looks like even when I uninstalled the feature, the Jubular jar from rcp-support.zip was still using the Testers plugins in preference to its own.

I now have all three environments connecting correctly to do the object mapping, so thanks!

I'll go play a bit with these before I post another thread about getting Selenium set up for HTML testing Smile

Thanks again,
Kev.


Previous Topic:Closing a tab in a JavaFx tabbed component
Next Topic:Jubula standalone is not recognizing Kepler canvas
Goto Forum:
  


Current Time: Wed Jun 18 06:02:29 EDT 2025

Powered by FUDForum. Page generated in 0.23709 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top