title: Unresponsive Appium Server & Device Offline problems
body: <p>Below are some common problem encountered when performing tests using Appium with Selenium - especially when running the tests for hours. </p>
  
  <p><strong>Some common Problems are:</strong> </p>
  
  <ol>
  <li>sometimes midway into the tests, appium cannot connect to the Device. Logs say Device is offline (even though the device is online &amp; app is accessible, manually) </li>
  <li>sometimes midway into the tests, the chromedriver in the case of webview becomes unresponsive.</li>
  </ol>
  
  <p><strong>Questions:</strong></p>
  
  <ol>
  <li><p>Keeping the Device Constant - Is there a way to restart the Appium Server and connect it to the existing instance of the Android Device. This way i can resume tests where it abruptly stopped.</p></li>
  <li><p>Keeping the Appium Server Constant -  Is there a way to restart the APP on the Android Device and connect it to the existing instance of the Appium Server Session.</p></li>
  <li><p>Is there some way to CHECK whether Appium Server and/or Android Device is offline / unresponsive ? </p></li>
  </ol>