How to use Eclipse's embedded Jubula AUT Agent instead of the standalone agent?

621 views Asked by At

I am trying to develop functional tests using Jubula's client API, but every example I have seen uses much out of Jubula standalone. I would like to develop and run tests without having Jubula standalone installed. Given that I have the necessary libraries from jubula_8.5.0.127\development\api\JARs, and Eclipse for Testers package, how could I start and connect to an AUT Agent without having Jubula standalone installed on my system? I want a pure Java route and do not want to use the standalone AUT Agent executable (.exe).

It is perplexing to me that the help for Eclipse for Testers package of Eclipse has an entire topic on Jubula development which would depend on the standalone being installed. Optimally, I'd like to be able to develop and run using the Jubula client API without using anything from the Jubula standalone.

2

There are 2 answers

0
Marvin Mueller On BEST ANSWER

It is now possible that you can start the AUT agent out of java. So there is no need for the external autagent. See the documentation for more details[1]

[1] https://help.eclipse.org/2019-03/topic/org.eclipse.jubula.client.ua.help/content/html/developerManual/clientAPI/ch02s08s01.html

1
Adam Horvath On

TL;DR Use the feature (Eclipse for Testers) on tester's machines and install Standalone on your CI server.

I believe you only need the Stand-alone version if your're automating test execution.

I mean if that's the case, then you can not avoid it; because it's the one containing native executables which can be invoked by frameworks like Ant, Maven, etc.

You can specify tests using Jubula's Java API with the feature version too, but if you want to execute them, then you have to select a database, connect to AUT and many further clicks with your mouse.