TS 72 gaps

(Difference between revisions)
Line 26: Line 26:
# {{testcase|Reenable gaps visualization}}
# {{testcase|Reenable gaps visualization}}
 +
##In main menu select: Tools -> Options
 +
##In Options dilaog select Java category nad GUI Builder tab.
 +
##Enable "Visualize Additional Layout Information" checkbox
 +
## OK
 +
## Click on JFrame.
 +
#* {{result|EXPECTED RESULT:The gaps are visualizated again.  }}
 +
 +
====Test suite: Enable and Disable visualization====
 +
Purpose:This is test of checkbox, that turns on/off the visualization of gaps.<br>
 +
Setup: Start IDE with clear userdir. Create new project, Java Application (e.g. MyApplication).In myapplication packege create a new JFrame Form (e.g. MyForm).
 +
 +
# {{testcase|Basic visualization}}
 +
##Add a JButton into JFrame
 +
## [[File:Gaps1.jpg]]
 +
#* {{result|EXPECTED RESULT: Gaps are visualizated. See previous screenshot. }}
 +
 +
# {{testcase|Disable visualzition in options dialog}}
 +
##In main menu select: Tools -> Options
 +
##In Options dilaog select Java category nad GUI Builder tab.
 +
##Disable "Visualize Additional Layout Information" checkbox
 +
## OK
 +
#* {{result|EXPECTED RESULT: Gaps visilazation disappear. }}
 +
 +
 +
# {{testcase|Visualization of correct gaps}}
##In main menu select: Tools -> Options
##In main menu select: Tools -> Options
##In Options dilaog select Java category nad GUI Builder tab.
##In Options dilaog select Java category nad GUI Builder tab.

Revision as of 08:38, 16 August 2012

Form Editor - Gaps Visualization Test Specification

Author: Adam Senk
Version: 7.2
Last update: 16/08/2012
Introduction: Layout of a container in Free Design consists of components and gaps between these components. So far only the components were visualized in the designer, which was sometimes insufficient for a good understanding of the layout. This is improved in NetBeans 7.2 where the gaps are visualized as well.
Comments:

Contents


Test suite: Enable and Disable visualization

Purpose:This is test of checkbox, that turns on/off the visualization of gaps.
Setup: Start IDE with clear userdir. Create new project, Java Application (e.g. MyApplication).In myapplication packege create a new JFrame Form (e.g. MyForm).

  1. Basic visualization
    1. Add a JButton into JFrame
    2. File:Gaps1.jpg
    • EXPECTED RESULT: Gaps are visualizated. See previous screenshot.
  1. Disable visualzition in options dialog
    1. In main menu select: Tools -> Options
    2. In Options dilaog select Java category nad GUI Builder tab.
    3. Disable "Visualize Additional Layout Information" checkbox
    4. OK
    • EXPECTED RESULT: Gaps visilazation disappear.


  1. Reenable gaps visualization
    1. In main menu select: Tools -> Options
    2. In Options dilaog select Java category nad GUI Builder tab.
    3. Enable "Visualize Additional Layout Information" checkbox
    4. OK
    5. Click on JFrame.
    • EXPECTED RESULT:The gaps are visualizated again.

Test suite: Enable and Disable visualization

Purpose:This is test of checkbox, that turns on/off the visualization of gaps.
Setup: Start IDE with clear userdir. Create new project, Java Application (e.g. MyApplication).In myapplication packege create a new JFrame Form (e.g. MyForm).

  1. Basic visualization
    1. Add a JButton into JFrame
    2. File:Gaps1.jpg
    • EXPECTED RESULT: Gaps are visualizated. See previous screenshot.
  1. Disable visualzition in options dialog
    1. In main menu select: Tools -> Options
    2. In Options dilaog select Java category nad GUI Builder tab.
    3. Disable "Visualize Additional Layout Information" checkbox
    4. OK
    • EXPECTED RESULT: Gaps visilazation disappear.


  1. Visualization of correct gaps
    1. In main menu select: Tools -> Options
    2. In Options dilaog select Java category nad GUI Builder tab.
    3. Enable "Visualize Additional Layout Information" checkbox
    4. OK
    5. Click on JFrame.
    • EXPECTED RESULT:The gaps are visualizated again.
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