blob: 506f176c9df9e216f5c1e24379c52fc1e9d06f4d [file] [log] [blame]
application role
article role
banner role
complementary role
content info role
document role
log role
main role
marquee role
note role
navigation role
region role
search role
status role
tooltip role
math role
definition role
This tests that each of these ARIA grouping type roles map to the right role and subrole.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXWebApplication"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: web application"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXDocumentArticle"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: article"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXLandmarkBanner"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: banner"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXLandmarkComplementary"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: complementary"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXLandmarkContentInfo"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: content information"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXDocument"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: document"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXApplicationLog"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: log"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXLandmarkMain"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: main"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXApplicationMarquee"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: marquee"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXDocumentNote"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: note"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXLandmarkNavigation"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: navigation"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXLandmarkRegion"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: region"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXLandmarkSearch"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: search"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXApplicationStatus"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: application status"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXUserInterfaceTooltip"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: tooltip"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXDocumentMath"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: math"
PASS obj.childAtIndex(k).role is 'AXRole: AXGroup'
PASS obj.childAtIndex(k).subrole is "AXSubrole: AXDefinition"
PASS obj.childAtIndex(k).roleDescription is "AXRoleDescription: definition"
PASS successfullyParsed is true
TEST COMPLETE