I have a working JNLP application, but I would like to add some end-to-end smoke test.
Is it possible if the url loads, runs, and programmatically manages the JNLP application?
To run the JNLP application programmatically (Linux), you can do something like this:
public static void main(String[] args) throws IOException, InterruptedException { String[] cmd = {"/usr/java/jdk1.6.0_17_limpo/jre/javaws/javaws", "/opt/exata/projetosNB/InterfaceVisualizador/dist/launch.jnlp"}; Process p = Runtime.getRuntime().exec(cmd); }
You can use the javaws tool (part of the JDK) to launch the WebStart application. To programmatically manage it, you can use any of several testing tools and frameworks that simulate user input.