TS 60 WindowSystem

Window system Test Specification for NetBeans 6.0

Author: Petr Chytil
Last update: 01/11/2008
Introduction: This test specification covers many features of window system.
UI specification: http://ui.netbeans.org/docs/ui/ws/ws_spec.html

Contents


Test suite: Main Window layout

Purpose: The UI is specified in UI specification .
Setup: Start IDE with clear userdir.

  1. Startup windows layout
    1. 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.
  1. Persistence of startup windows layout
    1. 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.
  1. Menu Window
    1. Check consistency of main menu Window.
               Windows in the first part of Window menu should have icons.
               There should be list of all Windows.  
 
  1. Menu View
    1. Check consistency of main menu View.
               There should be list of All Windows.  
 


Test suite: Window

Purpose: The UI is specified in UI specification.
Setup: Start IDE with clear userdir.

  1. Menu Access
    1. 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. 
 
  1. Menu Access
    1. Try open all windows from main menu Window by shortcuts.
    • EXPECTED RESULT: All windows are opened. There is only one instance of each window.
               Each window has its own item in menu Window. 
 
  1. Check Window icon
    1. Open all windows from main menu Window.
    • EXPECTED RESULT: No icon is displayed in the header of Window.
  1. Open opened but not activated window
    1. 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. 
 
  1. Open already activated window
    1. 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.
  1. Persistence of Window System - Files View - close
    1. 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. 
 
  1. Base name vs. Descriptive name
    1. 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 "selected file - Properties". 
 
  1. Close window - by close button in the header
    1. 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.
  1. Close window - by contextual menu
    1. 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.
  1. Close window - by main menu
    1. 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.
  1. Close window - by shortcut
    1. Open Runtime window from main menu (push Window | Runtime), if not already opened.
    2. Press shortcut for Close Window action (Ctrl+W).
    • EXPECTED RESULT: Runtime (and only Runtime) Window is closed.
  1. Maximize window - by contextual menu
    1. 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. 
 
  1. Maximize window - by main menu
    1. 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. 
 
  1. Maximize window - by shortcut
    1. 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. 
 
  1. Maximize window - by doubleclick on header
    1. 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. 
 
  1. Persistence of maximized window - restart
    1. 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. 
 
  1. Restore window - by contextual menu
    1. 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. 
 
  1. Restore window - by main menu
    1. 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. 
 
  1. Restore window - by shortcut
    1. 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. 
 
  1. Restore window - by doubleclick on header
    1. 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. 
 
  1. Check appearance of Window and contextual menu on Window header
    1. 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. 
 


Test suite: Document Window

Purpose:
Setup: Start IDE with clear userdir.


  1. Check name - modified
    1. 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).
  1. Check description - read-only
    1. Open some read-only java file (e.g. HelloWorld.java).
    • EXPECTED RESULT: Description displays read-only status. Description is displayed in a tooltip over
               document header and in the status line when Document Window gets selected. 
 
  1. Check Document Window icon
    1. 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. 
 
  1. Open the Document Window - java file
    1. 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.
  1. Open the Document Window - java file - already opened
    1. 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. 
 
  1. Open the Document Window - form file
    1. Open form file (e.g. HelloWorld_jframe.java).
    • EXPECTED RESULT: Editor is opened, it contains HelloWorld.java tab with selected Design editor.
  1. Open the Document Window - form file - already opened
    1. 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. 
 
  1. Close document window - by close button in the header
    1. 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.
  1. Close document window - by contextual menu
    1. 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.
  1. Close document window - by main menu
    1. 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.
  1. Close document window - by shortcut
    1. 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.
  1. Close All Documents - by contextual menu
    1. 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.
  1. Close All Documents - by main menu
    1. 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.
  1. Close All Documents - by shortcut
    1. Open java file (e.g. HelloWorld.java).
    2. Press shortcut for Close All Windows action (Ctrl+Shift+W).
    • EXPECTED RESULT: All (both HelloWorld_1 and HelloWorld_2) Document Windows are closed.
  1. Close All Documents - split - by contextual menu
    1. 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: Only HelloWorld_1 Document Window is closed.
  1. Close All Documents - split - by main menu
    1. 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: Only selected Document Window is closed.
  1. Close Other Documents - by contextual menu
    1. 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.
  1. Save document - by contextual menu
    1. 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. 
 
  1. Save document - by main menu
    1. 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. 
 
  1. Save document - by shortcut
    1. 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. 
 
  1. Save document - not modified
    1. 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. 
 
  1. Clone document window - by contextual menu
    1. 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.
  1. Clone document window - by main menu
    1. 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.
  1. Clone document window - not cloneable
    1. Open Welcome Screen (Help | Welcome Screen).
    • EXPECTED RESULT: Menu item Clone Window is disabled in Window main menu.
  1. Clone Window
    1. Open Files window (Window | Files).
    • EXPECTED RESULT: Menu item Clone Window is disabled in Window main menu.
  1. Maximize Document Window - by contextual menu
    1. 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. 
 
  1. Maximize Document Window - by main menu
    1. 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. 
 
  1. Maximize Document Window - by shortcut
    1. 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. 
 
  1. Maximize Document Window - by doubleclick on header
    1. Open java file (e.g. HelloWorld.java).
    2. 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. 
 
  1. Persistence of maximized Document Window - restart
    1. Open java file (e.g. HelloWorld.java).
    2. Doubleclick on header of Runtime 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. 
 
  1. Restore Document Window - by contextual menu
    1. Open java file (e.g. HelloWorld.java).
    2. Maximize Runtime 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. 
 
  1. Restore Document Window - by main menu
    1. Open java file (e.g. HelloWorld.java).
    2. Maximize Runtime 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. 
 
  1. Restore Document Window - by shortcut
    1. Open java file (e.g. HelloWorld.java).
    2. Maximize Runtime 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. 
 
  1. Restore Document Window - by doubleclick on header
    1. Open java file (e.g. HelloWorld.java).
    2. Maximize Runtime 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. 
 
  1. Check contextual menu on Document Window header
    1. Check contextual menu on Document Window headers.
    • EXPECTED RESULT: Document Window contextual menu is defined in UI specification Figures 8 and 9.


