cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Properties sheet Test Specification for NetBeans 5.0

Author: Lukas Hasik, updated byTomas Musil
Last update: 12.09.2005
Introduction: This is intended as tests of "Properties", "Properties of ..." window and Property Sheets.

Table of Contents

Test suite: Properties tests

Purpose: Properties Window test.
Setup: Start IDE with clear userdir. Open some java project. Open Properties window from Windows->Properties.

#Test case [automated]Description
1Opening properties of folder in Files view1. In Files view, select some folder of the opened project (e.g. Src folder)
2. push Properties from popup menu
EXPECTED RESULT: Sheet "{folder you slected} - Properties" arise. Check consistency between arised sheet and Properties window.
2Properties window refresh1. In Files view, select some folder of the opened project (e.g. Src folder)
2. Select another folder (e.g. test)
EXPECTED RESULT: Properties window titled "{folder you last slected} - Properties" refreshes and shows properties of actual selected folder
3Changing sort order in folder1. In Files view, select folder of opened project (e.g. JavaApplication1 folder)
2. In Properties window, change Sort mode
EXPECTED RESULT: Sort order of items in project folder is changed.
4Project properties1. In Files view, select folder of opened project (e.g. JavaApplication1 folder)
2. push Properties from popup menu
EXPECTED RESULT: Property sheet arised, properties of project ate displayed.
5Rename via property "name"1. Select in Projects view some source package (e.g. javaapplication1)
2. In properties window, change property NAME
EXPECTED RESULT: Refactoring should be launched, package should be renamed. See issue (60663)


Test suite: Properties Window defaults

Purpose: Test the default settings in Property sheet.
Setup: Start IDE with clear userdir. Open Properties from Windows->Properties.

#Test case [automated]Description
1Property sheets defaults1. Open a new Properties window. Try with just started IDE with fresh userdir.
EXPECTED RESULT: Sorting by category is used. Description area is visible. All settings are persistent.
2Description area color1. Check color of a Description area in bottom of Property sheet.
EXPECTED RESULT: The color of the Description area is standart grey (RGB=204,204,204).
3Properties colors1. Check colors in Property sheet.
EXPECTED RESULT: See image:


Test suite: Property Sheets tests

Purpose:
Setup: Start IDE with clear userdir. Open Properties from Windows->Properties.

#Test case [automated]Description
1Resize property columns test1. Select some node which have some property (e.g. folder, package, file, ... )
2. Move splitter between columns "property name" and "property value"
EXPECTED RESULT: Size of columns is remembered
2Sorting of properties - Sort By Name1. Select some node which have some property (e.g. folder, package, file, ... )
2. Right click anywhere to Properties window area and choose Sort By Name from popup
EXPECTED RESULT: Properties in this Properties Window are sorted by name.
3Sorting of properties - Sort By Category1. Select some node which have some property (e.g. folder, package, file, ... )
2. Right click anywhere to Properties window area and choose Sort By Name from popup
EXPECTED RESULT: properties in this Properties Window are sorted by categories
4Show Description area1. Select some node which have some property (e.g. folder, package, file, ... )
EXPECTED RESULT: If checked, there is visible Description area at bottom of Properties Window.
5Description area resize1. Enable (see previous test case) and resize the Description area at bottom of Properties window.
EXPECTED RESULT: You can resize the area.
6Help in description area1. Select in Runtime view node Servers
2. In properties window in descriprion area, click on question mark
EXPECTED RESULT: Help concerning this property is triggered.


Test suite: Property Sheets tests 2

Purpose:
Setup: Start IDE with clear userdir. Open Properties from Windows->Properties.

#Test case [automated]Description
1Multiple selection, Properties1. Select two folders nodes in Files view
EXPECTED RESULT: Title of the window is "Multiple objects - Properties", you can see <different values> where both values are not equal.
2Multiple selection, Properties, change value1. Select two folders nodes in Files view
2. In properties window, change property Sort Mode to By Type.
EXPECTED RESULT: Value of property is changed for both selected nodes.
3Quick search1. Have focus in Properties window
2. Start typing a name of some property
EXPECTED RESULT: Quick search is enabled, property with name you typed is selected. See issue 60690. For more tests concerning Quick search, see testspec Files and Projects view.



Generated: Mon Sep 12 17:09:32 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