jemmy

Testing java web start application using jemmy

不问归期 提交于 2020-01-01 04:14:13
问题 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. 回答1: You can achieve this by preparing special build with Jemmy

Testing java web start application using jemmy

六月ゝ 毕业季﹏ 提交于 2019-12-03 10:39:20
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. You can achieve this by preparing special build with Jemmy included and call Jemmy from the app run in jnlp mode itself. The solution is: Place build files into any folder on