Test suite: Window Area

Purpose:
Setup: Start IDE with clear userdir.

  1. Window 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. 
 
  1. Attach Window - to the Window - left
    1. 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. 
 
  1. Attach Window - to the Window - right
    1. 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. 
 
  1. Attach Window - to the Window - top
    1. 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. 
 
  1. Attach Window - to the Window - bottom
    1. 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. 
 
  1. Attach Window - to the Window - as a new tab
    1. 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. 
 
  1. Attach Window - to the Window Area - right
    1. 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. 
 
  1. Attach Window - to the Window Area - top
    1. 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. 
 
  1. Attach Window - to the Window Area - bottom
    1. 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. 
 
  1. Attach Window - to the Document Area - left
    1. 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. 
 
  1. Attach Window - to the Document Area - right
    1. 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. 
 
  1. Attach Window - to the Document Area - top
    1. 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. 
 
  1. Attach Window - to the Document Area - bottom
    1. 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. 
 
  1. More windows in a split cell
    1. 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.
  1. More windows in a split cell - change selection
    1. 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.
  1. More windows in a split cell - close first window
    1. Open Files from Window menu.
    2. Open Projects from Window menu.
    3. Open Runtime from Window menu.
    4. Select (click on a header of) Files View.
    • EXPECTED RESULT: Files View is closed but Runtime and Projects Windows stay opened and Projects Window is selected.
  1. Maximized Split Cell
    1. 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. 
 
  1. Maximized Split Cell - restore
    1. 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. 
 
  1. Maximized Split Cell - Switch to document
    1. 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 | Documents... | 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. 
 
  1. Vertical Split Cell
    1. 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.
  1. Vertical Split Cell - resize
    1. 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. 
 
  1. Vertical Split Cell - persistence after closing
    1. 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. 
 
  1. Vertical Split Cell - persistence after closing and restart
    1. 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. 
 
  1. Horizontal Split Cell
    1. 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.
  1. Horizontal Split Cell - resize
    1. 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 Toolbar Area.
    • EXPECTED RESULT: Chain of horizontal split cells is visible. Only Files View is resized
               Projects Window holds the same size. 
 
  1. Horizontal Split Cell - persistence after closing
    1. 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 Toolbar Area.
    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. 
 
  1. Horizontal Split Cell - persistence after closing and restart
    1. 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 Toolbar Area.
    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.


  1. GUI editing window group
    1. Open some form file - HelloWorld.java
    • EXPECTED RESULT: One tab is added to Editor. Designer is visible.
               Designer toolbar contains two buttons Design and Code , Design is selected by default.
               Form Editor consists of Component Palette, Component Inspector,Properties and Form Designer.
               Check titles and position of views. 
 
  1. GUI editing window group - closing group
    1. Open some form file - HelloWorld.java
    2. Close opened form file.
    • EXPECTED RESULT: Palette, Inspector, Properties, Source editor and Form designer are closed.
  1. GUI editing window group - change layout - persistence
    1. 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: Two tabs are added to Editor, first is source code and second form editor.
               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. 
 
  1. Debugging window group
    1. 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. 
 
  1. Debugging window group - change layout - persistence
    1. 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 Run | Finish Debugger Session.
    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.


  1. Documents dialog - check layout
    1. Open some file.
    2. Push main menu Window | Documents...
    • EXPECTED RESULT: Document non-modal dialogs is opened as it's specified in UI specification. Check components and mnemonics.
  1. Documents dialog - list of documents
    1. 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. 
 
  1. Documents dialog - search for popup
    1. 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. 
 
  1. Documents dialog - switch to document
    1. Open files in defined order : Class_A.java Class_C.java Class_B.java.
               (Class_B document is active and has focus)
    1. Open Documents window.
    2. Select item Class_A from the list of documents
    3. Push button Switch to Document
    • EXPECTED RESULT: "Class_A" document window is activated and Document dialog is still opened.
  1. Documents dialog - close document
    1. 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.
  1. Documents dialog - close two documents
    1. 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.
  1. Documents dialog - save document
    1. 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.
  1. Documents dialog - save two documents
    1. 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.
  1. Documents dialog - no document selected
    1. Open files in defined order : Class_A.java Class_C.java Class_B.java.
               (Class_B document is active and has focus)
    1. Open Documents window.
    2. Let no one item selected
    • EXPECTED RESULT: Buttons Switch to document, Close Document and Save Document are disabled.
  1. Documents dialog - close modified document
    1. 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. 
 
  1. Documents dialog - close two modified documents
    1. Open files in defined order : Class_C.java Class_B.java Class_A.java.
    2. Modify file Class_B.
    3. Modify file Class_C.
    4. Open Documents window.
    5. Select item Class_B and Class_C from the list of documents
    6. 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. 
 
  1. Documents quick list - one document
    1. 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. 
 
  1. Documents quick list - many documents
    1. 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. 
 
  1. Documents quick list - switch to the last one
    1. Open ten files.
    2. Select first document tab.
    3. Push Quick List button.
    4. From the quick list menu select last menu item.
    • 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. 
 
  1. Documents quick list - switch to the first one
    1. Open ten files.
    2. Select last document tab.
    3. Push Quick List button.
    4. From the quick list menu select first menu item.
    • 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


  1. Hide docked window - click on icon
    1. Click on Minimize Window 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.
  1. Hide docked window - by contextual menu
    1. Push Minimize Window 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.
  1. Hide window to the left
    1. Click on Minimize Window 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.
  1. Hide window to the right
    1. DnD Files View to the right side of the Document area.
    2. Click on Minimize Window 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.
  1. Hide window to the bottom
    1. DnD Files View to the bottom of the Document area.
    2. Click on Minimize Window 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.
  1. Hide window docked in the top
    1. DnD Files View to the top of the Document area.
    2. Click on Minimize Window 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.
  1. Hide window to the left - edge bar exists
    1. Hide Projects View.
    2. Click on Minimize Window 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.
  1. Hide window to the right - edge bar exists
    1. 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 Window 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.
  1. Hide window to the bottom - edge bar exists
    1. 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 Window 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.
  1. Slide window - move mouse over button
    1. 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.
  1. Slide window - click on button
    1. 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.
  1. Slide window - by shortcut
    1. 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.
  1. Dock window - click on icon
    1. 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.
  1. Dock window - by contextual menu over button
    1. Hide Projects View.
    2. Uncheck Minimize Window 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.
  1. Dock window - by contextual menu over title bar
    1. Hide Projects View.
    2. Move mouse over Projects toggle button on the left edge bar.
    3. Uncheck Minimize Window 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.
  1. Minimize window from mouse over sliding mode
    1. 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.
  1. Minimize window from mouse click sliding mode
    1. 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.
  1. Minimize window from sliding mode by shortcut
    1. 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.
  1. Check persistence - hide, close, open
    1. 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.
  1. Check persistence - hide, close, restart, open
    1. 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.
  1. Check persistence - hide, restart, open
    1. 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.
  1. Close window in sliding mode
    1. 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.
  1. Close window in Minimized mode
    1. 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.
