Step | Type | Element ID | Assertions |
---|
step 1 | event | test | Send event focus to the element with ID test |
step 2 | attribute | test | Set attribute aria-activedescendant on the element with ID test to the value "bob" |
step 3 | test | test | API Name | Assertions |
---|
ATK | property | role | is | ROLE_ENTRY | property | states | contains | STATE_SINGLE_LINE | property | interfaces | contains | EditableText | property | states | doesNotContain | STATE_FOCUSED | property | states | contains | STATE_FOCUSABLE | AXAPI | property | AXRole | is | AXTextField | property | AXSubrole | is | AXSearchField | property | AXRoleDescription | is | search text field | property | AXFocused | is | false | result | AXUIElementIsAttributeSettable(AXFocused) | is | true | IAccessible2 | property | objectAttributes | contains | text-input-type:search | event | type | is | EVENT_OBJECT_FOCUS | MSAA | property | role | is | ROLE_SYSTEM_TEXT | property | states | doesNotContain | STATE_SYSTEM_FOCUSED | property | states | contains | STATE_SYSTEM_FOCUSABLE | UIA | property | ControlType | is | Edit | property | LocalizedControlType | is | search box | property | IUIAutomationElement.UIA_IsKeyboardFocusablePropertyId | is | true | property | IUIAutomationElement.UIA_HasKeyboardFocusPropertyId | is | false |
|
step 4 | test | bob | API Name | Assertions |
---|
ATK | property | states | contains | STATE_FOCUSED | property | states | contains | STATE_FOCUSABLE | event | type | is | object:state-changed:focused | event | detail1 | is | 1 | AXAPI | property | AXFocused | is | true | result | AXUIElementIsAttributeSettable(AXFocused) | is | true | event | type | is | AXFocusedUIElementChanged | MSAA | property | states | contains | STATE_SYSTEM_FOCUSED | property | states | contains | STATE_SYSTEM_FOCUSABLE | event | type | is | EVENT_OBJECT_FOCUS | UIA | property | IUIAutomationElement.UIA_IsKeyboardFocusablePropertyId | is | true | property | IUIAutomationElement.UIA_HasKeyboardFocusPropertyId | is | true | event | type | is | UIA_AutomationFocusChangedEventId |
|