cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Favorites test specification Test Specification for NetBeans 5.0

Author: Tomas Musil
Last update: 12.09.2005
Introduction: This test specs tests the Favorites feature. See also UI spec.

Table of Contents

Test suite: Favorites

Purpose: To test favorites view feature
Setup: There are no specials steps to configure the NetBeans ide for testing Favorites.

#Test case [automated]Description
1Default folder on Windows1. Start ide with fresh userdir.
2. Open favorites tab from Window | Favorites menuitem.
EXPECTED RESULT: The user's "so called home folder" (e.g. C:\Documents and settings\UserXYZ) is in the favorites.
2Default folder on Unix1. Start ide with fresh userdir.
2. Open favorites tab from Window | Favorites menuitem.
EXPECTED RESULT: The user's home folder is in the favorites.
3Add a java package to the Favorites1. Open some java project.
2. Select some source package of this project
3. From popup on selected package choose Tools | Add to Favorites.
EXPECTED RESULT: The folder of the package is added to the Favorites. The Favorites window is focused.
4Add a folder via Favorites window1. Invoke popup somewhere in free space of Favorites window. Click Add to favorites
2. A file chooser is shown. Select some folder in the file chooser and click Add button.
EXPECTED RESULT: The folder is added to the Favorites. The Favorites window is focused.
5Add nonexistend file via Favorites1. Invoke popup somewhere in free space of Favorites window. Click Add to favorites
2. Type illegal (nonexistent) file name to the filechooser's edit field.
3. Click Add button.
EXPECTED RESULT: The information dialog about nonexistent file is shown, nothing is added.
6Remove from Favorites1. Select a item in Favorites view.
2. Perfom Remove from favorites action from popup on selected node.
EXPECTED RESULT: The item is removed from Favorites view
7New Empty file in favorites root folder1. Select a root of mounted folder in Favorites (e.g. your home folder).
2. Perform popup New | Empty file on the selected node.
3. The New empty file dialog is shown. Type a file with a extension and then click OK button.
EXPECTED RESULT: New file is created in selected folder. The created file is opened in editor.
8New folder in root of favorites folder1. Select a root of mounted folder in Favorites (e.g. your home folder).
2. Perform popup New | Folder on the selected node.
3. The New folder dialog is shown. Type "MyFolder" and then push the OK button.
EXPECTED RESULT: Folder "MyFolder" is created in the selected folder.
9New Empty file in a subfolder of root folder1. Select a subfolder of some folder mounted un favorites (e.g. your newly created MyFolder)
2. Perform popup New | Empty file on the selected node.
3. The New empty file dialog is shown. Type a file with a extension and then press the Ok button.
EXPECTED RESULT: New file is created in selected subfolder. The created file is opened in editor.
10Sorting some folder from favorites1. Select some folder (e.g. yor home folder) in favorites view
2. invoke from popup its properties
3. Select some sort type (e.g. by name, by type, ....)
EXPECTED RESULT: Check that selected sort type does take effect on order of items in selected folder
11Renaming node in favorites1. Select popup on some node in Favorites view
2. Choose Rename
3. Type a new name
EXPECTED RESULT: See issue 57704 to know expected behaviour of rename action.



Generated: Mon Sep 12 17:07:11 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