Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

Error obtaining UI hierarchy

Sometimes when we try to capture the screenshot using UI Automator Viewer then the following error is displayed and the screenshot is not captured. Error obtaining UI hierarchy Error while obtaining UI hierarchy XML file:

Could not find resource-id field in UI Automator viewer

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...
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: