| Start RCP AUT from Eclipse [message #881805] |
Tue, 05 June 2012 05:26  |
Stefan Mertins Messages: 11 Registered: March 2012 |
Junior Member |
|
|
Hey,
I used to start my RCP AUT from Eclipse with the "Start AUT" button, as descriped here help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jubula.client.ua.help%2Fhtml%2Fmanual%2Fnode266.html and it worked a couple of months ago.
We updated to Jubula 1.2 from 1.1 and I switched from a Windows 7 PC to Linux and now I can't start the AUT from Eclipse.
The problem is concerned around the autagent. If I don't start an external agent (so start Aut runs his own) I can't connect to my AUT via Jubula Client. If I start an external autagent via console I can't start my AUT in Eclipse because I get a error message stating "Another AUT Agent is alredy running".
Is this a known issue or is there just a configuration problem on my side?
Stefan
|
|
|
|
| Re: Start RCP AUT from Eclipse [message #882326 is a reply to message #881805] |
Wed, 06 June 2012 05:00   |
Stefan Mertins Messages: 11 Registered: March 2012 |
Junior Member |
|
|
Hey,
my description wasn't exact enough.
I want to start an RCP AUT from within eclipse. I don't have an executable file, just my code, wich is usually started via run-configurations in eclipse, while in development. I don't export the code, I just want to start it like discriped in the above postet link with the "Jubula run-configuration button" called "Start AUT".
So far, this works. The AUT Run seems to start an AUT Agent, because no AUT Agent is running at that time according to this:
Quote:
If Jubula is currently connected to an AUT Agent , then that AUT Agent will be used.
If an embedded AUT Agent is running, then Jubula will connect to the embedded AUT Agent and use that for AUT registration.
Jubula will start an embedded AUT Agent , connect to it, and use that for AUT registration.
After the AUT is running, I start Jubula (stand alone version, not from within eclipse). But I cannot connect to the AUT Agent.
[UPDATE]
Some Jubula Client is alredy connected, was the hint. I guessed, that somehow the eclipse plugin jubula client connected automatically and it did. But there is no AUT in the "Running AUT" view.
I disconnected the from the AUT Agent in the eclipse plugin Jubula and connected my stand alone Jubula Client to the AUT Agent, but still no Runnung AUT in the View.
So something is still wrong.
Have I to add a plugin to my run-configuration like I have to with the exported AUT? Im sure I didn't need it last time I started my AUT this way.
Stefan
|
|
|
|
|
| Re: Start RCP AUT from Eclipse [message #1050432 is a reply to message #1050036] |
Sat, 27 April 2013 02:21   |
Denis Aristov Messages: 6 Registered: March 2013 |
Junior Member |
|
|
I wasn't able to figure out how to start an AUT by using a launch configuration. When I start it I only see the AUT Agent to be connected. But 'Running AUTs' view is empty. Do I still need to add this remote control plugin to my eclipse app? I added it to the config, but 'Running AUTs' view was still empty.
[Updated on: Sat, 27 April 2013 02:23] Report message to a moderator
|
|
|
|
| Re: Start RCP AUT from Eclipse [message #1052759 is a reply to message #1051880] |
Tue, 30 April 2013 09:48   |
Denis Aristov Messages: 6 Registered: March 2013 |
Junior Member |
|
|
Ok, I was able to start the AUT by using launch configuration. But I can't record anything. When I click on 'Start Observation Mode' and then start clicking some elements in my app I get a lot of UnsupportedComponentException's. I've attached the log file.
I use Eclipse Juno 4.2.1
Jubula plugin 1.2.2.201209040912
[Updated on: Tue, 30 April 2013 09:51] Report message to a moderator
|
|
|
|
|
| Re: Start RCP AUT from Eclipse [message #1058489 is a reply to message #1053527] |
Tue, 14 May 2013 07:05  |
Alexandra Schladebeck Messages: 729 Registered: July 2009 |
Senior Member |
|
|
Thanks for the update. A couple more questions:
- can you see in your application that the remote control plugin is loaded when the application is running?
- can you execute existing tests / use the object mapping mode (this may just be an issue with the observation mode)
Thanks!
Alex
|
|
|
Powered by
FUDForum. Page generated in 0.01911 seconds