Automation on Oxygen Author 24

Post here questions and problems related to oXygen frameworks/document types.
manisha jangpangi
Posts: 2
Joined: Fri Jun 03, 2022 11:01 am

Automation on Oxygen Author 24

Post by manisha jangpangi »

Hi,
I am trying to do automation for Oxygen Author 24 with Jubula automation tool. But while connecting to the Oxygen application it keep one throwing below error:
image.png
image.png
below is the AUT configuration in Jubula where we mention the executable file name like below:
image.png
Please let me know in order to connect to Oxygen what else should be added and where.

Thanks,
Manisha
You do not have the required permissions to view the files attached to this post.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Automation on Oxygen Author 24

Post by adrian »

Hello,

We're not familiar with the Jubula automation tool.
What you're seeing is not an oXygen error message, so I'm not sure how we can assist.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
manisha jangpangi
Posts: 2
Joined: Fri Jun 03, 2022 11:01 am

Re: Automation on Oxygen Author 24

Post by manisha jangpangi »

Hi,
By digging more into that we came to know that in order to automate Oxygen Author, I need to know the main class and class path of the oxygen which I have to specify in Jubula's configuration.
By looking into the .bat file , I don't see any main class over there. Could you please help me in order to understand where those details resides?

Thanks,
Manisha
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Automation on Oxygen Author 24

Post by adrian »

Hello,

Actually all the required info is located in the .bat and .sh launchers. See oxygenAuthor.bat

The classpath for the Oxygen launcher is:

Code: Select all

SET CP="%~dp0;%~dp0/lib/oxygen-basic-utilities.jar;%~dp0/lib/oxygen.jar;%~dp0/lib/oxygenAuthor.jar;%~dp0/classes;"
You only need:
* Oxygen/lib/oxygen-basic-utilities.jar
* Oxygen/lib/oxygenAuthor.jar

See the last line of the oxygenAuthor.bat script for everything else.
The main class is:

Code: Select all

ro.sync.exml.Oxygen
Note that if Oxygen is launched this way, it also needs a few Java properties to be set as seen on the last line of the oxygenAuthor.bat script. The most important for Author is:

Code: Select all

-Dcom.oxygenxml.app.descriptor=ro.sync.exml.AuthorFrameDescriptor
The other properties are Java tweaks.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply