STS 70 MainWindow

Main Window Sanity Test Specification for NetBeans 7.0

Author: Petr Chytil
Last update: 3.12.2008
Introduction: Main window of NetBeans consists of two main parts. First part is menu and menu items, second are toolbars. Both - menu and toolbars - are customizable by user. For customization use Tools -> Options and View -> Toolbars.

Contents


Test suite: Main Menus

Purpose: The UI is specified in UI specification and in so called permanent UI specification.
Setup: Start IDE with clear userdir.

  1. Icons
    1. Go to main menu.
    2. Try to open some menus.
    • EXPECTED RESULT: Only items representd actions shown also in toolbars have icons.
  1. Mnemonic Keys
    1. Go to main menu.
    2. Try to open menus and invoke actions only by mnemonic keys.
    • EXPECTED RESULT: Appropriate menu is opened or action invoked. Correct letter is underlined in menu.
               There are no duplicates of mnemonic key in one menu or submenu. 
 
  1. Check Mnemonic
    1. Check all default menus in Option window.
    • EXPECTED RESULT: There is "&" in front of mnemonic letter in menu.


Test suite: Main Toolbars

Purpose: The scope of this spec is not to test a complete toolbar management. This spec defines only tests of the default actions in default toolbars, default toolbar configurations and ways how the user access' the currently existing toolbar management menu items.
Setup: Start IDE with clear userdir.


  1. Change configuration - persistence
    1. Push from main menu View | Toolbars
    2. Enable Versioning toolbar and disable Debug toolbar
    3. Push from main menu View | Toolbars | Small Toolbar icons
    4. Restart the IDE.
    • EXPECTED RESULT: Check persistence between popup menu over toolbars and main menu View
  1. Tooltip and contents
    1. Hold mouse over dragging area of each toolbar.
    • EXPECTED RESULT: Tooltip for each toolbar is shown and content of each toolbar is right and components are enabled and disabled correctly.
  1. Toolbars dragging
    1. Try to drag and move toolbars - e.g. change order of toolbars, place them in more line...
    2. Restart IDE.
    • EXPECTED RESULT: Check the new positions of toolbars.
  1. Disable all toolbars
    1. Push from main menu View | Toolbars
    2. Disable all toolbars in menu.
    • EXPECTED RESULT: All toolbars disappeared.
  1. Enable all toolbars
    1. Push from main menu View | Toolbars
    2. Enable all toolbars in menu.
    • EXPECTED RESULT: All toolbars appeared.
  1. Reset toolbars - Contextual menu
    1. Enable/disable some toolbars in menu.
    2. Push from toolbar contextual menu Reset Toolbars
    • EXPECTED RESULT: Toolbars are in default configuration.


Test suite: Customize Toolbars

Purpose: Test Customize Toolbars dialog and it's actions.
Setup: Start IDE with clear userdir.

  1. Customize Toolbars dialog
    1. Push from main menu View | Toolbars | Customize...
    2. Close the dialog
    3. Push from contextual menu of toolbar area Customize...
    4. Close the dialog
    • EXPECTED RESULT: The Toolbars dialog is being correctly displayed in both cases.
  1. D'n'D icon to toolbar
    1. Open Customize Toolbars dialog
    2. Drag Start Page icon from Help section and drop it to the end of the File toolbar.
    3. Close Customize Toolbars dialog
    • EXPECTED RESULT: The Start Page icon is on the toolbars and works properly.
  1. Create new toolbar
    1. Open Customize Toolbars dialog
    2. Push New Toolbar... button
    3. Enter name of new toolbar into the New Toolbar dialog (e.g. MyToolbar).
    4. D'n'D some icon to the newly created toolbar (e.g. Help icon from Help section).
    • EXPECTED RESULT: The new toolbar is being displayed in the toolbar area and contains the icon from the step 4.


Test suite: Main Window

Purpose: Test Main Window actions.
Setup: Start IDE with clear userdir.

  1. Toggle full screen from main menu
    1. Push from main menu View > Full Screen to enable Full Screen mode.
    2. Push from main menu View > Full Screen again to disable it.
    • EXPECTED RESULT: IDE goes to Full Screen mode, covers whole screen, window manager decorations and IDE toolbars disappears. Some system panels are displayed even when Full Screen mode is enabled (e.g. on OS X). This is OS specific behavior. Check, that everything goes to normal, when Full Screen mode is disabled.


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