Launch Java Web Start GUI application for testing

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

Launch Java Web Start GUI application for testing

Postby ldrjuno » Tue May 03, 2011 7:56 am

Does somebody know, whether it is possible to launch an application via Java Web Start and use it for recording and testing? We need to be able to launch it this way in order to communicate with server (Glassfish v3.1; using jdk 1.6.0_25).

Or another way would be to launch it via .bat script. Is it possible?

Thanks
George
ldrjuno
 
Posts: 2
Joined: Tue May 03, 2011 7:43 am

Re: Launch Java Web Start GUI application for testing

Postby gnebling » Tue May 10, 2011 11:47 am

WindowTester tests are built on top of JUnit so there may very well be a way to run your tests via webstart if there is a way to run JUnit tests via webstart and a way to add the windowtester libraries to the webstart classpath. That said, we haven't looked into webstart so we're not sure of it's limitations. In the end, the question to ask is whether you can trigger any JUnit plugin tests via webstart. If the answer is yes, then it should be possible to run WindowTester tests.
gnebling
Moderator
 
Posts: 243
Joined: Tue Aug 22, 2006 7:49 am

Re: Launch Java Web Start GUI application for testing

Postby ldrjuno » Wed May 11, 2011 7:01 am

Hello

Thank you for your answer.

We managed to pass all the JavaVM parameters, which are needed for glassfish (there is quite a few of those) to the test Record configuration, but the test had not launch anyway. It seemed to be a classloader problem, where glassfish passes its classloader as VM argument and WindowTester is probably overriding it.

Thanks anyway
ldrjuno
 
Posts: 2
Joined: Tue May 03, 2011 7:43 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest

cron