TS 65 J2SEWebstart

NetBeans J2SE project webstart

Author: Petr Zajac, Petr Chytil
Last update: 07/22/2008
UI Specification:

Introduction: This document is intended to be a test specification for Project j2se Webstart.


Contents


Test suite: General tests

  1. Test Application panel in project properties
    1. Check data persistence (set Title, Vendor, Description and Homepage fileds):
      1. After closing dialog
      2. After exiting ide
      3. Check validity of splashscreen field
    • EXPECTED RESULT: Data in all fields are persistent.


Test suite: Application descriptor

  1. Enable Webstart in project properties
    1. Create new J2SE project.
    2. Invoke project properties and open Application > Web Start dialog on it.
    3. Enable Web Start and click OK.
    4. 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.
  2. Disable Webstart in project properties
    1. Disable Webstart in project properties.
    2. Clean & Build project.
    • EXPECTED RESULT: In the Files window: launch.jnlp and launch.html files are not present in the dist folder.
  3. Test Webstart panel in project properties
    1. Icon -> icon is visible in webstart console, icon is visible on running "javaws -viewer"
    2. Check codebase
    3. Check allow online field
    4. 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.
  1. Applet via JNLP
    1. Create new Java Application project without Main Class.
    2. Create new JApplet form in this project.
    3. DND some components to the form in designer.
    4. Invoke project properties and open Application > Web Start dialog on it.
    5. Enable Web Start.
    6. Select Applet descriptor radio button and appropriate Applet Class from combo-box (your previously created JApplet form) and click OK.
    7. 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).
  1. Disable Webstart in project properties
    1. Disable Webstart in project properties.
    2. 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

  1. JNLP Component
    1. Create new Java Library project.
    2. Invoke project properties and open Application > Web Start dialog on it.
    3. Enable Web Start, select Component Descriptor and click OK.
    4. Build project.
    • EXPECTED RESULT: In the Files window: launch.jnlp file is present in the dist folder.
  1. Disable Webstart in project properties
    1. Disable Webstart in project properties.
    2. Clean & Build project.
    • EXPECTED RESULT: In the Files window: launch.jnlp file is not present in the dist folder.
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo