Radio Button Test Cases
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 |