There are many options to locate the element but the easiest way to locate an element is by its id. In webpages we can easily locate the element by its id but on mobile its very tricky to locate the element by id.
I am automating an Android app using Appium and for inspecting elements I use UI Automator Viewer tool. The issue that I am getting while inspecting the element is that resource-id field is not getting displayed under Node Details section of UI Automator viewer.
Solution
The Android phone that I am using has the Android version 4.2.2 and after updating the Android, the resource-id starts displaying under Node Details. I have updated my Android version to 4.4.2 and now I am able to see the resource-id field under Node details.
0 Comment(s)