Search code examples
javajava-web-startjemmy

Testing java web start application using jemmy


I need to create some gui tests using Jemmy but I have no idea how to launch it with javaws application. In tutorials/examples/etc is something like that:

new ClassReference("org.netbeans.jemmy.explorer.GUIBrowser")
                                                        .startApplication();

This code opens an example window, but how can I, using ClassReference object open *.jnlp file? Or is it another way to "connect" jemmy with java web start application?

Thanks for advance.


Solution

  • You can achieve this by preparing special build with Jemmy included and call Jemmy from the app run in jnlp mode itself.