Setup: Start IDE with clear userdir.


  1. Scrollable tabbed pane - row of tabs
    1. 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.  
 
  1. Scrollable tabbed pane - view of tabs
    1. 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.  
 
  1. Scrollable tabbed pane - tab width
    1. 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).
    • {{result|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).
 
  1. Scrollable tabbed pane - layout state - all tabs visible
    1. 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.  
 
  1. Scrollable tabbed pane - layout state - tabs hidden on the right side
    1. 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 enabled and right scroll button is disabled.  
 
  1. Scrollable tabbed pane - layout state - tabs hidden on the left side
    1. 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 disabled and right scroll button is enabled.  
 
  1. Scrollable tabbed pane - layout state - tabs hidden on both sides
    1. 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. 
 
  1. Scrollable tabbed pane - activating fully visible tab
    1. 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.
  1. Scrollable tabbed pane - activating partially visible tab
    1. 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.
  1. Scrollable tabbed pane - activating hidden tab
    1. 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.
  1. Scrollable tabbed pane - adding - rightmost tab partially visible
    1. 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. 
 
  1. Scrollable tabbed pane - adding tab - rightmost tab hidden
    1. 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. 
 
  1. Scrollable tabbed pane - removing tab - fully visible tab
    1. 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). 
               The right partially visible tab follows the beginning and end of label rule after moving the tabs. 
               If this procedure would make the last tab fully visible than the last tab would be aligned with the right edge of tabs view,
               what in turn can require moving all tabs to the right, making sure that the left partially visible tab follows the beginning and end of label rule. 
               Moving all the tabs to the right can make the first tab fully visible, 
               what means that this tab should be aligned with the left edge of the view, 
               what can require moving the tabs to the left. 
 
  1. Scrollable 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 (push close button on the tab).
    • 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. 
 
  1. Scrollable 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 (the first) tab (push close button on the tab).
    • EXPECTED RESULT: A tab at the right of removing tab (if there is such) is made the first tab and the tabs row moves to the left.
  1. Scrollable tabbed pane - removing tab - hidden tab
    1. 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.
  1. Scrollable tabbed pane - resizing (tailing off) - active tab is the first one
    1. 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. 
 
  1. Scrollable tabbed pane - resizing (tailing off) - active tab is the second one
    1. 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.
 
  1. Scrollable tabbed pane - resizing (tailing off) - active tab is one before last
    1. 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. 
 
  1. Scrollable tabbed pane - resizing (tailing off) - active tab is the last one
    1. 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.
               The tab row moves and the active tab is made the rightmost fully visible tab.
               Shrinking the tabbed pane keeps the leftmost partially/fully visible tab the same.
               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. 
 
  1. Scrollable tabbed pane - resizing (tailing off) - active tab is new one opened
    1. 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. 
 
  1. Scrollable tabbed pane - resizing (enlarging) - active tab is the first one - the rightmost partially visible
    1. 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 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. 
 
  1. Scrollable tabbed pane - resizing (enlarging) - active tab is the second one - the rightmost partially visible
    1. 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. 
 
  1. Scrollable tabbed pane - resizing (enlarging) - active tab is the last one - the leftmost partially visible
    1. 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. 
 
  1. Scrollable tabbed pane - resizing (enlarging) - active tab is the one before last one - the leftmost partially visible
    1. 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. 
 
  1. Scrollable tabbed pane - scrolling to the left
    1. 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.  
 
  1. Scrollable tabbed pane - scrolling to the right
    1. 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: Windows System vs. L&F

