Page 1 of 1

Automation on Oxygen Author 24

Posted: Fri Jun 03, 2022 11:27 am
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

Re: Automation on Oxygen Author 24

Posted: Fri Jun 03, 2022 3:35 pm
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

Re: Automation on Oxygen Author 24

Posted: Wed Jun 15, 2022 11:03 am
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

Re: Automation on Oxygen Author 24

Posted: Wed Jun 15, 2022 11:48 am
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