0

I am using default android emulator and trying to fetch field ids using UI Automator. However it stops saying following line when I try to capture screen:

Error while obtaining UI hierarchy XML file: com.android.ddmlib.TimeoutException

I have followed this link also but no success.
I am testing android app using Appium and need ids for writing test cases.

Community
  • 1
  • 1
AnswerDroid
  • 1,873
  • 2
  • 33
  • 52

1 Answers1

1

If using Genymotion along with it, then enable the "Take screenshot" option in settings and then restart the device()

krit
  • 41
  • 4