Robot Framework with JavaFX and OSGi

111 views
Skip to first unread message

Kim Schiller

unread,
Jan 4, 2019, 8:14:06 AM1/4/19
to robotframework-users
Hi

I have an application built with JavaFX and packaged in multiple OSGi-modules, that I want to test using Robot Framework.
My first hope was, that using JavaFXLibrary from eficode (https://github.com/eficode/JavaFXLibrary) would work,
but since the application is not launched as a normal JavaFX application, then the JavaFXLibrary cannot start it.

I did try to launch the application using the "Start Process" keyword from the Process-library,
and while that does start the application, the JavaFXLibrary cannot access it, likely since it is in a separate process.
Similarly, the Scene View JavaFX tool, cannot inspect the application.

Any ideas how to move forward with testing this application?

Sami Pesonen

unread,
Feb 25, 2021, 1:19:43 PM2/25/21
to kimsc...@gmail.com, robotframework-users
Hi,

There is nowadays support for java agent way of attaching the library to target application. Have you tried that [1]?


Best Regards,
Sami Pesonen

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages