cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Window system Test Specification for NetBeans 4.1

Author: Marian Mirilovic, Zdenek Konecny
Last update: 06/27/2005
Introduction: Main window of NetBeans consists of two main parts. First part is menu and menu items, second are toolbars. Both - menu and toolbars - are customizable by user. For customization use Tools->Option.

Table of Contents

Test suite: Main Window layout

Purpose: The UI is specified in UI specification http://ui.netbeans.org/docs/ui/ws/ws_spec.html#4 .
Setup: Start IDE with clear userdir in Compact Windows Mode (default).

#Test case [automated]Description
1Startup windows layout1. Run IDE
EXPECTED RESULT: Default layout of windows is defined on picture http://ui.netbeans.org/docs/ui/ws/images/default_editing.png . Welcome Screen must be opened in the Document Area, Projects View, Files View and Runtime in Window Area. Projects View is on the top. No edge bar is visible.
2Persistence of startup windows layout1. Run IDE
2. Restart IDE
EXPECTED RESULT: Default layout of windows is defined on picture http://ui.netbeans.org/docs/ui/ws/images/default_editing.png . Welcome Screen must be opened in the Document Area, Projects View and Files View and in Window Area. Projects View is on the top. No edge bar is visible.
3Menu Window1. Check consistency of main menu Window.
EXPECTED RESULT: Window menu and submenus are defined in UI specification http://ui.netbeans.org/docs/ui/ws/ws_spec-netbeans_ide.html#3.5 . Windows in the first part of Window menu should have icons. There should be list of all Windows.
4Menu View1. Check consistency of main menu View.
EXPECTED RESULT: View menu and submenus are defined in UI specification http://ui.netbeans.org/docs/ui/ws/ws_spec-netbeans_ide.html#3.6 . There should be list of All Windows.


Test suite: Window

Purpose: The new windowing system has two modes: the "Compact Windows" mode (MDI) and the "Separate Windows" mode (SDI). The UI is specified in UI specification http://ui.netbeans.org/docs/ui/ws/ws_spec.html#4 .
Setup: Start IDE with clear userdir in Compact Windows Mode (default).

#Test case [automated]Description
1Menu Access1. Try open all windows from main menu Window.
EXPECTED RESULT: All windows are opened. There is only one instance of each window. Each window has its own item in menu Window.
2Menu Access1. Try open all windows from main menu Window by shortcuts.
EXPECTED RESULT: All windows which have shortcut are opened. There is only one instance of each window. Each window has its own item in menu Window.
3Check Window icon1. Open all windows from main menu Window.
EXPECTED RESULT: No icon is displayed in the header of Window.
4Open opened but not activated window1. Open a window (e.g. Files).
2. Open another window (e.g. Runtime - it's opened at the same position as Files as new tab).
3. Push from main menu Window | Files .
EXPECTED RESULT: Both Windows are still opened, Files View is active(has focus), covers Runtime Window and there is only one instance of Files View in the IDE.
5Open already activated window1. Open a window (e.g. Files - Files View is active and selected).
2. Push from main menu Window | Files .
EXPECTED RESULT: Files View is still opened and active(has focus) and there is only one instance of Files View in the IDE.
6Persistence of Window System - Files View - close1. Open Files View and expand some nodes.
2. Remember selected node ,expanded tree and scrollbar positions.
3. Close Files (by pushing on close button from header of Files View).
4. Open Files (by pushing main menu Window | Files)
EXPECTED RESULT: Files View is opened at the same position as it has been before close. The same node is selected and scrollbars have the same positions as before close.
7Persistence of Window System - Files View - restart1. Open Files View and expand some nodes.
2. Restart IDE.
EXPECTED RESULT: Files View is opened at the same position as it has been before exit. No node is expanded only packed project's home folder is in files view.
8Persistence of Window System - Files View - close - restart1. Open Files View and expand some nodes.
2. Close Files View (by pushing close button from header of Files View).
3. Restart IDE.
4. Open Files View (by pushing main menu Window | Files)
EXPECTED RESULT: Files View is opened at the same position as it has been before exit. No node is expanded only packed project's home folder is in files view.
9Base name vs. Descriptive name1. Open Properties Window from menu (push Window | Properties).
2. Select some node in Files.
EXPECTED RESULT: Base name (menu item in the Window menu) is still the same "Properties", but Descriptive name (window's title bar) has changed "Properties of [selected file]".
10Close window - by close button in the header1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. Push close button in the Runtime Window header.
EXPECTED RESULT: Runtime (and only Runtime) Window is closed.
11Close window - by contextual menu1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. From contextual menu of Window push Close Window.
EXPECTED RESULT: Runtime (and only Runtime) Window is closed.
12Close window - by main menu1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. From main menu push Window | Close Window.
EXPECTED RESULT: Runtime (and only Runtime) Window is closed.
13Close window - by shortcut1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. Press shortcut for Close Window action (Ctrl+F4).
EXPECTED RESULT: Runtime (and only Runtime) Window is closed.
14Maximize window - by contextual menu1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. From contextual menu of Window push Maximize Window.
EXPECTED RESULT: Runtime Window(whole window consists of Files and Runtime tab) is maximized and Runtime Window is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
15Maximize window - by main menu1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. From main menu push Window | Maximize Window.
EXPECTED RESULT: Runtime Window(whole window consists of Files and Runtime tab) is maximized and Runtime Window is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
16Maximize window - by shortcut1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. Press shortcut for Maximize Window action (Shift+Escape).
EXPECTED RESULT: Runtime Window(whole window consists of Files and Runtime tab) is maximized and Runtime Window is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
17Maximize window - by doubleclick on header1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. Doubleclick on header of Runtime Window.
EXPECTED RESULT: Runtime Window(whole window consists of Files and Runtime tab) is maximized and Runtime Window is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
18Persistence of maximized window - restart1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. Doubleclick on header of Runtime Window.
3. Restart IDE.
EXPECTED RESULT: Runtime Window(whole window consists of Files and Runtime tab) is maximized and Runtime Window is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
19Restore window - by contextual menu1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. Maximize Runtime Window(by contextual menu).
3. From contextual menu of Window push Restore Window.
EXPECTED RESULT: Runtime Window(whole window consists of Files and Runtime tab) is restored and Runtime Window is selected and activated. Contextual menu contains Maximize Window item instead of Restore Window. Main menu Window contains Maximize Window item instead of Restore Window.
20Restore window - by main menu1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. Maximize Runtime Window(by main menu).
3. From main menu push Window | Restore Window.
EXPECTED RESULT: Runtime Window(whole window consists of Files and Runtime tab) is restored and Runtime Window is selected and activated. Contextual menu contains Maximize Window item instead of Restore Window. Main menu Window contains Maximize Window item instead of Restore Window.
21Restore window - by shortcut1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. Maximize Runtime Window(by shortcut).
3. Press shortcut for Restore Window action (Shift+Escape).
EXPECTED RESULT: Runtime Window(whole window consists of Files and Runtime tab) is restored and Runtime Window is selected and activated. Contextual menu contains Maximize Window item instead of Restore Window. Main menu Window contains Maximize Window item instead of Restore Window.
22Restore window - by doubleclick on header1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. Maximize Runtime Window(by shortcut).
3. Doubleclick on header of Runtime Window.
EXPECTED RESULT: Runtime Window(whole window consists of Files and Runtime tab) is restored and Runtime Window is selected and activated. Contextual menu contains Maximize Window item instead of Restore Window. Main menu Window contains Maximize Window item instead of Restore Window.
23Check appearance of Window and contextual menu on Window header1. Check next things on all Windows
EXPECTED RESULT: No icon - window doesn't show an icon in the window header. Window contextual menu is defined in UI specification http://ui.netbeans.org/docs/ui/ws/ws_spec.html#3.4.2.


Test suite: Document Window

Purpose:
Setup: Start IDE with clear userdir in Compact Windows Mode (default).

#Test case [automated]Description
1Check Name11. Open some java file.
EXPECTED RESULT: Name corresponds to a name of object it displays, Description provides more informations about the object displayed in the Document Window (VCS status, read-only attributes, ...).
2Check name21. Open some java file (e.g. HelloWorld.java).
EXPECTED RESULT: Title of selected Document Window contains title "HelloWorld.java", nothing else. In a tooltip over document header is path to showed file.
3Check name - modified1. Open some java file (e.g. HelloWorld.java).
2. Modify file in editor.
EXPECTED RESULT: Title of selected Document Window contains title "HelloWorld.java" and asterisk(modified status).
4Check description - read-only1. Open some read-only java file (e.g. HelloWorld.java).
EXPECTED RESULT: Title of selected document contains title "HelloWorld.java[r/o]" (the [r/o] shows, this file is read only).
5Persistence of Window System - read-only document1. Open some java file (e.g. HelloWorld.java).
2. Restart IDE.
EXPECTED RESULT: Source Editor with opened file HelloWorld is displayed.
6Check Document Window icon1. Open 2 java files.
2. Open 2 form files.
3. Open 2 files from CVS repository.
4. Open 2 xml files.
5. Open 2 txt files.
EXPECTED RESULT: Each Document Window has an icon. Icon doesn't represent displayed object, but editor or viewer of the Document Window. Java, Xml and Txt editors have the same icons, Form editors have the same icons and files from CVS have the same icons.
7Open the Document Window - java file1. Open java file (e.g. HelloWorld.java).
EXPECTED RESULT: Source Editor is opened, it contains Source Editor tab HelloWorld.java, this tab is selected and focus is inside editor.
8Open the Document Window - java file - already opened1. Open 2 java files (e.g. HelloWorld_1.java, HelloWorld_2.java - second tab is selected).
2. Open java file (e.g. HelloWorld_1.java).
EXPECTED RESULT: Editor is opened, it contains Source Editor tabs HelloWorld_1.java and HelloWorld_2.java, source editor tab HelloWorld_1.java is selected and focus is inside editor.
9Open the Document Window - form file1. Open form file (e.g. HelloWorld_jframe.java).
EXPECTED RESULT: Editor is opened, it contains HelloWorld.java tab with selected Design editor.
10Open the Document Window - form file - already opened1. Open 2 form files (e.g. HelloWorld_jframe_1.java, HelloWorld_jframe_2.java - second tab is selected).
2. Open java file (e.g. HelloWorld_jframe_1.java).
EXPECTED RESULT: Editor is opened, it contains 2 tabs HelloWorld_jframe_1.java and HelloWorld_jframe_2.java, HelloWorld_jframe_1.java tab with selected Design editor.
11Close document window - by close button in the header1. Open java file (e.g. HelloWorld.java).
2. Push close button on the tab HelloWorld.java.
EXPECTED RESULT: HelloWorld (and only HelloWorld) Document Window is closed.
12Close document window - by contextual menu1. Open java file (e.g. HelloWorld.java).
2. From contextual menu of HelloWorld Document Window push Close Window.
EXPECTED RESULT: HelloWorld (and only HelloWorld) Document Window is closed.
13Close document window - by main menu1. Open java file (e.g. HelloWorld.java).
2. From main menu push Window | Close Window.
EXPECTED RESULT: HelloWorld (and only HelloWorld) Document Window is closed.
14Close document window - by shortcut1. Open java file (e.g. HelloWorld.java).
2. Press shortcut for Close Window action (Ctrl+F4).
EXPECTED RESULT: HelloWorld (and only HelloWorld) Document Window is closed.
15Close All Documents - by contextual menu1. Open 2 java files (e.g. HelloWorld_1.java, HelloWorld_2.java).
2. From contextual menu of HelloWorld Document Window push Close All Windows.
EXPECTED RESULT: All (both HelloWorld_1 and HelloWorld_2) Document Windows are closed.
16Close All Documents - by main menu1. Open 2 java files (e.g. HelloWorld_1.java, HelloWorld_2.java).
2. From main menu push Window | Close All Windows.
EXPECTED RESULT: All (both HelloWorld_1 and HelloWorld_2) Document Windows are closed.
17Close All Documents - by shortcut1. Open java file (e.g. HelloWorld.java).
2. Press shortcut for Close All Windows action (Ctrl+Shift+F4).
EXPECTED RESULT: All (both HelloWorld_1 and HelloWorld_2) Document Windows are closed.
18Close All Documents - split - by contextual menu1. Open 2 java files (e.g. HelloWorld_1.java, HelloWorld_2.java).
2. DnD HelloWorld_1 window to the bottom of Document Area.
3. From contextual menu of HelloWorld_1 Document Window push Close All Windows.
EXPECTED RESULT: All (both HelloWorld_1 and HelloWorld_2) Document Windows are closed.
19Close All Documents - split - by main menu1. Open 2 java files (e.g. HelloWorld_1.java, HelloWorld_2.java).
2. DnD HelloWorld_1 window to the bottom of Document Area.
3. From main menu push Window | Close All Windows.
EXPECTED RESULT: All (both HelloWorld_1 and HelloWorld_2) Document Windows are closed.
20Close Other Documents - by contextual menu1. Open 3 java files (e.g. HelloWorld_1.java, HelloWorld_2.java, HelloWorld_3.java).
2. From contextual menu of HelloWorld_2.java push Close Other Windows.
EXPECTED RESULT: HelloWorld_1.java and HelloWorld_3.java Document Windows are closed only HelloWorld_2.java stays opened.
21Save document - by contextual menu1. Open java file (e.g. HelloWorld.java).
2. Modify HelloWorld source code.
3. From contextual menu of Window push Save Document.
EXPECTED RESULT: Before saving HelloWorld tab contains asterisk as modified flag, after HelloWorld (and only HelloWorld) document is saved and asterisk vanishes from header.
22Save document - by main menu1. Open java file (e.g. HelloWorld.java).
2. Modify HelloWorld source code.
3. From main menu push File | Save.
EXPECTED RESULT: Before saving HelloWorld tab contains asterisk as modified flag, after HelloWorld (and only HelloWorld) document is saved and asterisk vanishes from header.
23Save document - by shortcut1. Open java file (e.g. HelloWorld.java).
2. Modify HelloWorld source code.
3. Press shortcut for Save action (Ctrl+S).
EXPECTED RESULT: Before saving HelloWorld tab contains asterisk as modified flag, after HelloWorld (and only HelloWorld) document is saved and asterisk vanishes from header.
24Save document - not modified1. Open java file (e.g. HelloWorld.java).
2. Modify HelloWorld source code.
3. Save HelloWorld file.
EXPECTED RESULT: Window menu contains disabled Save Document item, Save item is disabled in File main menu and shortcut for Save action did nothing.
25Clone document window - by contextual menu1. Open java file (e.g. HelloWorld.java).
2. From contextual menu of Window push Clone Window.
EXPECTED RESULT: HelloWorld as original and HelloWorld as clone(new tab in Editor Area) are opened.
26Clone document window - by main menu1. Open java file (e.g. HelloWorld.java).
2. From main menu push Window | Clone Window.
EXPECTED RESULT: HelloWorld as original and HelloWorld as clone(new tab in Editor Area) are opened.
27Clone document window - not cloneable1. Open Welcome Screen (Help | Welcome Screen).
EXPECTED RESULT: Menu item Clone Window is disabled in Window main menu.
28Clone Window1. Open Files window (Window | Files).
EXPECTED RESULT: Menu item Clone Window is disabled in Window main menu.
29Maximize Document Window - by contextual menu1. Open java file (e.g. HelloWorld.java).
2. From contextual menu of Window push Maximize Window.
EXPECTED RESULT: Editor Window(whole window consists of all opened document windows) is maximized and HelloWorld source editor tab is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
30Maximize Document Window - by main menu1. Open java file (e.g. HelloWorld.java).
2. From main menu push Window | Maximize Window.
EXPECTED RESULT: Editor Window(whole window consists of all opened document windows) is maximized and HelloWorld source editor tab is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
31Maximize Document Window - by shortcut1. Open java file (e.g. HelloWorld.java).
2. Press shortcut for Maximize Window action (Shift+Escape).
EXPECTED RESULT: Editor Window(whole window consists of all opened document windows) is maximized and HelloWorld source editor tab is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
32Maximize Document Window - by doubleclick on header1. Open java file (e.g. HelloWorld.java).
2. Doubleclick on header of Document Window.
EXPECTED RESULT: Editor Window(whole window consists of all opened document windows) is maximized and HelloWorld source editor tab is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
33Persistence of maximized Document Window - restart1. Open java file (e.g. HelloWorld.java).
2. Doubleclick on header of Document Window.
3. Restart IDE.
EXPECTED RESULT: Editor Window(whole window consists of all opened document windows) is maximized and HelloWorld source editor tab is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
34Restore Document Window - by contextual menu1. Open java file (e.g. HelloWorld.java).
2. Maximize Document Window(by contextual menu).
3. From contextual menu of Window push Restore Window.
EXPECTED RESULT: Editor Window(whole window consists of all opened document windows) is maximized and HelloWorld source editor tab is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
35Restore Document Window - by main menu1. Open java file (e.g. HelloWorld.java).
2. Maximize Document Window(by main menu).
3. From main menu push Window | Restore Window.
EXPECTED RESULT: Editor Window(whole window consists of all opened document windows) is maximized and HelloWorld source editor tab is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
36Restore Document Window - by shortcut1. Open java file (e.g. HelloWorld.java).
2. Maximize Document Window(by shortcut).
3. Press shortcut for Restore Window action (Shift+Escape).
EXPECTED RESULT: Editor Window(whole window consists of all opened document windows) is maximized and HelloWorld source editor tab is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
37Restore Document Window - by doubleclick on header1. Open java file (e.g. HelloWorld.java).
2. Maximize Document Window(by shortcut).
3. Doubleclick on header of Runtime Window.
EXPECTED RESULT: Editor Window(whole window consists of all opened document windows) is maximized and HelloWorld source editor tab is selected and activated. Contextual menu contains Restore Window item instead of Maximize Window. Main menu Window contains Restore Window item instead of Maximize Window.
38Restore window - by Switch to Document1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
2. Maximize Runtime Window(by shortcut).
3. Push from main menu Window | Switch to Document.
EXPECTED RESULT: Runtime Window(whole window consists of Files and Runtime tab) is restored. Document Window is selected and activated. Contextual menu contains Maximize Window item instead of Restore Window. Main menu Window contains Maximize Window item instead of Restore Window.
39Check contextual menu on Document Window header1. Check contextual menu on Document Window headers.
EXPECTED RESULT: Document Window contextual menu is defined in UI specification http://ui.netbeans.org/docs/ui/ws/ws_spec.html Figures 8 and 9.
40Check properties dialog of folder1. Push from contextual menu of node Properties.
2. Push from contextual menu of node Properties.
EXPECTED RESULT: Properties are opened as a new dialog.


Test suite: Window Area

Purpose:
Setup: Start IDE with clear userdir in Compact Windows Mode (default).

#Test case [automated]Description
1Window area contains only Window type of windows (no Document Window)1. Open all windows from Window menu.
2. Open some file.
3. Try to DnD Document Window to all possible positions in Window Area.
EXPECTED RESULT: All Windows are open in Window Area (no one opened in Document Area). Document Window is opened in Document Area (no Window Area). It's impossible drop Document Window to Window Area.
2Attach Window - to the Window - left1. Open Files View from Window menu.
2. Open Properties from Window menu.
3. Drag Properties Window and Drop it inside to the left side of Files View.
EXPECTED RESULT: Properties Window is moved to the new location. There is Files View on the right side and Properties Window on the left side of the same cell, cell is divided by splitter.
3Attach Window - to the Window - right1. Open Files View from Window menu.
2. Open Properties from Window menu.
3. Drag Properties Window and Drop it inside to the right side of Files View.
EXPECTED RESULT: Properties Window is moved to the new location. There is Files View on the left side and Properties Window on the right side of the same cell, cell is divided by splitter.
4Attach Window - to the Window - top1. Open Files View from Window menu.
2. Open Properties from Window menu.
3. Drag Properties Window and Drop it to the top of Files View.
EXPECTED RESULT: Properties Window is moved to the new location. There is Files View on the bottom and Properties Window on the top of the same cell, cell is divided by splitter.
5Attach Window - to the Window - bottom1. Open Files View from Window menu.
2. Open Properties from Window menu.
3. Drag Properties Window and Drop it to the bottom of Files View.
EXPECTED RESULT: Properties Window is moved to the new location. There is Files View on the top and Properties Window on the bottom of the same cell, cell is divided by splitter.
6Attach Window - to the Window - as a new tab1. Open Files View from Window menu.
2. Open Properties from Window menu.
3. Drag Properties Window and Drop it to the Files View as a new tab.
EXPECTED RESULT: Properties Window is moved to the new location. There is Files View - overlaped by Properties Window (selected) as a new tab.
7Attach Window - to the Window Area - left1. Open Files View from Window menu.
2. Open Runtime from Window menu.
3. Drag Runtime Window and Drop it to the left of Window Area.
EXPECTED RESULT: Runtime Window is moved to the new location. There is Files View on the left and Runtime Window on the left of Window Area but on the left side of Files View, between windows is splitter.
8Attach Window - to the Window Area - right1. Open Files View from Window menu.
2. Open Runtime from Window menu.
3. Drag Runtime Window and Drop it to the right of Window Area.
EXPECTED RESULT: Runtime Window is moved to the new location. There is Files View on the left and Runtime Window on the right of Window Area, between windows are splitters with Document Area.
9Attach Window - to the Window Area - top1. Open Files View from Window menu.
2. Open Runtime from Window menu.
3. Drag Runtime Window and Drop it to the top of Window Area.
EXPECTED RESULT: Runtime Window is moved to the new location. There is Files View on the left and Runtime Window on the top of Window Area, between windows is splitter.
10Attach Window - to the Window Area - bottom1. Open Files View from Window menu.
2. Open Runtime from Window menu.
3. Drag Runtime Window and Drop it to the bottom of Window Area.
EXPECTED RESULT: Runtime Window is moved to the new location. There is Files View on the left and Runtime Window on the bottom of Window Area, between windows is splitter.
11Attach Window - on the splitter - left1. Open Files View from Window menu.
2. Open Runtime from Window menu.
3. Drag Files View and drop it to the right side of Document Area.
4. Drag Runtime Window and Drop it on the splitter between Filesystem cell(left side) and Document Area.
EXPECTED RESULT: Runtime Window is moved to the new location. There is Files View on the right and Runtime Window in the center and Document Area on the left, between windows are splitters.
12Attach Window - on the splitter - right1. Open Files View from Window menu.
2. Open Runtime from Window menu.
3. Drag Runtime Window and Drop it on the splitter between Filesystem cell(right side) and Document Area.
EXPECTED RESULT: Runtime Window is moved to the new location. There is Files View on the left and Runtime Window in the center and Document Area on the right, between windows are splitters.
13Attach Window - on the splitter - top1. Open Files View from Window menu.
2. Open Runtime from Window menu.
3. Open OutputWindow from Window menu.
4. Drag Runtime Window and Drop it on the splitter between Output cell and Document Area.
EXPECTED RESULT: Runtime Window is moved to the new location. There is Files View on the left, Output Window on the bottom, Runtime Window is between Output Window and Document Area, between windows are splitters.
14Attach Window - on the splitter - bottom1. Open Files View from Window menu.
2. Open Runtime from Window menu.
3. Open Output Window from Window menu.
4. Drag Output Window and drop to the top of the Document Area.
5. Drag Runtime Window and Drop it on the splitter between Output cell and Document Area.
EXPECTED RESULT: Runtime Window is moved to the new location. There is Files View on the left, Output Window on the top, Runtime Window is between Output Window and Document Area, between windows are splitters.
15Attach Window - to the Document Area - left1. Open Output Window from Window menu.
2. Open some file.
3. Drag Output Window and Drop it to the left side of Document Area.
EXPECTED RESULT: Output Window is opened on the left side and source editor on the right side, between windows are splitters.
16Attach Window - to the Document Area - right1. Open Files View from Window menu.
2. Open some file.
3. Drag Files View and Drop it to the right side of Document Area.
EXPECTED RESULT: Files View is opened on the right side and source editor on the left side, between windows are splitters.
17Attach Window - to the Document Area - top1. Open Output Window from Window menu.
2. Open some file.
3. Drag Output Window and Drop it to the top of Document Area.
EXPECTED RESULT: Output Window is opened on the top and source editor on the bottom, between windows are splitters.
18Attach Window - to the Document Area - bottom1. Open Files View from Window menu.
2. Open some file.
3. Drag Files View and Drop it to the bottom of Document Area.
EXPECTED RESULT: Files View is opened on the bottom and source editor on the top, between windows are splitters.
19More windows in a split cell1. Open Files from Window menu.
2. Open Projects from Window menu.
3. Open Runtime from Window menu.
EXPECTED RESULT: All three windows are shown at the one split cell, top most and Runtime Window is selected.
20More windows in a split cell - change selection1. Open Files from Window menu.
2. Open Projects from Window menu.
3. Open Runtime from Window menu.
4. Select (click on a header of) Projects Window.
EXPECTED RESULT: All three windows are shown at the one split cell, Projects Window is selected.
21More windows in a split cell - close first window1. Open Files from Window menu.
2. Open Projects from Window menu.
3. Open Runtime from Window menu.
4. Close (click on the close button in a header of) Files View.
EXPECTED RESULT: Files View is closed but Runtime and Projects Windows stay opened and Projects Window is selected.
22Maximized Split Cell1. Open Files View from Window menu.
2. Open some java file.
3. Open Projects from Window menu.
4. Doubleclick on a selected header (Projects Window).
EXPECTED RESULT: Split cell with Files View and Projects windows is maximized - it means just Window Area is visible and Projects Window is selected.
23Maximized Split Cell - restore1. Open Files View from Window menu.
2. Open some java file.
3. Open Projects from Window menu.
4. Doubleclick on a selected header (Projects Window).
5. Doubleclick on a selected header (Projects Window) again.
EXPECTED RESULT: Split cell with Files View and Projects windows isn't maximized, Document Window with opened java file is visible and Projects Window is selected.
24Maximized Split Cell - Switch to document1. Open Files View from Window menu.
2. Open some java file.
3. Open Projects from Window menu.
4. Doubleclick on a selected header (Projects Window).
5. Push from main menu Window | Switch to Document.
EXPECTED RESULT: Split cell with Files View and Projects windows isn't maximized, Document Window with opened java file is visible and selected.
25Vertical Split Cell1. Open Files View from Window menu.
2. Open Projects from Window menu.
3. Drag Files View and drop to the left side of Projects Window.
EXPECTED RESULT: Chain of vertical split cells is visible.
26Vertical Split Cell - resize1. Open Files View from Window menu.
2. Open Projects from Window menu.
3. Drag Files View and drop to the left side of Projects Window.
4. Move splitter between Files View and Document Area.
EXPECTED RESULT: Chain of vertical split cells is visible. Only Files View is resized Projects Window holds the same size.
27Vertical Split Cell - persistence after closing1. Open Files View from Window menu.
2. Open Projects from Window menu.
3. Drag Files View and drop to the left side of Projects Window.
4. Move splitter between Files View and Document Area.
5. Close Files View.
6. Open Files View from Window menu.
EXPECTED RESULT: Files View is opened on the left side of Projects Window and its size is the same as before closing.
28Vertical Split Cell - persistence after closing and restart1. Open Files View from Window menu.
2. Open Projects from Window menu.
3. Drag Files View and drop to the left side of Projects Window.
4. Move splitter between Files View and Document Area.
5. Close Files View.
6. Restart IDE.
7. Open Files View from Window menu.
EXPECTED RESULT: Files View is opened on the left side of Projects Window and its size is the same as before closing.
29Horizontal Split Cell1. Open Files View from Window menu.
2. Open Projects from Window menu.
3. Drag Files View and drop to the top side of Projects Window.
EXPECTED RESULT: Chain of horizontal split cells is visible.
30Horizontal Split Cell - resize1. Open Files View from Window menu.
2. Open Projects from Window menu.
3. Drag Files View and drop to the top side of Projects Window.
4. Move splitter between Files View and Projects Window.
EXPECTED RESULT: Chain of horizontal split cells is visible. Only Files View is resized Projects Window holds the same size.
31Horizontal Split Cell - persistence after closing1. Open Files View from Window menu.
2. Open Projects from Window menu.
3. Drag Files View and drop to the top side of Projects Window.
4. Move splitter between Files View and Project Window.
5. Close Files View from Window menu.
6. Open Files View from Window menu.
EXPECTED RESULT: Files View is opened on the top side of Projects Window and its size is the same as before closing.
32Horizontal Split Cell - persistence after closing and restart1. Open Files View from Window menu.
2. Open Projects from Window menu.
3. Drag Files View and drop to the top side of Projects Window.
4. Move splitter between Files View and Project Window.
5. Close Files View from Window menu.
6. Restart IDE.
7. Open Files View from Window menu.
EXPECTED RESULT: Files View is opened on the top side of Projects Window and its size is the same as before closing.


Test suite: Window Groups

Purpose:
Setup: Start IDE with clear userdir in Compact Windows Mode (default).

#Test case [automated]Description
1Output Window1. Open some java file - HelloWorld.java
2. Run HelloWorld application
EXPECTED RESULT: Output Window is opened, it consists of Input TextField with Close Input Button and Output window. If the application finished Input Textfield is closed but Output window is still opened.
2GUI editing window group1. Open some form file - HelloWorld.java
EXPECTED RESULT: One tab is added to Editor. Designer is visible. Designer toolbar contains two buttons Design and Source , Design is selected by default. Form Editor consists of Component Palette, Component Inspector,Properties and Form Designer. Check titles and position of views.
3GUI editing window group - closing group1. Open some form file - HelloWorld.java
2. Close opened form file.
EXPECTED RESULT: Palette, Inspector, Properties, Source editor and Form designer are closed.
4GUI editing window group - change layout - persistence1. Open some form file - HelloWorld.java
2. Drag Properties Window to the Files View as a new tab.
3. Close opened form file.
4. Open the another form file.
EXPECTED RESULT: One tab is added to Editor. Designer is visible. Designer toolbar contains two buttons Design and Source , Design is selected by default. Form Editor consists of Component Palette, Component Inspector and Form Designer. Properties Window is opened on its new position as new tab in Files View. Check titles and position of views.
5Debugging window group1. Open some java file - HelloWorld.java
2. Run debugger to cursor on line with System.out.println("Hello World")
EXPECTED RESULT: Debugging window group is opened. It consists of Output, Local Variables, Watches and Call Stack. If debugging is finished just Output window stays opened.
6Debugging window group - change layout - persistence1. Open some java file - HelloWorld.java
2. Run debugger to cursor on line with System.out.println("Hello World")
3. Drag Call Stack Window to the right side of Document Area.
4. Drag Watches Window to the same cell as Call Stack Window as a new tab.
5. Drag Local Variables Window to the Files View as a new tab.
6. Push from main menu Debug|Finish Sessions.
7. Run debugger to cursor on line with System.out.println("Hello World")
EXPECTED RESULT: Debugging window group is opened. All windows are opened at the same positions as they were before finish debugging.


Test suite: Documents dialog

Purpose:
Setup: Start IDE with clear userdir in Compact Windows Mode (default).

#Test case [automated]Description
1Documents dialog - check layout1. Open some file.
2. Push main menu Window | Documents...
EXPECTED RESULT: Document non-modal dialogs is opened as it's specified in UI specification http://ui.netbeans.org/nonav/docs/ui/ws/ws_spec.html#3.11.1 . Check components and mnemonics.
2Documents dialog - list of documents1. Open files in defined order : Class_A.java Class_C.java Class_B.java.
2. Modify file Class_B.java
3. Open Documents window.
EXPECTED RESULT: Every item is the list contains icon, and name of document window as displayed in document window headers, it means also with asterisk in case a document has been modified. The list is alphabetically ordered and allows a multi-selection.
3Documents dialog - search for popup1. Open files in defined order : Class_A.java Class_C.java Class_B.java.
2. Open Documents window.
3. Focus list of documents and write "class_A"
EXPECTED RESULT: "Search for" popup is displayed showing typed characters and list moves selection to the matching item in the list. If non of the items matches typed characters, then the selection stays at the last item. The backspace key allows the user to delete the last character. The "Search for" popup is closed if the user hits Enter, Esc, or the arrow keys. The search is keyboard insensitive.
4Documents dialog - switch to document1. Open files in defined order : Class_A.java Class_C.java Class_B.java. (Class_B document is active and has focus)
2. Open Documents window.
3. Select item Class_A from the list of documents
4. Push button Switch to Document
EXPECTED RESULT: "Class_A" document window is activated and Document dialog is closed.
5Documents dialog - close document1. Open files in defined order : Class_A.java Class_C.java Class_B.java.
2. Open Documents window.
3. Select item Class_A from the list of documents
4. Push button Close Document(s)
EXPECTED RESULT: Class_A document window is closed and item is removed from the list and Documents dialog is still opened.
6Documents dialog - close two documents1. Open files in defined order : Class_A.java Class_C.java Class_B.java.
2. Open Documents window.
3. Select items Class_A, Class_B from the list of documents
4. Push button Close Document(s)
EXPECTED RESULT: Class_A and Class_B document windows are closed and items are removed from the list and Documents dialog is still opened.
7Documents dialog – close all documents1. Open files in defined order : Class_A.java Class_C.java Class_B.java.
2. Open Documents window.
3. Select all documents from the list of documents.
4. Push button Close Document(s)
EXPECTED RESULT: All document windows are closed and the documents dialog is closed too.
8Documents dialog - save document1. Open files in defined order : Class_A.java Class_C.java Class_B.java.
2. Modify file Class_A.java
3. Open Documents window.
4. Select item Class_A from the list of documents
5. Push button Save Document(s)
EXPECTED RESULT: Class_A is saved and document window is still opened and presents in the list of opened documents.
9Documents dialog - save two documents1. Open files in defined order : Class_A.java Class_C.java Class_B.java.
2. Modify files Class_A.java and Class_B.java.
3. Open Documents window.
4. Select items Class_A, Class_B from the list of documents
5. Push button Save Document(s)
EXPECTED RESULT: Class_A and Class_B are saved and document windows are still opened and present in the list of opened documents.
10Documents dialog - no document selected1. Open files in defined order : Class_A.java Class_C.java Class_B.java. (Class_B document is active and has focus)
2. Open Documents window.
3. Let no one item selected
EXPECTED RESULT: Buttons Switch to Document, Close Document(s) and Save Document(s)
11Documents dialog - close modified document1. Open files in defined order : Class_C.java Class_B.java Class_A.java.
2. Modify file Class_B.
3. Open Documents window.
4. Select item Class_B from the list of documents
5. Push button Close Document(s)
EXPECTED RESULT: Question dialog (Save dialog) rises, if push Save - document is saved, document window is closed and item removed from the list of opened documents. If push Discard - document is closed but not saved, item is removed from the list of opened documents. If push Cancel - document isn't saved neither closed and order of documents in the list of opened documents is unchanged.
12Documents quick list - one document1. Open some java file
EXPECTED RESULT: Document Window contains a tab and on the upper right corner (or in the line of tabs) are left,bottom(quick list) and right scroll button. If you click by mouse on the quick list button - quick list popup menu with the list of all opened document windows rises - just one item. Item in the popup displays an icon and name of document window.
13Documents quick list - many documents1. Open many files (10-20).
EXPECTED RESULT: Document Window contains a line tabs in the opening order and on the upper right corner (or in the line of tabs) are left,bottom(quick list) and right scroll button. If you click by mouse on the quick list button - quick list popup menu with the list of all opened document windows rises. The items in the popup are ordered alphabetically. Each item in the popup displays an icon and name of document window. If there is not enough space in the main window to fit all the items in one column without a need to scroll then the list is organized into multiple columns.
14Documents quick list - switch to the last one1. Open ten files.
2. Select first document tab.
3. Push Quick List button.
4. From the quick list menu select last opened document.
EXPECTED RESULT: Selected and activated document window is the last one opened. Document Window contains a line of tabs (3nd, .... , 10th), left tab is shown, left scroll button is enabled. The quick list contains all of opened document windows.
15Documents quick list - switch to the first one1. Open ten files.
2. Select last document tab.
3. Push Quick List button.
4. From the quick list menu select first opened document.
EXPECTED RESULT: Selected and activated document window is the first one opened. Document Window contains a line of tabs 1st, .... , 8th), right tab is shown, right scroll button is enabled. The quick list contains all of opened document windows.


Test suite: Sliding

Purpose:
Setup: Start IDE with clear userdir in Compact Windows Mode (default).

#Test case [automated]Description
1Hide docked window - click on icon1. Click on Minimize button in the Files View title bar.
EXPECTED RESULT: Files View disappears from the Docked mode, the left edge bar is shown with one Files toggle button.
2Hide docked window - by contextual menu1. Push Minimize from popup menu over Files View title bar.
EXPECTED RESULT: Files View disappears from the Docked mode, the left edge bar is shown with one Files toggle button.
3Hide window to the left1. Click on Minimize button in the Files View title bar.
EXPECTED RESULT: Files View disappears from the Docked mode, the left edge bar is shown with one Files toggle button.
4Hide window to the right1. DnD Files View to the right side of the Document area.
2. Click on Minimize button in the Files View title bar.
EXPECTED RESULT: Files View disappears from the Docked mode, the right edge bar is shown with one Files toggle button.
5Hide window to the bottom1. DnD Files View to the bottom of the Document area.
2. Click on Minimize button in the Files View title bar.
EXPECTED RESULT: Files View disappears from the Docked mode, the bottom edge bar is shown with one Files toggle button.
6Hide window docked in the top1. DnD Files View to the top of the Document area.
2. Click on Minimize button in the Files View title bar.
EXPECTED RESULT: Files View disappears from the Docked mode, the left edge bar is shown with one Files toggle button.
7Hide docked window - by DnD to the left1. Drag Files View and drop it on the left edge of Window Area.
EXPECTED RESULT: Files View disappears from the Docked mode, the left edge bar is shown with one Files toggle button.
8Hide docked window - by DnD to the right 1. Drag Files View and drop it on the right edge of Window Area.
EXPECTED RESULT: Files View disappears from the Docked mode, the right edge bar is shown with one Files toggle button.
9Hide docked window - by DnD to the bottom1. Drag Files View and drop it on the bottom edge of Window Area.
EXPECTED RESULT: Files View disappears from the Docked mode, the bottom edge bar is shown with one Files toggle button.
10Hide window to the left - edge bar exists1. Hide Projects View.
2. Click on Minimize button in the Files View title bar.
EXPECTED RESULT: Files View disappears from the Docked mode, the left edge bar contains two buttons first is Projects button and second one is Files toggle button.
11Hide window to the right - edge bar exists1. DnD Files View to the right side of the Document area.
2. DnD Projects View to the right side of the Document area.
3. Hide Projects View.
4. Click on Minimize button in the Files View title bar.
EXPECTED RESULT: Files View disappears from the Docked mode, the right edge bar contains two buttons first is Projects button and second one is Files toggle button.
12Hide window to the bottom - edge bar exists1. DnD Files View to the bottom of the Document area.
2. DnD Projects View to the bottom side of the Document area.
3. Hide Projects View.
4. Click on Minimize button in the Files View title bar.
EXPECTED RESULT: Files View disappears from the Docked mode, the bottom edge bar contains two buttons first is Projects button and second one is Files toggle button.
13Slide window - move mouse over button1. Hide Projects View.
2. Move mouse over Projects toggle button on the left edge bar.
EXPECTED RESULT: Minimized Projects window slides from side but will not obtain a focus.
14Slide window - click on button1. Hide Projects View.
2. Click by mouse on Projects toggle button on the left edge bar.
EXPECTED RESULT: Minimized Projects window slides from side and will obtain a focus.
15Slide window - by shortcut1. Hide Projects View.
2. Press shortcut for opening Projects View (Ctrl+1).
EXPECTED RESULT: Minimized Projects window slides from side and will obtain a focus.
16Dock window - click on icon1. Hide Projects View.
2. Move mouse over Projects toggle button on the left edge bar.
3. Push Dock button on the title bar of slided window.
EXPECTED RESULT: Projects View is docked back to the default position, size of the window is the same was before hiding.
17Dock window - by contextual menu over button1. Hide Projects View.
2. Uncheck Minimize from contextual menu over Projects toggle button on the left edge bar.
EXPECTED RESULT: Projects View is docked back to the default position, size of the window is the same was before hiding.
18Dock window - by contextual menu over title bar1. Hide Projects View.
2. Move mouse over Projects toggle button on the left edge bar.
3. Uncheck Minimize from contextual menu over title bar of slided window.
EXPECTED RESULT: Projects View is docked back to the default position, size of the window is the same was before hiding.
19Dock window - by DnD1. Hide Projects View.
2. Drag Project toggle button and drop it on the Files View.
EXPECTED RESULT: Projects View is docked back like a new tab in the Files View.
20Minimize window from mouse over sliding mode1. Hide Projects View.
2. Move mouse over Projects toggle button on the left edge bar.
3. Wait for Projects window slides from side and move mouse out from that window or button.
EXPECTED RESULT: Projects View hides once again into Minimized state.
21Minimize window from mouse click sliding mode1. Hide Projects View.
2. Click by mouse on Projects toggle button on the left edge bar.
3. Wait for Projects window slides from side and focus any other part of IDE or press ECS.
EXPECTED RESULT: Projects View hides once again into Minimized state.
22Minimize window from sliding mode by shortcut1. Hide Projects View.
2. Press shortcut for opening Projects View (Ctrl+1).
3. Wait for Projects window slides from side and focus any other part of IDE or press ECS.
EXPECTED RESULT: Projects View hides once again into Minimized state.
23Check persistence - hide, close, open1. Hide Projects View.
2. Push Close Window from contextual menu over Projects toggle button on the left edge bar.
3. Open Project View from main menu.
EXPECTED RESULT: Projects View is opened as slided window and will obtain a focus.
24Check persistence - hide, close, restart, open1. Hide Projects View.
2. Push Close Window from contextual menu over Projects toggle button on the left edge bar.
3. Restart IDE.
4. Open Project View from main menu.
EXPECTED RESULT: Projects View is opened as slided window and will obtain a focus.
25Check persistence - hide, restart, open1. Hide Projects View.
2. Restart IDE.
3. Projects View is minimized, open Project View from main menu.
EXPECTED RESULT: Projects View is opened as slided window and will obtain a focus.
26Close window in sliding mode1. Hide Projects View.
2. Move mouse over Projects toggle button on the left edge bar.
3. Push Close Window from contextual menu over title bar of slided window.
EXPECTED RESULT: Projects View is closed.
27Close window in Auto hide mode1. Hide Projects View.
2. Push Close Window from contextual menu over Projects toggle button on the left edge bar.
EXPECTED RESULT: Projects View is closed.


Test suite: Scrollable tabs in Window system

Purpose: The Window System uses scrollable tabs for managing open documents. A behavior of scrollable tabs is tested by next test cases and scenarios. The UI is specified in UI specification http://ui.netbeans.org/docs/ui/ws/ws_spec-scrollable_tabs.html .
Setup: Start IDE with clear userdir in Compact Windows Mode (default).

#Test case [automated]Description
1Scrollable tabbed pane - row of tabs1. Open three files.
EXPECTED RESULT: Document Window contains a line of tabs and on the upper right corner (or in the line of tabs) are left,right and bottom(quick list) scroll buttons, but only quick list button is enabled, left and right buttons are disabled.
2Scrollable tabbed pane - view of tabs1. Open ten files (as many files you need to have not all tabs visible).
2. Push left scroll button to scroll tabs to the left (to show not fully vissible the most left and the most right tab).
EXPECTED RESULT: All scroll buttons are enabled. The leftmost and the rightmost visible tabs are partially vissible tabs. All other tabs are fully visible between the leftmost and the rightmost tabs. Tabs that are on the left side of the leftmost visible tab or on the right side of the rightmost visible tab are hidden.
3Scrollable tabbed pane - tab width1. Open ten files (as many files you need to have not all tabs visible).
2. Push left scroll button to scroll tabs to the left (to show not fully vissible the most left and the most right tab).
EXPECTED RESULT: Each tab contains an icon, label and close button. Check the width for right partially visible tab (minimum and maximum) and left partially visible tab (minimum and maximum).
4Scrollable tabbed pane - layout state - all tabs visible1. Open three files.
EXPECTED RESULT: The tabbed pane shows all tabs in the view if sum of preferred width of all tabs is less than width of view. The first tab is aligned with the left edge of the view. In this state, both scroll buttons are disabled.
5Scrollable tabbed pane - layout state - tabs hidden on the right side1. Open ten files (as many files you need to have not all tabs visible).
2. Push left scroll button to scroll tabs to the left (to show fully vissible the most left tab).
EXPECTED RESULT: Tabs are hidden on the right side if the first tab is fully visible and the sum of preferred width of all tabs is greater than width of view. The right partially visible tab follows the beginning and end of label rule. The first tab is aligned with the left edge of view. In this state the left scroll button is disabled and right scroll button is enabled.
6Scrollable tabbed pane - layout state - tabs hidden on the left side1. Open ten files (as many files you need to have not all tabs visible).
2. Push right scroll button to scroll tabs to the right (to show fully vissible the most right tab).
EXPECTED RESULT: Tabs are hidden on the left side if the last tab is fully visible and the sum of preferred width of all tabs is greater than width of view. The left partially visible tab follows the beginning and end of label rule. The last tab is aligned with the right edge of view. In this state the left scroll button is enabled and right scroll button is disabled.
7Scrollable tabbed pane - layout state - tabs hidden on both sides1. Open ten files (as many files you need to have not all tabs visible).
EXPECTED RESULT: Tabs are hidden on the left side if the last tab is fully visible and the sum of preferred width of all tabs is greater than width of view. The left partially visible tab follows the beginning and end of label rule. The last tab is aligned with the right edge of view. In this state both scroll buttons are enabled.
8Scrollable tabbed pane - activating fully visible tab1. Open three files.
2. Activate second view (click by mouse on the second tab).
EXPECTED RESULT: No change in tab layout. Only second tab is active.
9Scrollable tabbed pane - activating partially visible tab1. Open ten files (as many files you need to have not all tabs visible).
2. Activate the leftmost partially visible tab (the rightmost partially visible tab ).
EXPECTED RESULT: It is made the leftmost fully visible tab (the rightmost fully visible tab) active.
10Scrollable tabbed pane - activating hidden tab1. Open ten files (as many files you need to have not all tabs visible).
2. Select from the Quick list the tab hidden on the left (right) side.
EXPECTED RESULT: It is made the leftmost fully visible tab(it is made the rightmost fully visible tab) active.
11Scrollable tabbed pane - adding - rightmost tab partially visible1. Open ten files (as many files you need to have the rightmost tab partially visible).
2. Open new file.
EXPECTED RESULT: The tab layout isn't changed and new tab is created as the last tab. It is made the rightmost tab fully visible and active.
12Scrollable tabbed pane - adding tab - rightmost tab hidden1. Open ten files (as many files you need to have the rightmost tab hidden).
2. Open new file.
EXPECTED RESULT: The tab layout isn't changed and new tab is created as the last tab. It is made the rightmost tab fully visible and active.
13Scrollable tabbed pane - removing tab - fully visible tab1. Open ten files (as many files you need to have not all tabs visible).
2. Close fully visible tab (push close button on the tab).
EXPECTED RESULT: The left partially visible tab doesn't move. The layout tries to show as much of all tabs (all the fully visible tabs, the right partially hidden tab, all the hidden tabs on the right) as possible (making hidden tabs either fully visible or right partially visible).
14Scrollable tabbed pane - removing tab - left partially visible tab (not the first tab)1. Open ten files (as many files you need to have the left tab partially visible and it isn't the first tab).
2. Close left partially visible (not the first) tab (use Documents dialog for the closing).
EXPECTED RESULT: Tabs at the right of removing tab don't move. The tab at the left side (currently hidden) of removing tab is made the left partially visible tab.
15Scrollable tabbed pane - removing tab - left partially visible tab (the first tab)1. Open ten files (as many files you need to have the left tab partially visible and it is the first tab).
2. Close left partially visible (not the first) tab (use Documents dialog for the closing).
EXPECTED RESULT: The tabs row moves to the left.
16Scrollable tabbed pane - removing tab - hidden tab1. Open ten files (as many files you need to have the rightmost tab hidden).
2. Select the hidden file in Document dialog and push Close button.
EXPECTED RESULT: Closing a hidden tab doesn't modify the tabs layout.
17Scrollable tabbed pane - resizing (tailing off) - active tab is the first one1. Open ten java files (as many files you need to have visible all tabs, but if once more open - will be partially or fully visible).
2. Select the first tab.
3. Resize the main window (make it smaller).
EXPECTED RESULT: The tab row doesn't move until selected tab becomes partially visible. The tabbed pane keeps selected tab inside the tabs view.
18Scrollable tabbed pane - resizing (tailing off) - active tab is the second one1. Open ten java files (as many files you need to have visible all tabs, but if once more open - will be partially or fully visible).
2. Select the first tab.
3. Resize the main window (make it smaller).
EXPECTED RESULT: The tab row doesn't move until selected tab becomes partially visible. The tabbed pane keeps selected tab inside the tabs view.
19Scrollable tabbed pane - resizing (tailing off) - active tab is one before last1. Open ten java files (as many files you need to have visible all tabs, but if once more open - will be partially or fully visible).
2. Select one before last tab.
3. Resize the main window (make it smaller).
EXPECTED RESULT: The tabbed pane keeps selected tab inside the tabs view. Shrinking the tabbed pane keeps the leftmost partially/fully visible tab the same. The rightmost visible tab changes if needed. If shrinking the tabbed pane would make the active tab hidden on the right side of tabs view, then the tab row moves and the active tab is made the rightmost fully visible tab.
20Scrollable tabbed pane - resizing (tailing off) - active tab is the last one1. Open ten java files (as many files you need to have visible all tabs, but if once more open - will be partially or fully visible).
2. Select the last tab.
3. Resize the main window (make it smaller).
EXPECTED RESULT: The tabbed pane keeps selected tab inside the tabs view. When the active tab is partially visible, in tabs view is leftmost partially visible tab too.
21Scrollable tabbed pane - resizing (tailing off) - active tab is new one opened1. Open ten java files (as many files you need to have visible all tabs, but if once more open - will be partially or fully visible).
2. Open form file (The whole tabbed pane resizes when opening the GUI Editing window group).
EXPECTED RESULT: The form tab is selected (it's the last tab). The tab row moves and the active tab is made the rightmost fully visible tab.
22Scrollable tabbed pane - resizing (enlarging) - active tab is the first one - the rightmost partially visible1. Open ten java files (as many files you need to have visible all tabs, but if once more open - will be partially or fully visible).
2. Select the first tab.
3. Resize the main window (make it smaller) - to the rightmost tab is partially visible and last one is hidden.
4. Resize the main window (enlarge).
EXPECTED RESULT: The first tab is active and layuot of tabs is same like before resizing.
23Scrollable tabbed pane - resizing (enlarging) - active tab is the second one - the rightmost partially visible1. Open ten java files (as many files you need to have visible all tabs, but if once more open - will be partially or fully visible).
2. Select the second tab.
3. Resize the main window (make it smaller) - to the rightmost and leftmost tabs are partially visible and last one is hidden.
4. Resize the main window (enlarge).
EXPECTED RESULT: The second tab is active and fully visible while resizing and the tab view is aligned to the right edge of tabs (it means leftmost partially visible tab isn't changed) until all tabs visible then the tab row alignes to the left edge of tabs view.
24Scrollable tabbed pane - resizing (enlarging) - active tab is the last one - the leftmost partially visible1. Open ten java files (as many files you need to have visible all tabs, but if once more open - will be partially or fully visible).
2. Select the last tab.
3. Resize the main window (make it smaller) - to the leftmost tab is partially visible and the first one is hidden.
4. Resize the main window (enlarge).
EXPECTED RESULT: The last tab is active and fully visible while resizing and the tab view is aligned to the right edge of tabs until all tabs visible then the tab row alignes to the left edge of tabs view.
25Scrollable tabbed pane - resizing (enlarging) - active tab is the one before last one - the leftmost partially visible1. Open ten java files (as many files you need to have visible all tabs, but if once more open - will be partially or fully visible).
2. Select the one before last tab.
3. Resize the main window (make it smaller) - to the leftmost and rightmost tabs are partially visible and the first one is hidden.
4. Resize the main window (enlarge).
EXPECTED RESULT: The one before last tab is active and fully visible while resizing and the tab view is aligned to the right edge of tabs until all tabs visible then the tab row alignes to the left edge of tabs view.
26Scrollable tabbed pane - scrolling to the left1. Open ten java files (as many files you need to have the leftmost(third) tab partially visible, the first and second tabs are hidden).
2. Select the last tab.
3. Push left scroll button.
EXPECTED RESULT: The last tab is active while scrolling. It makes the left partially visible tab (the third tab) the leftmost fully visible tab, the first left hidden tab (the second tab) the left partially visible tab and the first tab is hidden.
27Scrollable tabbed pane - scrolling to the right1. Open ten java files (as many files you need to have the rightmost(two before last) tab partially visible, the last and one before last tabs are hidden).
2. Select the first tab.
3. Push right scroll button.
EXPECTED RESULT: The first tab is active while scrolling. It makes the right partially visible tab (the two before last tab) the rightmost fully visible tab, the first right hidden tab (the one before last tab) the right partially visible tab and the last tab is hidden.


Test suite: Separate Windows Mode

Purpose: The new windowing system has two modes: the "Compact Windows" mode (MDI) and the "Separate Windows" mode (SDI). This section contains test specification for testing Separate Windows Mode, exactly features that behave different ways as in Compact Windows Mode. The UI is specified in UI specification http://ui.netbeans.org/docs/ui/ws/ws_spec.html#4 .
Setup: Start IDE with clear userdir in Separate Windows Mode (choose it from Setup Wizard).

#Test case [automated]Description
1Main Window in Separate Windows Mode1. Check consistency of the main window.
EXPECTED RESULT: The Main Window in Separate Window Mode is a container for main menu, toolbar and status line.
2Editor Window in Separate Windows Mode1. Open some file.
2. Check consistency of the Editor window.
EXPECTED RESULT: The document windows are shown inside a special native window named Editor (it's permanent title of the editor window - title doesn't depend on the opened/selected document) and non-document windows can be displayed in Editor window too. Icon of editor window is the same as icon of main window (it means the application icon).
3Native Window in Separate Windows Mode1. Open windows Projects, Properties, Output, Navigator, Local Variables.
2. Check consistency of opened native windows.
EXPECTED RESULT: All windows are opened in native windows. Title of native window shows the name of currently selected IDE window inside the native window. Icon of native window is the same as icon of main window. It means the application icon.
4Drag Window and drop to Document Area1. Open Properties Window.
2. Drag Properties Window and drop them to the top of Document Area.
EXPECTED RESULT: Dropping to the center of Document Area isn't allowed, but drop to the bootom, top, right and left is allowed, new Native Window with Properties IDE Window is opened after drop.
5Drag Window and drop to Main Window1. Open Properties Window.
2. Drag Properties Window and drop them to the top of Main Window.
EXPECTED RESULT: Dropping to Main Window isn't allowed, if allowed than new Native Window with Properties IDE Window is opened after drop.
6Drag Window and drop to Native Window1. Open Properties Window.
2. Drag Properties Window and drop them to the Files View.
EXPECTED RESULT: Dropping to Files View is allowed, it doesn't metter where is drop destination (top, bottom, left, right or center) it adds the window into tabbed windows inside the native window. This doesn't result in changing the size or position of native window.
7Drag Window and drop to Outside Area1. Drag Runtime Window and drop them to the Outside Area.
EXPECTED RESULT: Dropping to Outside Area is allowed. A new native window is created in place, containing the dragged IDE window. The new native window size is the same as the native window the IDE window has been contained in. The position of native window right left corner of new window appears at the mouse cursor position.
8Maximize Native Window in Separate Windows Mode1. Open Properties Window.
2. Push Maximize from popup menu on Proper