This test examines the ARIA properties for button haspopup dialog.

OK
This is the dialog box

Manual Mode Enabled

StepTypeElement IDAssertions
step 1testtest
API NameAssertions
ATKpropertyroleisROLE_PUSH_BUTTON
propertyobjectAttributescontainshaspopup:dialog
propertystatescontainsSTATE_HAS_POPUP
AXAPIpropertyAXRoleisAXPopUpButton
propertyAXSubroleis
propertyAXRoleDescriptionispop up button
propertyactionscontainsAXShowMenu
IAccessible2propertyroleisROLE_SYSTEM_PUSHBUTTON
propertyobjectAttributescontainshaspopup:dialog
MSAApropertyroleisROLE_SYSTEM_PUSHBUTTON
propertystatescontainsSTATE_SYSTEM_HASPOPUP
UIApropertyIUIAutomationElement.ControlTypeisButton
propertycontrolPatternscontainsExpandCollapse