shivam
shivam

Reputation: 1140

Voice Over Accessibility with UI Automation

I am using voice over accessibility in my application. But When I am using UI Automation testing, It breaks the accessibility. Because Automation uses the accessibility class to show accessibilitylabel. Is there any solution for this?

Thanks in Advance.

Upvotes: 2

Views: 471

Answers (1)

Yoi-Nami-Ra
Yoi-Nami-Ra

Reputation: 126

Use accessibilityIdentifier instead.

It is not visible by Voice Over and can be accessed with method name from UIAElement. And if left empty it will copy value from the label.

More on that UIAccessibilityIdentification

Upvotes: 1

Related Questions