blob: 2cebb504be82cf725b262e0842e3fb117c61a91e [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 30
PASS grid.columnCount is 16
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 '{7, 2}'
PASS cell5.columnIndexRange() is '{3, 3}'
PASS cell3.rowIndexRange() is '{7, 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