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.



You are here: Test Suites for MAI > Test Suite on Table for Mozilla ATK Implementation

Table Test Cases for Mozilla ATK Implementation

This is the Table1's Caption
Column2 Column3
Row1 Column1 Row1 Column2 Row1 Column3
join (R2 C1) and (R2 C2) Row2 Column3
Row3 Row3 Column1 join (R3 C2) and (R4 C2) Row3 Column3
Row4 Row4 Column1 Row4 Column3
gif Checkbox1 Row1 Column3 Row1 Column4
Row2 Column2

Radiobuttons in Group A
RadioButton1
RadioButton2
RadioButton3

Row2 Column4
Embedded table
1Checkbox1 2
3 4
5 6
Row3 Column2 Row3 Column3 Row3 Column4
Row4 Column1 Row4 Column2 Link to the end Row4 Column4
Row5 Column1 Row5 Column4

 

Interface Feature tested Steps Expected Result
Objects getName
getDescription
getRole
getAttributes
getParent
1. Start AT-poke, search the two objects titled "Table1" "Table2"
Start simple-at at the same time
Type/Name/Value/ Role/ State/should be displayed on AT-poke window

Table1 Attributes: cellpadding="2" cellspacing="1" border="5" width="66%" style="background-color: #FFC;" title="table1" rules="groups" frame="border" summary="This is the table's summary."
AccessibleComponent Interface getPosition
getSize
getLayer
getMDIZOrder
2. In At-poke, check object's position and size, Layer, MDI-Z-order
grabFocus 3. Click on the Grab focus button in AT-poke In simple-at: focus event received
AccessibleTable Interface getNColumns
getNRows
getColumnDescription
getRowDescription
4. In At-poke, check the Counts of Rows/Columns, Description of Row/Column of Table1 and Table2
getColumnExtentAt
getRowExtentAt
5. Table1: (row1, column1)
(row2, column1)
(row3, column2)
(row1, column1)ColumnExtent: 1 RowExtent:1
(row2, column1)ColumnExtent: 2 RowExtent:1
(row3, column2)ColumnExtent: 1 RowExtent:2
getAccessibleAt
getCaption
getColumnHeader
getRowHeader
*getSummary
6. Another object can be child of a Table-cell(Table2R1C2)/Caption(Table2)
/*Summary/ColumnHeader(Table1)
/RowHeader(Table1)
In AT-poke, child object should be displayed under Table-cell tree node as a child, and every object's information will expose to user by AT-poke
getIndexAt
getColumnAtIndex
getRowAtIndex
**7.
getNSelectedColumns
getNSelectedRows
isSelected
isColumnSelected
isRowSelected
**8. With Ctrl + Click, select multiple Columns and Rows Return correct number of selected Columns or Rows
In simple-at: Selection_changed_event received
getSelectedColumns
getSelectedRows
**9. Return correct index of selected Columns or Rows
AccessibleAction Interface
Events 10. Start Composer, Table -> Insert table
11. with the table just added, insert a row Output of simple-at:
row_inserted_event received
children_changed_event received
12. With the table just added, insert a column Output of simple-at:
column_inserted_event received
children_changed_event received
13. With the table just added, delete selected row(s) Output of simple-at:
row_deleted_event received
children_changed_event received
14. With the table just added, delete selected column(s) Output of simple-at:
column_deleted_event received
children_changed_event received
15. With the table just added, join two cells in the same row together Output of simple-at:
children_changed_event received
row_reordered or column_reordered
16. With the table just added, join two cells in the same column together Output of simple-at:
children_changed_event received
row_reordered or column_reordered
Maintained by Mindy Liu