TS 65 J2SEWebstart
NetBeans J2SE project webstart
Author: Petr Zajac, Petr Chytil
Last update: 07/22/2008
UI Specification:
- http://javawebstart.netbeans.org/proposals/jnlp-ui-spec.html
- https://jdk6.dev.java.net/plugin2/jnlp/
- http://wiki.netbeans.org/ImprovementsInJavaWebStartSupportInNetBeansIDEPost6.1
Introduction: This document is intended to be a test specification for Project j2se Webstart.
Contents |
Test suite: General tests
- Test Application panel in project properties
- Check data persistence (set Title, Vendor, Description and Homepage fileds):
- After closing dialog
- After exiting ide
- Check validity of splashscreen field
- EXPECTED RESULT: Data in all fields are persistent.
- Check data persistence (set Title, Vendor, Description and Homepage fileds):
Test suite: Application descriptor
- Enable Webstart in project properties
- Create new J2SE project.
- Invoke project properties and open Application > Web Start dialog on it.
- Enable Web Start and click OK.
- Build project.
- EXPECTED RESULT: In the Files window: launch.jnlp and launch.html files are present in the dist folder. Invoke View action on the launch.html file in the Files window and check, if the web-startable application works properly.
- Disable Webstart in project properties
- Disable Webstart in project properties.
- Clean & Build project.
- EXPECTED RESULT: In the Files window: launch.jnlp and launch.html files are not present in the dist folder.
- Test Webstart panel in project properties
- Icon -> icon is visible in webstart console, icon is visible on running "javaws -viewer"
- Check codebase
- Check allow online field
- Check self signed field
- EXPECTED RESULT:
Test suite: Applet descriptor
- Setup: Use JDK 6 update 10 and browser with Java plugin linked to this JDK.
- Applet via JNLP
- Create new Java Application project without Main Class.
- Create new JApplet form in this project.
- DND some components to the form in designer.
- Invoke project properties and open Application > Web Start dialog on it.
- Enable Web Start.
- Select Applet descriptor radio button and appropriate Applet Class from combo-box (your previously created JApplet form) and click OK.
- Build project.
- EXPECTED RESULT: In the Files window: launch.jnlp and launch.html files are present in the dist folder. Invoke View action on the launch.html file in the Files window and check, if the applet works properly (note: you must have JDK 6 update 10 plugin in Firefox 3 or IE installed).
- Disable Webstart in project properties
- Disable Webstart in project properties.
- Clean & Build project.
- EXPECTED RESULT: In the Files window: launch.jnlp and launch.html files are not present in the dist folder.
Test suite: Component descriptor
- JNLP Component
- Create new Java Library project.
- Invoke project properties and open Application > Web Start dialog on it.
- Enable Web Start, select Component Descriptor and click OK.
- Build project.
- EXPECTED RESULT: In the Files window: launch.jnlp file is present in the dist folder.
- Disable Webstart in project properties
- Disable Webstart in project properties.
- Clean & Build project.
- EXPECTED RESULT: In the Files window: launch.jnlp file is not present in the dist folder.

