blob: d1f11b37db8f125e7e4713035be5171c235fda31 [file] [log] [blame]
This tests that attributes related to aria table/grid are working correctly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS grid.numberAttributeValue('AXARIAColumnCount') is 16
PASS grid.numberAttributeValue('AXARIARowCount') is 30
PASS grid.rowCount is 4
PASS grid.columnCount is 4
PASS cell1.numberAttributeValue('AXARIAColumnIndex') is 2
PASS cell1.numberAttributeValue('AXARIARowIndex') is 7
PASS cell2.numberAttributeValue('AXARIAColumnIndex') is 4
PASS cell2.numberAttributeValue('AXARIARowIndex') is 8
PASS cell4.numberAttributeValue('AXARIAColumnIndex') is 3
PASS cell2.rowIndexRange() is '{1, 2}'
PASS cell5.columnIndexRange() is '{2, 3}'
PASS cell3.rowIndexRange() is '{1, 2}'
PASS cell6.rowIndexRange() is '{0, 2}'
PASS cell7.rowIndexRange() is '{0, 2}'
PASS successfullyParsed is true
TEST COMPLETE
First Name Last Name Company Address
Fred Jackson Acme, Inc. 123 Broad St.
Sara James
Footer 1 Footer 2 Footer 3
Name Company Address
Cell Span Cell
Cell
January $100
February