TS 65 WindowSystem

Window system Test Specification for NetBeans 6.5

Author: Petr Chytil & Lukáš Hasík
Edited and updated by: Tomáš Tököly
Last update: 3.3.2011
Introduction:
UI specifications:

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.
  2. Persistence of startup windows layout
    1. Run IDE.
    2. Restart IDE.
  3. Menu Window
    1. Activate installed plugins (main menu Tools | Plugins, card Installed, select all visible plugins, click on Activate, confirm Activate once again, wait, than click on Finish and Close)
    2. Check consistency of main menu Window.
  4. Menu View
    1. Check consistency of main menu View.
    • EXPECTED RESULT: View menu and submenus should be defined in UI specification, but there could be obsolete information.
      Actual list of menu items you should be able find here:
      main menu View and submenus Editors, Code Folds and Toolbars. There should be list of All Windows. But submenus Editors and Code Folds may be unactive. You can activate Editors by opening of some form file and Code Fold e.g. by opening of some java file.


Test suite: Window

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

  1. Menu Access, window icons
    1. Try open all windows from main menu Window.
    2. Close all opened windows.
    3. Try open all windows from main menu Window by shortcuts.
    • EXPECTED RESULT: In both cases, all windows are opened. There is only one instance of each window. Each window has its own item in menu Window. No icon is displayed in the header of Window.
  2. Open opened but not activated window
    1. Open a window (e.g. Files).
    2. Open another window (e.g. Services - 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 is active (has focus), covers Services window and there is only one instance of Files in the IDE.
  3. Open already activated window
    1. Open a window (e.g. Files - Files is active and selected).
    2. Push from main menu Window | Files.
    • EXPECTED RESULT: Files is still opened and active (has focus) and there is only one instance of Files in the IDE.
  4. Persistence of Window System - Files - close
    1. Open Files 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).
    4. Open Files (by pushing main menu Window | Files).
    • EXPECTED RESULT: Files 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.
  5. Base name vs. Descriptive name
    1. Open Properties Window from menu (push Window | Properties).
    2. Select some node in Files (you must open or create some project first).
    • 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".
  6. Close window - 4 ways how to do it
    1. Open Services window from main menu (push Window | Services), if not already opened.
    2. By close button: push close button in the Services window header.
    3. By contextual menu: open Service window again and from contextual menu of Window push Close Window.
    4. By main menu: open Service window and from main menu push Window | Close Window.
    5. By shortcut: open Service window one last time. Press shortcut for Close Window action (Ctrl+W).
    • EXPECTED RESULT: Each time when you perform closing, the Services (and only Services) window is closed.
  7. Maximize and Restore window - 4 ways how to do it
    1. Open Services window from main menu (push Window | Services), if not already opened.
    2. By double click on header: doubleclick on header of Services window. Restore the window by doubleclick on header once again. Check result.
    3. By contextual menu: from contextual menu of window push Maximize Window. And from contextual menu of Window push Restore Window.
    4. By main menu: from main menu push Window | Maximize Window. And from main menu push Window | Restore Window.
    5. By shortcut: press shortcut for Maximize Window action (Shift+Escape). Restore the window by pressing shortcut (Shift+Escape) once again.
    • EXPECTED RESULT: Each time, when you perform maximizing, the Services window (whole window consists of Files and Services tab) is maximized and Services 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. And each time, when you perform restoring, the Services window (whole window consists of Files and Services tab) is restored and Services 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.
  8. Persistence of maximized window - restart
    1. Open Services window from main menu (push Window | Services), if not already opened.
    2. Doubleclick on header of Services window.
    3. Restart IDE.
    • EXPECTED RESULT: Services window (whole window consists of Files and Services tab) is maximized and Services 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.
  9. 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: Window System Effects

Purpose: Check the functionality of the effect available in window system. There are effects for drag and drop of windows, effect for floating windows and snapping of floating windows. The effect's setup can be changed in Options.
Setup: Start IDE with clear userdir.
Comment: All the testcase that don't state anything else are using the default level of effects.

  1. Default Level of WS Effects
    1. Open main menu Tools | Options > Miscellaneous > Appearance panel.
    • EXPECTED RESULT: All checkboxes in the panel are by default switched on.
  2. Default Level of WS Effects in Solaris
    1. Open main menu Tools | Options > Miscellaneous > Appearance panel.
    • EXPECTED RESULT: Drag window image is by default turned off, other settings are turned on.
  3. D'n'd a Window/Tab/Window group
    1. Drag Projects tab
    • Comment: Transparency works on Unix OS only when composite window manager is in use. That means Compiz, Beryl, visual effects turned on in Ubuntu etc. Otherwise are dragged windows opaque.
    • EXPECTED RESULT: The dragged window is showing its content in "ghost image" when you are dragging it. The ghost image is half transparent. The ghost image follows the cursor when you are dragging the window to new area.
  4. D'n'd a large Window/Tab/Window group
    1. Drag a large window - e.g. a document tab.
    • EXPECTED RESULT: The dragged window is showing its content in "ghost image" when you are dragging it. The ghost image is rescaled to maximized ghost image size (cca 200x300 px). The ghost image is half transparent. The ghost image follows the cursor when you are dragging the window to new area.
  5. D'n'd a window to restricted area
    1. Drag Projects tab to document area.
    2. Drop the window to the restricted area.
    • EXPECTED RESULT: The dragged ghost image is darken to visually notify the user that drop is not allowed. The dropped ghost image moves back to origin location with a visual effect (flying).
  6. Undock a window
    1. Select Undock window action from Files window tab contextual menu to create a floating window.
    2. Give focus to editor window.
    • EXPECTED RESULT: The Files floating window becomes transparent in a few seconds.
  7. Undock a document window
    1. Open some file in editor.
    2. Select Undock window action from editor window tab contextual menu to create a floating window.
    3. Give focus to IDE main window.
    • EXPECTED RESULT: The editor floating window remains opaque and does not become transparent.
  8. Change D'n'D effects and Floating windows settings
    • Comment: All settings used in this usecase you can find in main menu Tools | Options > Miscellaneous > Appearance panel.
    1. Turn off transparent drag window image.
    2. D'n'D Files window and check if it stays opaque during D'n'D.
    3. Turn off drag window image.
    4. D'n'D Files window and check, that there is no image with window content during D'n'D.
    5. Turn off transparent floating window.
    6. Undock Files, give focus on Editor and check if floating window stay opaque.
    • EXPECTED RESULT: The effects change correctly.
  9. Change Snapping settings
    • Comment: All settings used in this usecase you can find in main menu Tools | Options > Miscellaneous > Appearance panel.
    1. Turn off snap to screen edges.
    2. Undock Favorites window and try to snap it to edges of the screen.
    3. Turn off snapping of floating windows.
    4. Undock Favorites window and Projects window and check if snapping works between them.
    • Comment: In Unix OS (Linux) you must turn off snapping of window directly in OS (e.g. in CompizConfig Settings Manager), otherwise the OS settings overrides the settings of IDE.
    • EXPECTED RESULT: The effects change correctly.


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 its font is bold (modified status).
  2. 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. Font of title of selected Document Window is italic.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. 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: All Document Windows are closed.
  17. 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.
  18. Close Other Documents - split - by contextual menu
    1. Open 3 java files (e.g. HelloWorld_1.java, HelloWorld_2.java, HelloWorld_3.java).
    2. DnD HelloWorld_1 window to the bottom of Document Area.
    3. From contextual menu of HelloWorld_2.java push Close Other Windows.
    • EXPECTED RESULT: HelloWorld_3.java Document Window is closed, HelloWorld_2.java and HelloWorld_1.java stay opened.
  19. Close Other Documents - split - by main menu
    1. Open 3 java files (e.g. HelloWorld_1.java, HelloWorld_2.java, HelloWorld_3.java).
    2. DnD HelloWorld_1 window to the bottom of Document Area.
    3. From main menu push Close Other Windows.
    • EXPECTED RESULT: HelloWorld_2.java and HelloWorld_3.java Document Windows are closed only HelloWorld_1.java stays opened.
  20. 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 fonts is bold as modified flag, after HelloWorld (and only HelloWorld) document is saved, fonts change to normal (no more bold).
  21. 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 fonts is bold as modified flag, after HelloWorld (and only HelloWorld) document is saved, fonts change to normal (no more bold).
  22. 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 fonts is bold as modified flag, after HelloWorld (and only HelloWorld) document is saved, fonts change to normal (no more bold).
  23. 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.
  24. Clone document window - by contextual menu
    1. Open java file (e.g. HelloWorld.java).
    2. From contextual menu of Window push Clone Document.
    • EXPECTED RESULT: HelloWorld as original and HelloWorld as clone(new tab in Editor Area) are opened.
  25. Clone document window - by main menu
    1. Open java file (e.g. HelloWorld.java).
    2. From main menu push Window | Clone Document.
    • EXPECTED RESULT: HelloWorld as original and HelloWorld as clone(new tab in Editor Area) are opened.
  26. Clone document window - not cloneable
    1. Open Start Page (Help | Start Page).
    • EXPECTED RESULT: Menu item Clone Document is disabled in Window main menu.
  27. Clone Window
    1. Open Files window (Window | Files).
    • EXPECTED RESULT: Menu item Clone Document is disabled in Window main menu.
  28. 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.
  29. 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.
  30. 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.
  31. Maximize Document Window - by doubleclick on header
    1. Open java file (e.g. HelloWorld.java).
    2. Doubleclick on header of HelloWorld.java.
    • 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.
  32. Persistence of maximized Document Window - restart
    1. Open java file (e.g. HelloWorld.java).
    2. Doubleclick on header of HelloWorld.java.
    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.
  33. Restore Document Window - by contextual menu
    1. Open java file (e.g. HelloWorld.java).
    2. Maximize HelloWorld.java (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.
  34. Restore Document Window - by main menu
    1. Open java file (e.g. HelloWorld.java).
    2. Maximize HelloWorld.java (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.
  35. Restore Document Window - by shortcut
    1. Open java file (e.g. HelloWorld.java).
    2. Maximize HelloWorld.java (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.
  36. Restore Document Window - by doubleclick on header
    1. Open java file (e.g. HelloWorld.java).
    2. Maximize HelloWorld.java (by shortcut).
    3. Doubleclick on header of Services 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.
  37. Select next document tab and select previous document tab actions
    1. Open three or more files.
    2. Give focus to editor.
    3. Press CTRL+PGDOWN to select next document tab.
    4. Press CTRL+PGUP to select previous document tab.
    • EXPECTED RESULT: Both actions work as expected - next/previous document tab is selected when shortcut is pressed.
  38. List of actually opened documents
    1. Open three or more files.
    2. Give focus to editor.
    3. Press and hold CTRL and press TAB few times while still holding CTRL.
    4. Press and hold CTRL+SHIFT and press TAB few times while still holding CTRL+SHIFT.
    • EXPECTED RESULT: List of actually opened documents is shown in the middle of the screen. CTRL+TAB traverses downwards the list, CTRL+SHIFT+TAB traverses upwards. Items in the list are not sorted alphabetically, but actually active document is always first, previously active document is second etc.


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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. Attach Window - to the Window Area - right
    1. Open Files View from Window menu.
    2. Open Services from Window menu.
    3. Drag Services Window and Drop it to the right of Window Area.
    • EXPECTED RESULT: Services Window is moved to the new location. There is Files View on the left and Services Window on the right of Window Area, between windows are splitters with Document Area.
  8. Attach Window - to the Window Area - top
    1. Open Files View from Window menu.
    2. Open Services from Window menu.
    3. Drag Services Window and Drop it to the top of Window Area.
    • EXPECTED RESULT: Services Window is moved to the new location. There is Files View on the left and Services Window on the top of Window Area, between windows is splitter.
  9. Attach Window - to the Window Area - bottom
    1. Open Files View from Window menu.
    2. Open Services from Window menu.
    3. Drag Services Window and Drop it to the bottom of Window Area.
    • EXPECTED RESULT: Services Window is moved to the new location. There is Files View on the left and Services Window on the bottom of Window Area, between windows is splitter.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. More windows in a split cell
    1. Open Files from Window menu.
    2. Open Projects from Window menu.
    3. Open Services from Window menu.
    • EXPECTED RESULT: All three windows are shown at the one split cell, top most and Services Window is selected.
  15. More windows in a split cell - change selection
    1. Open Files from Window menu.
    2. Open Projects from Window menu.
    3. Open Services 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.
  16. More windows in a split cell - close first window
    1. Open Files from Window menu.
    2. Open Projects from Window menu.
    3. Open Services from Window menu.
    4. Select (click on a header of) Files View.
    • EXPECTED RESULT: Files View is closed but Services and Projects Windows stay opened and Projects Window is selected.
  17. 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.
  18. 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.
  19. 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.
  20. 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.
  21. 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.
  22. 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.
  23. 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.
  24. 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.
  25. 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.
  26. 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.
  27. 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.
  28. Select next window tab and select previous window tab actions
    1. Open three or more windows in one split cells (one window content is visible, others are present only as tabs).
    2. Press CTRL+PGDOWN to select next window tab in split cell.
    3. Press CTRL+PGUP to select previous window tab in split cell.
    • EXPECTED RESULT: Both actions work as expected - next/previous window tab in split cell is selected when shortcut is pressed.


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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  2. 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.
  3. 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.
  4. 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)
    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 still opened.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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)
    2. Open Documents window.
    3. Let no one item selected
    • EXPECTED RESULT: Buttons Switch to document, Close Document and Save Document are disabled.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. 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.
  17. 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.
  18. 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.
  19. 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.
  20. 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.
  21. 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.
  22. 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.
  23. 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.
  24. Transparency of sliding window
    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.
    4. Right click the title bar and choose Transparent Window
    • EXPECTED RESULT: Projects View is transparent. You can see through the window the windows that are under it.
  25. Transparent Window shortcut
    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.
    4. Use the Transparent Window shortcut - CTRL+NumPad-0
    • EXPECTED RESULT: Projects View is transparent. You can see through the window the windows that are under it.
  26. Transparency of sliding window isn't persistent
    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.
    4. Right click the title bar and choose Transparent Window
    5. Click the Project window title once more
    • EXPECTED RESULT: Projects View isn't transparent. The transparency of window isn't persistent.


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.
  2. 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.
  3. 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).
    • 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).
  4. 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.
  5. 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 disabled and right scroll button is enabled.
  6. 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 enabled and right scroll button is disabled.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. 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.
  17. 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.
  18. 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 second one 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.
  19. 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.
  20. 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.
  21. 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.
  22. 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.
  23. 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.
  24. 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.
  25. 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.
  26. 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.
  27. 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: Floating Windows

Purpose:
Setup: Start IDE with clear userdir. Have default settings of window system effects.

  1. Create floating window
    1. Drag a window/tab outside of the main window area
    • EXPECTED RESULT: New window is created. The window is called floating window. This behavior completely replaces old SDI mode of IDE.
  2. Half transparent non focused floating windows
    1. Let a floating window to lost the focus
    • EXPECTED RESULT: After some time when it loose focus the window becomes half transparent
  3. Focused half transparent non focused floating windows
    1. Give focus to transparent floating window
    • EXPECTED RESULT: Focus floating window is non-transparent again. It becomes transparent when it lost focus again.
  4. Window snapping of two floating windows
    1. Have two floating windows
    2. D'n'd one window close to side of the other one
    • EXPECTED RESULT: it automatically snaps to the sides of other window.
  5. Window snapping to screen edges
    1. Have a floating window
    2. Dnd the floating window to side of the edge of the screen.
    • EXPECTED RESULT: It automatically snaps to the screen edge.


Test suite: Windows System vs. L&F

Purpose: The scope of this spec is to test and check UI on all supported Look and Feels.
Setup: Start IDE with clear userdir.
Note: UI specifications are now pretty outdated. Just check, that UI is not broken somehow.

  1. Check IDE on The Metal Look and Feel
    1. Run IDE on the unix based operating system ./netbeans --laf Metal
  2. Check IDE on The GTK Look and Feel
    1. Run IDE on the unix based operating system with GNOME desktop - the GTK L&F should be loaded by default.
    2. On other window managers run ./netbeans --laf GTK
    • EXPECTED RESULT: Check the look of IDE.
  3. Check IDE on The Windows Classic Look and Feel
    1. Run IDE on Windows XP with classic theme.
  4. Check IDE on The Windows XP Look and Feel
    1. Run IDE on Windows XP with Windows XP theme.
  5. Check IDE on The Windows Vista Look and Feel
    1. Run IDE on Windows Vista.
    • EXPECTED RESULT: Check the look of IDE.
  6. Check IDE on The Windows Vista Look and Feel with Aero
    1. Run IDE on Windows Vista with Aero.
    • EXPECTED RESULT: Check the look of IDE.
  7. Check IDE on Nimbus Look and Feel
    1. Use JDK 1.6.0 update 10 for this test.
    2. Run IDE on the unix based operating system with ./netbeans --laf Nimbus
    • EXPECTED RESULT: Check the correctness of IDE behavior -> no exceptions, all windows look normally, all items are displayed, etc.


Test suite: Memory meter

Purpose: Check that the memory meter displays properly.
Setup: Start IDE with clear userdir.
Note: The Memory meter should not be enabled by default in any mode (debugging, profiling..). It must be enabled via View/Toolbars/Memory.
Note 2: In daily builds could be enabled by default.

  1. GC calling
    1. Open many projests to load the processor/memory
    2. Click on memory meter tool
    • EXPECTED RESULT: The numbers in the memory meter will get lower.
  2. Show Text
    1. Invoke popup menu on the memory meter
    2. Toggle item Show Text
    • EXPECTED RESULT: The numbers are visible/invisible according to the toggle switch status. Try to toggle it couple of times.
  3. Drop Shadow
    1. Invoke popup menu on the memory meter
    2. Toggle item Drop Shadow
    • EXPECTED RESULT: The shadow appears/disappears according to the toggle switch status. Try to toggle it couple of times.
  4. Overlay Grid
    1. Invoke popup menu on the memory meter
    2. Toggle item Overlay Grid
    • EXPECTED RESULT: The grid overlay is according to the toggle switch. Try to toggle it couple of times.


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.
  2. 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.
  3. 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.
  4. Multiview - menu switching to Source
    1. Open some form file.
    2. Select main menu View|Editors|Source.
    • EXPECTED RESULT: Source of the form file is the current opened file.
  5. Multiview - menu switching to Design
    1. Select main menu View|Editors|Design.
    • EXPECTED RESULT: Form design of the form file is the current opened file.
  6. Multiview - switching to Source
    1. Push the Source button at the top-left corner of the editor pane.
    • EXPECTED RESULT: Source of the form file is the current opened file.
  7. Multiview - switching to Design
    1. Push the Design button at the top-left corner of the editor pane.
    • EXPECTED RESULT: Form design of the form file is the current opened file.
  8. Open in System action (in JDK6+)
    1. Create new text file.
    2. In Projects view select the created text file and invoke popup menu
    3. Select menu item Open in System
    • EXPECTED RESULT: The file opens in the system editor outside of IDE. The action Open in System should appear only on JDK6+ (test on JDK<6 that the action is not available).
  9. Check Toolbar actions
    1. Go to main menu View|Toolbars
    2. Switch the selection of checkbox by each of items in submenu subsequently
    3. Check that the popup menu invoked on toolbar contains checkboxes in proper status
    4. Select main menu View|Toolbars|Small Toolbar Icons - the toolbar icons become small
    5. Select main menu View|Toolbars|Reset Toolbars
    • EXPECTED RESULT: Toolbars are showing/hiding accordingly when a checkbox is switched. After the Reset Toolbars action is invoked the Toolbars appear in its default state and icons have the default size.


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