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.



Radio Button Test Cases

    Radiobuttons in Group A
    RadioButton1
    RadioButton2
    RadioButton3

    Radiobuttons in Group B
    RadioButton4
    RadioButton5

    Group boxRadioButton6
    RadioButton7
    RadioButton8



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


getPosition
getSize

2. In AT-poke, check ervey object's position and size
get correct result
getLayer
getMDIZOrder
4. In At-poke, select RadioButton1 and RadioButton6, and check their Layer and MDI-Z-order
grabFocus
6. Click on the Grab focus button in AT-poke
In simple-at: focus event received
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)

doAction
9. For RadioButton1,RadioButton3, do action select

10. For RadioButton4,RadioButton5: do action select
After check one RadioButton, it's state will change to be checked, the RadioButton in the same group that be checked before will change to be unchecked

There will be no effect between radiobuttons in different groups
Events

11. click the RadioButton1
In simple-at:
select-changed-event received
state-changed-event received


Maintained by Mindy Liu
Last modified 2002-06-14