cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Wizards Test Specification for NetBeans 4.1

Author: Lukas Hasik
Last update: 04/19/2005
Introduction: This test specification describes the tests scenarios for core Wizards. It covers the test cases for manual testing and it will serve as document for development of automated tests.

Table of Contents

Test suite: Setup Wizard

Purpose: Test of Setup Wizard
Setup: Start IDE with clean userdir

#Test case [automated]Description
1Invoke Setup Wizard1. Invoke menu item Tools|Setup Wizard.
EXPECTED RESULT: Setup Wizard appears and its first step is displayed.
2Proxy Enabling1. Enable "Use HTTP Proxy Server" checkbox.
EXPECTED RESULT: Proxy Server Name and Port textfields are enabled(writeable).
3Proxy Disabling1. Disable "Use HTTP Proxy Server" checkbox.
EXPECTED RESULT: Proxy Server Name and Port textfields are disabled(grey).
4Proxy Settings1. Enable "Use HTTP Proxy Server" checkbox.
2. Fill Proxy Server Name and Port properly.
EXPECTED RESULT: After Finish button the proxy settings are remembered. Try reopen Setup Wizard.
5Switch to SDI1. Be in MDI mode.
2. Select Separate Windows Mode radiobutton.
EXPECTED RESULT: IDE will switch to SDI mode (more windows) after Finish button is pressed.
6Switch to MDI1. Be in SDI mode.
2. Select Compact Windows Mode radiobutton.
EXPECTED RESULT: IDE will switch to MDI mode (only one window) after Finish button is pressed.
7Default System Browser1. Change Web Browser combobox to Default System Browser.
EXPECTED RESULT: After Finish button the web browser setting is remembered. Try reopen Setup Wizard.
8Swing HTML Browser1. Change Web Browser combobox to Swing HTML Browser.
EXPECTED RESULT: After Finish button the web browser setting is remembered. Try reopen Setup Wizard.
9Second panel check1. Press Next button on the Setup wizard.
EXPECTED RESULT: The second panel (Module Instalation) of the wizard will appear and the step number on the left part of the wizard is set to 2.
10Disable module1. Disable the module that is in group of enabled modules.
EXPECTED RESULT: Check that the module is unchecked and that the parent of the module has flag set to darker checked hook.
11Enable module1. Enable the module from previous step.
EXPECTED RESULT: Check that the module is checked now and that the parent of the module has flag set to checked hook.
12Enable/Disable branch of modules1. Enable/Disable the modules branch.
EXPECTED RESULT: Check that each of module in the branch is enabled/disabled
13Third panel check1. Press Next button in second step on the wizard.
EXPECTED RESULT: The third(Update Center) panel of the wizard will appear and the step number on the left part of the wizard is set to 3.
14Set period of Update Check1. Try to set the update check period to each of 6 possibilities and finally set it to Every Startup.
2. Press Finish button.
3. Invoke menu item Tools|Options.
4. Expand node IDE Configuration|System|Update Center.
EXPECTED RESULT: Check Period property - it should be set to Every Startup.
15Test of last panel settings1. Invoke menu item Tools|Setup Wizard.
2. Press Next and then Next again.
3. The third panel appepars - uncheck the 'Show Dialog Before Automatic Update Check' checkbox.
4. Uncheck the 'Show Check Results Even If No Update Available' checkbox.
5. Unselect all available update centers (uncheck checkboxes) and press Finish button.
6. Invoke menu item Tools|Setup Wizard again.
7. Press Next and then Next again.
EXPECTED RESULT: See that all checkboxes are disabled


Test suite: New wizard

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

#Test case [automated]Description
1Create New Folder1. Select Source packages in any of Projects in Projects tab.
2. Invoke popup menu and push New -> Folder.
3. Type the name of the folder.
4. Push the Finish button.
EXPECTED RESULT: The new folder 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 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 All Files tabs.
4Create file1. Select any package under Source packages in existing project in Projects tab.
2. In the folder create new file.
EXPECTED RESULT: Newly created file is visible in the folder.



Generated: Tue Apr 19 18:05:58 CEST 2005
Companion
Projects:
MySQL Database Server   GlassFish Community: an Open Source Application Server   Open Solaris  Open JDK: an Open SourceJDK   Mobile & Embedded Community     Sponsored by 
Sponsored by Sun Microsystems