Ilya G
Ilya G

Reputation: 469

Text inside UI Automator does not match text on actual device

Building Automation for our Android App using UI Automator. But after recent SDK upgrade of the app, UI changed automatically and it would be good time to run automation script to catch bugs. And it passes all test cases. But if we look on UI on actual device(button "RATE SERIES" in capital), in UI Automator("Rate Series" lower case) they don't match. In Android code it in lower case and I build TC also to check that text.Is it UI Automator issue? Any way Can I fix it?

enter image description here

Upvotes: 0

Views: 1169

Answers (1)

Yuri Misyac
Yuri Misyac

Reputation: 4910

Add to your Button android:textAllCaps="false" atribut.

Upvotes: 1

Related Questions