FeaturesPluginsDocs & SupportCommunityPartners

Wizards Test Specification for NetBeans 5.0

Author: Tomas Musil
Last update: 01/09/2005
Introduction: This test specification describes the tests scenarios for core New Wizard. Also tests the new option panel dialog (the part that was formerly covered by Setup wizard.)

Table of Contents

Test suite: New wizard

Purpose: New Folder and Java Package creating
Setup: Start IDE with clean userdir. Have a project created or opened.

#Test case [automated]Description
1Create New Folder1. Select Source packages in any of Projects in Projects tab.
2. Invoke popup menu and push New -> File/Folder.
3. Wizard appears. Select cathegory "Other" and file types "Folder". Click Next. Type the name of the folder.
4. Push the Finish button.
EXPECTED RESULT: The new folder (package) with the typed name is created Source packages and it's empty
2Create New Java Package1. Select Source packages in any of Projects in Projects tab.
2. Invoke popup menu and push New -> Java Package.
3. Type the name of new package into the textfield.
4. Push the Finish button.
EXPECTED RESULT: The new package (folder) with the typed name is created in Source packages and it's empty
3Create subfolder1. Find the folder created in the previous step.
2. Create new subfolder there.
EXPECTED RESULT: Newly created subfolder should be found in the Files view as subfolder of parent folder.
4Create file1. Select from menu: File->new file. Wizard appears.
2. Select from the Project combobox desired project
3. Select some cathegory and file type (e.g. Java classes - java class). Click next.
4. Select some package where the file should be placed to. If you leave this field blank, file will be created into <default package>
5. Type a class name. Class name must be valid class name (try using forbidden characters like */*&^@$...).
6. Click Finish.
EXPECTED RESULT: File is properly created into desired location.


Test suite: Basic Options panel tests

Purpose:
Setup:

#Test case [automated]Description
1Options panel apearance1. Select Tools|Options
2. Modern options panel appears, check if it's look matches UI spec.
EXPECTED RESULT: Appearence matches properly UI spec
2Classic / Modern view1. Hit Classic view button. Options panel is switched to classic view (based on property sheets)
2. Hit Modern view button. Options panel is switched back to modern view.
EXPECTED RESULT: It is possible to switch between modes.
3Check persistance between modes1. Change in Modern view Web browser property (i.e. select another web browser from combobox)
2. Switch to classic view.
3. Expand IDE configuration|System|System settings
EXPECTED RESULT: Check if property Web browser is changed, as it was set in step 1.


Test suite: Options | General

Purpose:
Setup: Invoke Tools|Options, be in Modern view.

#Test case [automated]Description
1Package view1. Set Flatten (or tree) packages
2. Close Options by OK
3. Create sample J2SE project, expand Source packages node in projects view.
EXPECTED RESULT: Packages are visible as one folder, nested packages are separated by dot (or you see tree structure of packages folders)
2Browser settings1. Select some another browser from browser combobox (e.g. Mozilla, or Firefox, or Netspace,...)
2. Close by OK button
3. Select View | Web browser
EXPECTED RESULT: Previously selected browser is propely launched.
3Proxy Disabling1. Select "No proxy" radiobutton.
EXPECTED RESULT: Proxy Server Name and Port textfields are disabled (grey, non-editible).
4Proxy Enabling with manual settings1. Select "HTTP Proxy" radiobutton.
EXPECTED RESULT: Proxy Server Name and Port textfields are enabled (writeable).
5Proxy Enabling with system settings1. Select "Use system proxy settings" radiobutton.
EXPECTED RESULT: Proxy Server Name and Port textfields are disabled (grey, non-editible).
6Proxy Settings1. Select "HTTP Proxy" radiobutton.
2. Fill Proxy Server Name and Port properly.
EXPECTED RESULT: After OK button the proxy settings are remembered. Try reopen Tools|Options
7Autoupdate settings1. Select Check period to "every startup"
2. Check Ask before check checkbox
3. Restart IDE
EXPECTED RESULT: Auto Update dialog rises after start and offers Auto Update check



Generated: Mon Sep 12 17:10:06 CEST 2005
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by