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
|
Purpose: New Folder and Java Package creating
Setup: Start IDE with clean userdir. Have a project created or opened.
| # | Test case [automated] | Description |
| 1 | Create New Folder | 1.
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 |
| 2 | Create New Java Package | 1.
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 |
| 3 | Create subfolder | 1.
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. |
| 4 | Create file | 1.
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. |
|
|
Purpose:
Setup:
| # | Test case [automated] | Description |
| 1 | Options panel apearance | 1.
Select Tools|Options 2.
Modern options panel appears, check if it's look matches UI spec.
|
|
EXPECTED RESULT:
Appearence matches properly UI spec |
| 2 | Classic / Modern view | 1.
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. |
| 3 | Check persistance between modes | 1.
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. |
|
|
Purpose:
Setup: Invoke Tools|Options, be in Modern view.
| # | Test case [automated] | Description |
| 1 | Package view | 1.
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) |
| 2 | Browser settings | 1.
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. |
| 3 | Proxy Disabling | 1.
Select "No proxy" radiobutton.
|
|
EXPECTED RESULT:
Proxy Server Name and Port textfields are disabled (grey, non-editible). |
| 4 | Proxy Enabling with manual settings | 1.
Select "HTTP Proxy" radiobutton.
|
|
EXPECTED RESULT:
Proxy Server Name and Port textfields are enabled (writeable). |
| 5 | Proxy Enabling with system settings | 1.
Select "Use system proxy settings" radiobutton.
|
|
EXPECTED RESULT:
Proxy Server Name and Port textfields are disabled (grey, non-editible). |
| 6 | Proxy Settings | 1.
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 |
| 7 | Autoupdate settings | 1.
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