I have a difficult task here.
We have such a huge WebStart desktop application in our company, and now we are trying to create automated tests for it. Since our application GUI is not fully implemented using Swing or AWT, it is difficult for us to test it with tools such as JUnit, Jelly, UISpec4J and friends, because we cannot interact with some objects, such as tracks and curves. We need to use something like Selenium, only for Swing.
The problem is that to run the automated test in Costello, you need a JFrame class with the main method. But we have a WebStart application that starts as follows:
$ javaws app.jnlp
Is there any way to load this program into JFrame programmatically ?! Something like that.
public class JNLPWindowLoaded extends JFrame{ public JNLPWindowLoaded(String jnlpPath){
Please give me some light here!
source share