You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



CheckBox Test Cases


  • Checkbox1

  • Checkbox2

Interface Feature tested Steps Expected Result
Objects
getName
getDescription
getRole......
getAttributes
1. Start AT-poke Type/Name/Location/Value/Parent/ Role/ State/should be displayed on AT-poke window
AccessibleComponent Interface


getExtents
contains
getPosition
getSize

**2. In AT-poke, get the bounding box of Button with two coordinate systems (e.g. CSPI_COORD_TYPE_WINDOW, CSPI_COORD_TYPE_SCREEN)

**3. In AT-poke, input two points(one is in bounding box, one is out), and choose right coordinate system, query whether Button contains a particular point.
get correct result
getLayer
4. In At-poke, get the Layer

getMDIZOrder
5. In At-poke, get the MDI-Z-Order
grabFocus
6. Click on the Grab focus button in AT-poke
  • Add a "FOCUSED" state to states
  • Start simple-at, focus event will receive
  • AccessibleAction Interface
    getNActions
    getName
    getDescription
    getKeyBinding
    8. In At-poke Actions tab, see every action's Name/Description/KeyBinding
    (maybe currently objects have no keybinding)
    2 actions: select/unselect according to checkbox's states

    doAction
    9. CheckBox1: do action unselect
    10. CheckBox2: do action select
    the same result as doing directly
    Events

    9. CheckBox1: do action unselect
    10. CheckBox2: do action select
    simple-at:
      state-changed-event received
      focus event received

    Maintained by Mindy Liu
    Last modified 2002-06-13