Posts

Showing posts from May, 2016

UiAutomator died while responding to command

Recently while working on one of the Appium automation framework, we noticed this error:
"org.openqa.selenium.WebDriverException:  UiAutomator died while responding to command,  please check appium logs! (WARNING: The server did not provide any stacktrace information)
Let me explain the framework we have. The framework is using Cucumber + Appium + Gradle. So the test are written in feature file in plain english and in turn talk to step implementation which calls the page class for any action. We also have some utils written which basically captures the screenshot of the device on the step of failure and captures the adb log of the device. But in this case of error there was no snapshot  taken. Also we are running the tests in parallel and are not using Selenium grid, we have our own custom solution to take care of it.
Couple of guess what we made: We suspected the issue to be session related and we tried the override session flag while starting appium server, but this didn’t fix it.We …