I use uiautomatorviewer to quickly get resource-ids to create acceptance tests, but in the past few weeks, I noticed that the field is no longer present. I'm unsure whether it's something on my end, or the tool that changed.
Previously, I could view the resource-id of an element:
Now, the resource-id field is no longer present (the element selected does have an id):
I just updated to Android SDK Tools 22.3, but this was happening before the update. Unfortunately, I didn't take note of what version this started happening in. :/
Probably the problem is on Android Version? I'm using uiautomatorviewer connecting with a Galaxy Samsung S4 (GT-I9505) with Android 4.3 and I can see resource-id from the viewer but I can't using a Samsung Galaxy Note II (GT-N7100) with android 4.1.2.
Visibility of the resource id is dependent on Adnroid version. Its supported from Android version 4.3 or later/ from API level 18. One of our dev confirmed too.
Another reference: real device Vs emulator : uiautomator does not show resource-id for the app
thanks, Ravikanth
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With