Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Extending Jubula for RCP (version 2.0)(Migration of fragment from 1.1 to 2.0 not successful)
icon8.gif  Extending Jubula for RCP (version 2.0) [message #1060630] Mon, 27 May 2013 07:59 Go to next message
Michi Classen is currently offline Michi Classen
Messages: 36
Registered: March 2012
Member
I developed an extension for jubula to verify and click on tabs in tabbed property pages. Everything works fine for jubula version 1.1. Now I migrated the implemented classes according to your extending guide.

The toolkit extension is working but the remote control extension can't find the mapping component. Why? The RCP Aut doesn't load the fragment.

I have no more idea - please help! Attached you will find my fragment.

UPDATE: For testing purposes I have integrated your example extension for 'groups'. For this fragment I have the same problem.

The config.ini file contains both fragments as follows:
slf4j.api,\
org.eclipse.jubula.rc.rcp@4:start,\
com.bmw.jubula.extension.rcp.rc,\
org.eclipse.jubula.examples.extension.rcp.rc

[Updated on: Mon, 27 May 2013 10:14]

Report message to a moderator

Re: Extending Jubula for RCP (version 2.0) [message #1060824 is a reply to message #1060630] Tue, 28 May 2013 10:25 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1092
Registered: July 2009
Senior Member
Hi Michi,

As a non-developer, I can offer some pointers that some other people have come across:

- There was a dev-list thread containing some information about signing.
- That resulted in this bug which dealt with a problem starting fragments

I also had a developer take a quick look, and the first point they noticed was that you should change the ID of the used "Fragment-Host" from:

org.eclipse.jubula.rc.rcp

to
org.eclipse.jubula.rc.rcp.swt


Maybe one of these paths will point you in the right direction. If not, I can offer you two options: post the problem to the jubula developers list (where the developers also look) or contact us to get paid support. The second option has the advantage that a developer will look at the problem instantly and be able to spend the time analysing it / providing more individual assistance.

If one of the above points does help, then it would be great if you could post which one.

HTH,
Alex
Re: Extending Jubula for RCP (version 2.0) [message #1061020 is a reply to message #1060824] Wed, 29 May 2013 10:27 Go to previous messageGo to next message
Michi Classen is currently offline Michi Classen
Messages: 36
Registered: March 2012
Member
Hi Alex,

I have done some rework on my extension project.

At first I changed the hosted id to org.eclipse.jubula.rc.rcp.swt. Thanks for your hint.

Second I deleted all plug-ins under the lib folder of my project and removed them from the classpath.

Third I removed all required plug-ins except the *.properties.tabbed plug-in, for which the extension is developed.

And the result is excellent: My extension fragment is resolved and can be used!!!!

But the tests run into a configuration error?! The migration is not finished yet Sad

Cheers,
Michi
Re: Extending Jubula for RCP (version 2.0) [message #1061122 is a reply to message #1061020] Thu, 30 May 2013 03:13 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1092
Registered: July 2009
Senior Member
Hi Michi,

Thanks for posting your steps and your progress. Can you say where the tests are running into the error (on what type of action)? The first thing that comes to mind is that you've not done all the steps (import/export *all* projects (including the unbound modules)) from the migration information.

Keep us posted,
Alex
Re: Extending Jubula for RCP (version 2.0) [message #1061618 is a reply to message #1061122] Mon, 03 June 2013 06:19 Go to previous messageGo to next message
Michi Classen is currently offline Michi Classen
Messages: 36
Registered: March 2012
Member
For migration I used the command "Export All...", which exports all my test cases and the unbound modules (concrete, rcp, swt) in version 5.2. I imported the resulting xml files into the new jubula scheme by running the "Import" command. Afterwards I changed the unbound modules by the new version 7.0 on dialog "Properties" -> "Used Projects". Except for my test case, which uses the extension for tabbed properties, all other tests are running without errors.
Re: Extending Jubula for RCP (version 2.0) [message #1061864 is a reply to message #1061618] Tue, 04 June 2013 08:16 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1092
Registered: July 2009
Senior Member
Hi,

Thanks for the update. Glad to hear that everything else is running smoothly. Have you got any logs for the error when you click (I assume you're clicking) the tabbed properties?

Best regards,
Alex
Re: Extending Jubula for RCP (version 2.0) [message #1061982 is a reply to message #1061864] Wed, 05 June 2013 04:53 Go to previous messageGo to next message
Michi Classen is currently offline Michi Classen
Messages: 36
Registered: March 2012
Member
The Client logs a connection error when running the test:

2013-06-05 10:50:37.004 [Connection.ReaderThread:Socket[addr=/10.253.81.125,port=60075,localport=60074]] ERROR o.e.j.c.connection.Connection - send failed
java.net.SocketException: Connection reset by peer: socket write error
Re: Extending Jubula for RCP (version 2.0) [message #1061987 is a reply to message #1061982] Wed, 05 June 2013 05:27 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1092
Registered: July 2009
Senior Member
Hi,

Sorry, I wasn't specific enough - the autagent log and the rc_* logs will be the most useful here. They're in your home directory under .jubula.

Best regards,
Alex
Re: Extending Jubula for RCP (version 2.0) [message #1062005 is a reply to message #1061987] Wed, 05 June 2013 07:35 Go to previous messageGo to next message
Michi Classen is currently offline Michi Classen
Messages: 36
Registered: March 2012
Member
Hi Alex,

this error message is a snapshot of the client log file under my home directory. The rc_rcp log is empty. Maybe the test result report will give an overview of the failed test step.

Cheers,
Michi
Re: Extending Jubula for RCP (version 2.0) [message #1062304 is a reply to message #1062005] Fri, 07 June 2013 02:54 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1092
Registered: July 2009
Senior Member
Hi,

No, that doesn't help any further. It sounds like something in the extension (mechanism) still isn't right - could you perhaps post to the dev-list?

Best regards,
Alex
Re: Extending Jubula for RCP (version 2.0) [message #1065329 is a reply to message #1062304] Tue, 25 June 2013 06:56 Go to previous message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1092
Registered: July 2009
Senior Member
Cross-link: the question was answered on the dev list. Thanks Michi for posting the solution there too.
http://dev.eclipse.org/mhonarc/lists/jubula-dev/msg00299.html
Previous Topic:Can't start AUT agent
Next Topic:Access Database and retrieve value
Goto Forum:
  


Current Time: Fri Aug 01 20:31:32 EDT 2014

Powered by FUDForum. Page generated in 0.02760 seconds