Android page inaccessible after pop-up dismissed/closed

Hi, has any one ever run into an issue on Android where after closing/dismissing a pop-up from an app under test, that the page underneath the pop-up is completely inaccessible? I am facing this issue where after I close the pop-up, I cannot access any elements on the page which is underneath the pop-up. Appium studio is showing “Unknown” in the object spy.

Hi

  1. Are you working with an instrumented or non-instrumented application?
  2. can you reproduce the issue, collect the support data and send them to us (tom_p@experitest.com)

https://docs.experitest.com/display/TD/AS-+Collect+Support+Data

Thanks Tom, all requested support data has been sent! Thank you for your help!

Try calling GetPageSource() (from script source code) once the popup is closed.

Thanks for the info, the logs do show some issue with retrieving the root element from dump (hence mateoaqx answer will not help in this case)

Line 5184: 2018-02-14 11:17:50,705 [SwingWorker-pool-10-thread-10] (device.android.G) ERROR	Operation failed: UiAutomator failed to get root in active window

I’ve moved the item to our RnD for further investigations

in such cases, to get a prompt resolution it is advised that you’ll share your app APK + steps to reproduce
if that’s possible kindly share that info using the mail I’ve provided

Otherwise, it’ll get stuck in backlog, since it’s harder to estimate and get to the root cause without the steps to reproduce