Purpose: Promotion B is the first verion which supports native Look and Feel. The scope of this spec is to test and check UI on all supported Look and Feels.
Setup: Start IDE with clear userdir.


  1. Check IDE on The Metal Look and Feel
    1. Run IDE on the unix based operating system.
    • EXPECTED RESULT: Check the look of IDE with UI specification on the page
               http://ui.netbeans.org/docs/ui/ws/ws_visual_spec_metal.html 
 
  1. Check IDE on The GTK Look and Feel
    1. Run IDE on the unix based operating system.
    • EXPECTED RESULT: Check the look of IDE.
  1. Check IDE on The Windows Classic Look and Feel
    1. Run IDE on the unix based operating system.
    • EXPECTED RESULT: Check the look of IDE with UI specification on the page
               http://ui.netbeans.org/docs/ui/ws/ws_visual_spec_classic.html 
 
  1. Check IDE on The Windows XP Look and Feel
    1. Run IDE on the unix based operating system.
    • EXPECTED RESULT: Check the look of IDE with UI specification on the page
               http://ui.netbeans.org/docs/ui/ws/XP_style.html 
 
  1. Check IDE on The Windows Vista Look and Feel
    1. Run IDE on the unix based operating system.
    • EXPECTED RESULT: Check the look of IDE.



Test suite: Miscellaneous tests

Purpose:
Setup: Start IDE with clear userdir.


  1. Remove externally file opened in editor before start again.
    1. Open some file in Editor window.
    2. Shut-down IDE.
    3. Delete file from disk.
    4. Restart IDE.
    • EXPECTED RESULT: Only message with impossibility to deserialize top component is logged to a log file.
  1. Windows position and order should be the same before and after restart IDE.
    1. Open form file and maximize Form.
    2. Restart IDE
    • EXPECTED RESULT: IDE comes up with maximized Form shown the same constraints as was closed.
  1. Invoke and close main menu by keyboard - F10
    1. Open some file in editor.
    2. Select Editor window.
    3. Open menu by keyboard - press F10.
    4. Close menu by keyboard - press Esc.
    • EXPECTED RESULT: On F10 push main menu File arise and on Esc it is closed.



Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo