TS 74 BrowserIntegration

Browser integration Test Specification for HTML/JavaScript projects NetBeans 7.4

Author: Vladimir Riha
Last update: 26th June 2013

Mac OS specific details: To find Options on MacOS, go to Netbeans menu -> Preferences

Contents


Test suite: Chrome extension

  1. Running page without extension
    1. Have Chrome without IDE extension
    2. Run some file in Chrome with IDE integration
    • EXPECTED RESULT: NetBeans shows dialog saying you have to install the extension and gives you information on how to do it
  2. Running page with extension
    1. Have Chrome with IDE extension
    2. Run some file in Chrome with IDE integration
    • EXPECTED RESULT: Page is opened in Chrome, you can see extension's icon in Omnibar. Browser DOM window is populated
  3. Extension settings
    1. Have Chrome with IDE extension
    2. Run some file in Chrome with IDE integration
    3. Click on NetBeans icon in Omnibar
    4. File:Ts73_browser_menu.png
    • EXPECTED RESULT: Menu is opened, you can adjust window size. If you click on Customize you can add custom size and modify visibility settings. If you check the Inspect in NetBeans Mode, inspect mode is turned on
  4. Running page with disabled extension
    1. Have Chrome with IDE extension, go to Chrome's Settings -> Extensions and disable IDE extension
    2. Run some file in Chrome with IDE integration
    • EXPECTED RESULT: IDE shows warning message that you have to enable the extension (see issue 217004)
  5. Start Inspect Mode from contextual menu
    1. Have Chrome with IDE extension, go to Chrome's Settings -> Extensions and disable IDE extension
    2. Run some file in Chrome with IDE integration
    3. Invoke right click contextual menu and select Start Inspect in NetBeans Mode
    • EXPECTED RESULT: Inspect Mode is enabled, you can select HTML elements from within browser. If you invoke contextual menu again, you can use Stop Inspect in NetBeans Mode to disable it. Verify also shortcut Ctrl+Shift+S

Test Suite: Embedded browser

  1. Resizing visible window size
    1. Run some file in Embedded browser
    2. Use icons in browser's control panel to resize viewport
    3. Select Customize and define your own window size and modify which sizes are displayed in toolbar
    4. Start Select Mode using the last button
    • EXPECTED RESULT: Everything works
  2. Inspect mode from context menu
    1. Run some file in Embedded browser
    2. Right click in browser on page
    3. Select "Inspect"
    • EXPECTED RESULT: Inspect mode is on, checkbox button is checked. Verify also shortcut Ctrl+Shift+S
  3. Dump document action
    1. Run some file in Embedded browser
    2. Right click in browser on page
    3. Select "Dump document"
    • EXPECTED RESULT: Output window with content of the page is opened
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