0

I get below error when doing vc.dump call. It goes fine at times and randomly fails with this error.

ERROR: Offending XML: u'ERROR: null root node returned by UiTestAutomationBridge.\r\n' LoginTest failure (ExpatError('syntax error: line 1, column 0',),)

I am not sure if its emulator, device, AOSP unanimator jar or androidviewclient causing it.

I think it mostly happens when a dialog is shown on screen.

Regards,

Miten.

Miten
  • 356
  • 7
  • 23

1 Answers1

1

It's an UiAutomator error. Instead of returning a valid XML containing the View dump it returns the error message:

'ERROR: null root node returned by UiTestAutomationBridge.\r\n'

Not an AndroidViewClient issue.

Diego Torres Milano
  • 65,697
  • 9
  • 111
  • 134
  • 1
    What can we do in this case? As we need to create the XML at any cost but with this error this is not possible so is there any way to do so? – suv Apr 22 '19 at 10:21