android / android/testing-samples
ERROR: null root node returned by UiTestAutomationBridge
- Dominant language
- Java
- Stars
- 9.3k
- Forks
- 3.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi i am using Android p device in which some times (adb shell uiautomator dump) command throws "ERROR: null root node returned by UiTestAutomationBridge" error. Is there any alternate way to fetch UIHierarchy. Even i tried with Appium but we have to install prerequisite app to test with appium. Please give some alternation solution. Thanks in advance.
_Originally posted by @IndhumathiElumalai in https://github.com/googlesamples/android-testing/issues/193#issuecomment-507549380_
Contributor guide
Research direction
Start by reproducing `adb shell uiautomator dump` on an Android P device and capture when it returns “null root node returned by UiTestAutomationBridge.” Compare the result with the Appium approach mentioned in the issue. Done would require identifying and documenting a workable alternate way to fetch the UI hierarchy without the stated prerequisite app, but the issue provides no concrete acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile, testing
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100