Automated testing of WebStart using ABBOT & COSTELLO

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){ //start the app here and load it into this class } public static void main(String args[]){ new JNLPWindowLoaded("/home/kirill/test.jnlp"); } } 

Please give me some light here!

+4
source share
1 answer

What is your budget? If this is a large company project, you might want to take a look at HP Unified Functional Testing (formerly x-runner / win-runner) http://www8.hp.com/us/en/software-solutions/software.html?compURI=1172957 # tab = TAB1

0
source

All Articles