"Android Driver Webview App" loops when I launch webdriver for Mobile Web via device and Emulator

264 weergaven
Naar het eerste ongelezen bericht

Prasanna Sarathi

ongelezen,
20 feb 2015, 08:29:3820-02-2015
aan selen...@googlegroups.com
Android Driver Webview App is launched but URL is not typed, please guide me if I am going wrong while executing. I run the Selendroid standalone server and Execute my test using the following code

DesiredCapabilities capabilities = SelendroidCapabilities.android();
capabilities.setJavascriptEnabled(true);
capabilities.setBrowserName("android");
capabilities.setPlatform(Platform.ANDROID);
capabilities.setCapability(SelendroidCapabilities.EMULATOR, true);
driver = new SelendroidDriver(new URL("http://10.20.113.197:4444/wd/hub/"),capabilities);
driver.get("www.google.com");

I have tried launching the Mobile Web using my Emulator with Eclipse plugin and also on a real device, and also tried with Python and Java as well, posting you the log, please correct me if i am missing some important, I am a newbie and followed steps in blogs, posting you the log when run on an Emulator


at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:233)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
... 30 more

Feb 20, 2015 6:46:18 PM io.selendroid.standalone.server.model.DeviceStore release
INFO: Releasing device AndroidEmulator [screenSize=(320, 480), targetPlatform=null, serial=null, avdName=Andy_20, model=Nexus 5 (Google)]
Feb 20, 2015 6:46:18 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am force-stop io.selendroid.androiddriver
Feb 20, 2015 6:46:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward --remove tcp:8080
Feb 20, 2015 6:46:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm clear io.selendroid.androiddriver
Feb 20, 2015 6:46:20 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
Success
<--
Feb 20, 2015 6:46:20 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: 'android' will be used as app under test.
Feb 20, 2015 6:46:20 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell input keyevent 82
Feb 20, 2015 6:46:22 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:22 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell input keyevent 4
Feb 20, 2015 6:46:24 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:24 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm list packages io.selendroid.androiddriver
Feb 20, 2015 6:46:25 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
package:io.selendroid.io.selendroid.androiddriver
package:io.selendroid.androiddriver
<--
Feb 20, 2015 6:46:25 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: the app under test is already installed.
Feb 20, 2015 6:46:25 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm list packages io.selendroid.io.selendroid.androiddriver
Feb 20, 2015 6:46:26 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
package:io.selendroid.io.selendroid.androiddriver
<--
Feb 20, 2015 6:46:26 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: Not creating and installing selendroid-server because it is already installed for this app under test.
Feb 20, 2015 6:46:26 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell setprop log.tag.SELENDROID ERROR
Feb 20, 2015 6:46:26 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:26 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am instrument -e main_activity io.selendroid.androiddriver.WebViewActivity -e server_port 8081 io.selendroid.io.selendroid.androiddriver/io.selendroid.server.ServerInstrumentation
Feb 20, 2015 6:46:27 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:27 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward tcp:8081 tcp:8081
Feb 20, 2015 6:46:27 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward --list
Feb 20, 2015 6:46:27 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:27 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
SEVERE: Error occurred while starting Selendroid session
io.selendroid.server.common.exceptions.SelendroidException: Could not forward port: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward tcp:8081 tcp:8081
List of forwarded ports:

at io.selendroid.standalone.android.impl.AbstractDevice.forwardPort(AbstractDevice.java:296)
at io.selendroid.standalone.android.impl.AbstractDevice.forwardSelendroidPort(AbstractDevice.java:303)
at io.selendroid.standalone.android.impl.AbstractDevice.startSelendroid(AbstractDevice.java:277)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:264)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:210)
at io.selendroid.standalone.server.handler.CreateSessionHandler.handleRequest(CreateSessionHandler.java:40)
at io.selendroid.standalone.server.BaseSelendroidStandaloneHandler.handle(BaseSelendroidStandaloneHandler.java:45)
at io.selendroid.standalone.server.SelendroidServlet.handleRequest(SelendroidServlet.java:131)
at io.selendroid.server.common.BaseServlet.handleHttpRequest(BaseServlet.java:67)
at io.selendroid.server.common.http.ServerHandler.channelRead(ServerHandler.java:53)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.traffic.AbstractTrafficShapingHandler.channelRead(AbstractTrafficShapingHandler.java:223)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:148)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Unknown Source)
Caused by: io.selendroid.standalone.exceptions.ShellCommandException: Error executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward tcp:8081 tcp:8081
at io.selendroid.standalone.io.ShellCommand.exec(ShellCommand.java:49)
at io.selendroid.standalone.android.impl.AbstractDevice.forwardPort(AbstractDevice.java:287)
... 30 more
Caused by: io.selendroid.standalone.exceptions.ShellCommandException: error: cannot bind to socket
error: cannot bind to socket

... 32 more

Feb 20, 2015 6:46:28 PM io.selendroid.standalone.server.model.DeviceStore release
INFO: Releasing device AndroidEmulator [screenSize=(320, 480), targetPlatform=null, serial=null, avdName=Andy_20, model=Nexus 5 (Google)]
Feb 20, 2015 6:46:28 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am force-stop io.selendroid.androiddriver
Feb 20, 2015 6:46:33 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:33 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward --remove tcp:8081
Feb 20, 2015 6:46:33 PM io.selendroid.standalone.android.impl.AbstractDevice freeSelendroidPort
WARNING: Could not free Selendroid port
io.selendroid.standalone.exceptions.ShellCommandException: Error executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward --remove tcp:8081
at io.selendroid.standalone.io.ShellCommand.exec(ShellCommand.java:49)
at io.selendroid.standalone.android.impl.AbstractDevice.freeSelendroidPort(AbstractDevice.java:229)
at io.selendroid.standalone.android.impl.AbstractDevice.kill(AbstractDevice.java:213)
at io.selendroid.standalone.server.model.DeviceStore.release(DeviceStore.java:92)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:301)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:210)
at io.selendroid.standalone.server.handler.CreateSessionHandler.handleRequest(CreateSessionHandler.java:40)
at io.selendroid.standalone.server.BaseSelendroidStandaloneHandler.handle(BaseSelendroidStandaloneHandler.java:45)
at io.selendroid.standalone.server.SelendroidServlet.handleRequest(SelendroidServlet.java:131)
at io.selendroid.server.common.BaseServlet.handleHttpRequest(BaseServlet.java:67)
at io.selendroid.server.common.http.ServerHandler.channelRead(ServerHandler.java:53)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.traffic.AbstractTrafficShapingHandler.channelRead(AbstractTrafficShapingHandler.java:223)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:148)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Unknown Source)
Caused by: io.selendroid.standalone.exceptions.ShellCommandException: error: cannot remove listener
error: cannot remove listener

... 32 more

Feb 20, 2015 6:46:33 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm clear io.selendroid.androiddriver
Feb 20, 2015 6:46:34 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
Success
<--
Feb 20, 2015 6:46:34 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: 'android' will be used as app under test.
Feb 20, 2015 6:46:34 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell input keyevent 82
Feb 20, 2015 6:46:36 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:36 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell input keyevent 4
Feb 20, 2015 6:46:37 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:37 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm list packages io.selendroid.androiddriver
Feb 20, 2015 6:46:39 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
package:io.selendroid.io.selendroid.androiddriver
package:io.selendroid.androiddriver
<--
Feb 20, 2015 6:46:39 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: the app under test is already installed.
Feb 20, 2015 6:46:39 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm list packages io.selendroid.io.selendroid.androiddriver
Feb 20, 2015 6:46:40 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
package:io.selendroid.io.selendroid.androiddriver
<--
Feb 20, 2015 6:46:40 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: Not creating and installing selendroid-server because it is already installed for this app under test.
Feb 20, 2015 6:46:40 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell setprop log.tag.SELENDROID ERROR
Feb 20, 2015 6:46:40 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:40 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am instrument -e main_activity io.selendroid.androiddriver.WebViewActivity -e server_port 8082 io.selendroid.io.selendroid.androiddriver/io.selendroid.server.ServerInstrumentation
Feb 20, 2015 6:46:41 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:41 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward tcp:8082 tcp:8082
Feb 20, 2015 6:46:41 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:41 PM io.selendroid.standalone.android.impl.AbstractDevice startLogging
INFO: starting logcat:
Feb 20, 2015 6:46:41 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver waitForServerStart
INFO: Waiting for the Selendroid server to start.
Feb 20, 2015 6:46:41 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8082/wd/hub/status
Feb 20, 2015 6:46:41 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8082: Connection reset
Feb 20, 2015 6:46:41 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8082
Feb 20, 2015 6:46:41 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8082: Connection reset
Feb 20, 2015 6:46:41 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8082
Feb 20, 2015 6:46:41 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8082: Connection reset
Feb 20, 2015 6:46:41 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8082
Feb 20, 2015 6:46:41 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Can't connect to Selendroid server, assuming it is not running.
Feb 20, 2015 6:46:43 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell echo $EXTERNAL_STORAGE
Feb 20, 2015 6:46:43 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
/storage/sdcard
<--
Feb 20, 2015 6:46:43 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell ls C:\storage\sdcard/
Feb 20, 2015 6:46:43 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
C:\storage\sdcard/: No such file or directory
<--
Feb 20, 2015 6:46:43 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8082/wd/hub/status
Feb 20, 2015 6:46:44 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8082: Connection reset
Feb 20, 2015 6:46:44 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8082
Feb 20, 2015 6:46:44 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8082: Connection reset
Feb 20, 2015 6:46:44 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8082
Feb 20, 2015 6:46:44 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8082: Connection reset
Feb 20, 2015 6:46:44 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8082
Feb 20, 2015 6:46:44 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Can't connect to Selendroid server, assuming it is not running.
Feb 20, 2015 6:46:46 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell echo $EXTERNAL_STORAGE
Feb 20, 2015 6:46:46 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
/storage/sdcard
<--
Feb 20, 2015 6:46:46 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell ls C:\storage\sdcard/
Feb 20, 2015 6:46:46 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
C:\storage\sdcard/: No such file or directory
<--
Feb 20, 2015 6:46:46 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8082/wd/hub/status
Feb 20, 2015 6:46:49 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Got response status code: 200
Feb 20, 2015 6:46:49 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Got response value: {"status":0,"value":{"build":{"version":"0.13.0-SNAPSHOT","browserName":"selendroid"},"os":{"arch":"x86","name":"Android","version":"21"},"supportedDevices":[],"supportedApps":[]}}
Feb 20, 2015 6:46:49 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver waitForServerStart
INFO: Selendroid server has started.
Feb 20, 2015 6:46:52 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
SEVERE: Error occurred while starting Selendroid session
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'GISI-MOE-201', ip: '10.20.113.197', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: SelendroidStandaloneDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:593)
at org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.window(RemoteWebDriver.java:882)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.switchToWebView(SelendroidStandaloneDriver.java:320)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:290)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:210)
at io.selendroid.standalone.server.handler.CreateSessionHandler.handleRequest(CreateSessionHandler.java:40)
at io.selendroid.standalone.server.BaseSelendroidStandaloneHandler.handle(BaseSelendroidStandaloneHandler.java:45)
at io.selendroid.standalone.server.SelendroidServlet.handleRequest(SelendroidServlet.java:131)
at io.selendroid.server.common.BaseServlet.handleHttpRequest(BaseServlet.java:67)
at io.selendroid.server.common.http.ServerHandler.channelRead(ServerHandler.java:53)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.traffic.AbstractTrafficShapingHandler.channelRead(AbstractTrafficShapingHandler.java:223)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:148)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:233)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
... 30 more

Feb 20, 2015 6:46:52 PM io.selendroid.standalone.server.model.DeviceStore release
INFO: Releasing device AndroidEmulator [screenSize=(320, 480), targetPlatform=null, serial=null, avdName=Andy_20, model=Nexus 5 (Google)]
Feb 20, 2015 6:46:52 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am force-stop io.selendroid.androiddriver
Feb 20, 2015 6:46:53 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:53 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward --remove tcp:8082
Feb 20, 2015 6:46:53 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:53 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm clear io.selendroid.androiddriver
Feb 20, 2015 6:46:54 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
Success
<--
Feb 20, 2015 6:46:54 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: 'android' will be used as app under test.
Feb 20, 2015 6:46:54 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell input keyevent 82
Feb 20, 2015 6:46:55 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:55 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell input keyevent 4
Feb 20, 2015 6:46:57 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:46:57 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm list packages io.selendroid.androiddriver
Feb 20, 2015 6:46:58 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
package:io.selendroid.io.selendroid.androiddriver
package:io.selendroid.androiddriver
<--
Feb 20, 2015 6:46:58 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: the app under test is already installed.
Feb 20, 2015 6:46:58 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm list packages io.selendroid.io.selendroid.androiddriver
Feb 20, 2015 6:46:59 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
package:io.selendroid.io.selendroid.androiddriver
<--
Feb 20, 2015 6:46:59 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: Not creating and installing selendroid-server because it is already installed for this app under test.
Feb 20, 2015 6:46:59 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell setprop log.tag.SELENDROID ERROR
Feb 20, 2015 6:47:00 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:00 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am instrument -e main_activity io.selendroid.androiddriver.WebViewActivity -e server_port 8083 io.selendroid.io.selendroid.androiddriver/io.selendroid.server.ServerInstrumentation
Feb 20, 2015 6:47:01 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:01 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward tcp:8083 tcp:8083
Feb 20, 2015 6:47:01 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:01 PM io.selendroid.standalone.android.impl.AbstractDevice startLogging
INFO: starting logcat:
Feb 20, 2015 6:47:01 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver waitForServerStart
INFO: Waiting for the Selendroid server to start.
Feb 20, 2015 6:47:01 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8083/wd/hub/status
Feb 20, 2015 6:47:01 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8083: Connection reset
Feb 20, 2015 6:47:01 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8083
Feb 20, 2015 6:47:01 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8083: Connection reset
Feb 20, 2015 6:47:01 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8083
Feb 20, 2015 6:47:01 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8083: Connection reset
Feb 20, 2015 6:47:01 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8083
Feb 20, 2015 6:47:01 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Can't connect to Selendroid server, assuming it is not running.
Feb 20, 2015 6:47:03 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell echo $EXTERNAL_STORAGE
Feb 20, 2015 6:47:03 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
/storage/sdcard
<--
Feb 20, 2015 6:47:03 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell ls C:\storage\sdcard/
Feb 20, 2015 6:47:03 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
C:\storage\sdcard/: No such file or directory
<--
Feb 20, 2015 6:47:03 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8083/wd/hub/status
Feb 20, 2015 6:47:03 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8083: Connection reset
Feb 20, 2015 6:47:03 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8083
Feb 20, 2015 6:47:03 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8083: Connection reset
Feb 20, 2015 6:47:03 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8083
Feb 20, 2015 6:47:03 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8083: Connection reset
Feb 20, 2015 6:47:03 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8083
Feb 20, 2015 6:47:03 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Can't connect to Selendroid server, assuming it is not running.
Feb 20, 2015 6:47:05 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell echo $EXTERNAL_STORAGE
Feb 20, 2015 6:47:06 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
/storage/sdcard
<--
Feb 20, 2015 6:47:06 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell ls C:\storage\sdcard/
Feb 20, 2015 6:47:06 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
C:\storage\sdcard/: No such file or directory
<--
Feb 20, 2015 6:47:06 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8083/wd/hub/status
Feb 20, 2015 6:47:06 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8083: Connection reset
Feb 20, 2015 6:47:06 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8083
Feb 20, 2015 6:47:06 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8083: Connection reset
Feb 20, 2015 6:47:06 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8083
Feb 20, 2015 6:47:06 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8083: Connection reset
Feb 20, 2015 6:47:06 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8083
Feb 20, 2015 6:47:08 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Got response status code: 200
Feb 20, 2015 6:47:08 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Got response value: {"status":0,"value":{"build":{"version":"0.13.0-SNAPSHOT","browserName":"selendroid"},"os":{"arch":"x86","name":"Android","version":"21"},"supportedDevices":[],"supportedApps":[]}}
Feb 20, 2015 6:47:08 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver waitForServerStart
INFO: Selendroid server has started.
Feb 20, 2015 6:47:11 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
SEVERE: Error occurred while starting Selendroid session
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'GISI-MOE-201', ip: '10.20.113.197', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: SelendroidStandaloneDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:593)
at org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.window(RemoteWebDriver.java:882)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.switchToWebView(SelendroidStandaloneDriver.java:320)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:290)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:210)
at io.selendroid.standalone.server.handler.CreateSessionHandler.handleRequest(CreateSessionHandler.java:40)
at io.selendroid.standalone.server.BaseSelendroidStandaloneHandler.handle(BaseSelendroidStandaloneHandler.java:45)
at io.selendroid.standalone.server.SelendroidServlet.handleRequest(SelendroidServlet.java:131)
at io.selendroid.server.common.BaseServlet.handleHttpRequest(BaseServlet.java:67)
at io.selendroid.server.common.http.ServerHandler.channelRead(ServerHandler.java:53)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.traffic.AbstractTrafficShapingHandler.channelRead(AbstractTrafficShapingHandler.java:223)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:148)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:233)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
... 30 more

Feb 20, 2015 6:47:11 PM io.selendroid.standalone.server.model.DeviceStore release
INFO: Releasing device AndroidEmulator [screenSize=(320, 480), targetPlatform=null, serial=null, avdName=Andy_20, model=Nexus 5 (Google)]
Feb 20, 2015 6:47:11 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am force-stop io.selendroid.androiddriver
Feb 20, 2015 6:47:13 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:13 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward --remove tcp:8083
Feb 20, 2015 6:47:13 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:13 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm clear io.selendroid.androiddriver
Feb 20, 2015 6:47:14 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
Success
<--
Feb 20, 2015 6:47:14 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: 'android' will be used as app under test.
Feb 20, 2015 6:47:14 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell input keyevent 82
Feb 20, 2015 6:47:15 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:15 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell input keyevent 4
Feb 20, 2015 6:47:17 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:17 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm list packages io.selendroid.androiddriver
Feb 20, 2015 6:47:18 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
package:io.selendroid.io.selendroid.androiddriver
package:io.selendroid.androiddriver
<--
Feb 20, 2015 6:47:18 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: the app under test is already installed.
Feb 20, 2015 6:47:18 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm list packages io.selendroid.io.selendroid.androiddriver
Feb 20, 2015 6:47:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
package:io.selendroid.io.selendroid.androiddriver
<--
Feb 20, 2015 6:47:19 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: Not creating and installing selendroid-server because it is already installed for this app under test.
Feb 20, 2015 6:47:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell setprop log.tag.SELENDROID ERROR
Feb 20, 2015 6:47:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am instrument -e main_activity io.selendroid.androiddriver.WebViewActivity -e server_port 8084 io.selendroid.io.selendroid.androiddriver/io.selendroid.server.ServerInstrumentation
Feb 20, 2015 6:47:20 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:20 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward tcp:8084 tcp:8084
Feb 20, 2015 6:47:20 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:20 PM io.selendroid.standalone.android.impl.AbstractDevice startLogging
INFO: starting logcat:
Feb 20, 2015 6:47:20 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver waitForServerStart
INFO: Waiting for the Selendroid server to start.
Feb 20, 2015 6:47:20 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8084/wd/hub/status
Feb 20, 2015 6:47:20 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8084: Connection reset
Feb 20, 2015 6:47:20 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8084
Feb 20, 2015 6:47:20 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8084: Connection reset
Feb 20, 2015 6:47:20 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8084
Feb 20, 2015 6:47:20 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8084: Connection reset
Feb 20, 2015 6:47:20 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8084
Feb 20, 2015 6:47:21 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Can't connect to Selendroid server, assuming it is not running.
Feb 20, 2015 6:47:23 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell echo $EXTERNAL_STORAGE
Feb 20, 2015 6:47:23 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
/storage/sdcard
<--
Feb 20, 2015 6:47:23 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell ls C:\storage\sdcard/
Feb 20, 2015 6:47:23 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
C:\storage\sdcard/: No such file or directory
<--
Feb 20, 2015 6:47:23 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8084/wd/hub/status
Feb 20, 2015 6:47:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8084: Connection reset
Feb 20, 2015 6:47:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8084
Feb 20, 2015 6:47:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8084: Connection reset
Feb 20, 2015 6:47:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8084
Feb 20, 2015 6:47:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8084: Connection reset
Feb 20, 2015 6:47:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8084
Feb 20, 2015 6:47:23 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Can't connect to Selendroid server, assuming it is not running.
Feb 20, 2015 6:47:25 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell echo $EXTERNAL_STORAGE
Feb 20, 2015 6:47:25 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
/storage/sdcard
<--
Feb 20, 2015 6:47:25 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell ls C:\storage\sdcard/
Feb 20, 2015 6:47:27 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
C:\storage\sdcard/: No such file or directory
<--
Feb 20, 2015 6:47:27 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8084/wd/hub/status
Feb 20, 2015 6:47:28 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Got response status code: 200
Feb 20, 2015 6:47:28 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Got response value: {"status":0,"value":{"build":{"version":"0.13.0-SNAPSHOT","browserName":"selendroid"},"os":{"arch":"x86","name":"Android","version":"21"},"supportedDevices":[],"supportedApps":[]}}
Feb 20, 2015 6:47:28 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver waitForServerStart
INFO: Selendroid server has started.
Feb 20, 2015 6:47:31 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
SEVERE: Error occurred while starting Selendroid session
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'GISI-MOE-201', ip: '10.20.113.197', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: SelendroidStandaloneDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:593)
at org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.window(RemoteWebDriver.java:882)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.switchToWebView(SelendroidStandaloneDriver.java:320)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:290)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:210)
at io.selendroid.standalone.server.handler.CreateSessionHandler.handleRequest(CreateSessionHandler.java:40)
at io.selendroid.standalone.server.BaseSelendroidStandaloneHandler.handle(BaseSelendroidStandaloneHandler.java:45)
at io.selendroid.standalone.server.SelendroidServlet.handleRequest(SelendroidServlet.java:131)
at io.selendroid.server.common.BaseServlet.handleHttpRequest(BaseServlet.java:67)
at io.selendroid.server.common.http.ServerHandler.channelRead(ServerHandler.java:53)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.traffic.AbstractTrafficShapingHandler.channelRead(AbstractTrafficShapingHandler.java:223)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:148)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:233)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
... 30 more

Feb 20, 2015 6:47:31 PM io.selendroid.standalone.server.model.DeviceStore release
INFO: Releasing device AndroidEmulator [screenSize=(320, 480), targetPlatform=null, serial=null, avdName=Andy_20, model=Nexus 5 (Google)]
Feb 20, 2015 6:47:31 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am force-stop io.selendroid.androiddriver
Feb 20, 2015 6:47:32 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:32 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward --remove tcp:8084
Feb 20, 2015 6:47:32 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:32 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm clear io.selendroid.androiddriver
Feb 20, 2015 6:47:34 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
Success
<--
Feb 20, 2015 6:47:34 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: 'android' will be used as app under test.
Feb 20, 2015 6:47:34 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell input keyevent 82
Feb 20, 2015 6:47:35 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:35 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell input keyevent 4
Feb 20, 2015 6:47:37 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:37 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm list packages io.selendroid.androiddriver
Feb 20, 2015 6:47:38 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
package:io.selendroid.io.selendroid.androiddriver
package:io.selendroid.androiddriver
<--
Feb 20, 2015 6:47:38 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: the app under test is already installed.
Feb 20, 2015 6:47:38 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm list packages io.selendroid.io.selendroid.androiddriver
Feb 20, 2015 6:47:39 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
package:io.selendroid.io.selendroid.androiddriver
<--
Feb 20, 2015 6:47:39 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: Not creating and installing selendroid-server because it is already installed for this app under test.
Feb 20, 2015 6:47:39 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell setprop log.tag.SELENDROID ERROR
Feb 20, 2015 6:47:39 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:39 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am instrument -e main_activity io.selendroid.androiddriver.WebViewActivity -e server_port 8085 io.selendroid.io.selendroid.androiddriver/io.selendroid.server.ServerInstrumentation
Feb 20, 2015 6:47:40 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:40 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward tcp:8085 tcp:8085
Feb 20, 2015 6:47:40 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:40 PM io.selendroid.standalone.android.impl.AbstractDevice startLogging
INFO: starting logcat:
Feb 20, 2015 6:47:40 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver waitForServerStart
INFO: Waiting for the Selendroid server to start.
Feb 20, 2015 6:47:40 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8085/wd/hub/status
Feb 20, 2015 6:47:40 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8085: Connection reset
Feb 20, 2015 6:47:40 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8085
Feb 20, 2015 6:47:40 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8085: Connection reset
Feb 20, 2015 6:47:40 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8085
Feb 20, 2015 6:47:40 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8085: Connection reset
Feb 20, 2015 6:47:40 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8085
Feb 20, 2015 6:47:40 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Can't connect to Selendroid server, assuming it is not running.
Feb 20, 2015 6:47:42 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell echo $EXTERNAL_STORAGE
Feb 20, 2015 6:47:42 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
/storage/sdcard
<--
Feb 20, 2015 6:47:42 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell ls C:\storage\sdcard/
Feb 20, 2015 6:47:43 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
C:\storage\sdcard/: No such file or directory
<--
Feb 20, 2015 6:47:43 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8085/wd/hub/status
Feb 20, 2015 6:47:43 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8085: Connection reset
Feb 20, 2015 6:47:43 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8085
Feb 20, 2015 6:47:43 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8085: Connection reset
Feb 20, 2015 6:47:43 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8085
Feb 20, 2015 6:47:43 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8085: Connection reset
Feb 20, 2015 6:47:43 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://localhost:8085
Feb 20, 2015 6:47:43 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Can't connect to Selendroid server, assuming it is not running.
Feb 20, 2015 6:47:45 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell echo $EXTERNAL_STORAGE
Feb 20, 2015 6:47:45 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
/storage/sdcard
<--
Feb 20, 2015 6:47:45 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell ls C:\storage\sdcard/
Feb 20, 2015 6:47:46 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
C:\storage\sdcard/: No such file or directory
<--
Feb 20, 2015 6:47:46 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Checking if the Selendroid server is running: http://localhost:8085/wd/hub/status
Feb 20, 2015 6:47:49 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Got response status code: 200
Feb 20, 2015 6:47:49 PM io.selendroid.standalone.android.impl.AbstractDevice isSelendroidRunning
INFO: Got response value: {"status":0,"value":{"build":{"version":"0.13.0-SNAPSHOT","browserName":"selendroid"},"os":{"arch":"x86","name":"Android","version":"21"},"supportedDevices":[],"supportedApps":[]}}
Feb 20, 2015 6:47:49 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver waitForServerStart
INFO: Selendroid server has started.
Feb 20, 2015 6:47:51 PM io.selendroid.standalone.server.model.SelendroidStandaloneDriver createNewTestSession
SEVERE: Error occurred while starting Selendroid session
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'GISI-MOE-201', ip: '10.20.113.197', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: SelendroidStandaloneDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:593)
at org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.window(RemoteWebDriver.java:882)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.switchToWebView(SelendroidStandaloneDriver.java:320)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:290)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:210)
at io.selendroid.standalone.server.handler.CreateSessionHandler.handleRequest(CreateSessionHandler.java:40)
at io.selendroid.standalone.server.BaseSelendroidStandaloneHandler.handle(BaseSelendroidStandaloneHandler.java:45)
at io.selendroid.standalone.server.SelendroidServlet.handleRequest(SelendroidServlet.java:131)
at io.selendroid.server.common.BaseServlet.handleHttpRequest(BaseServlet.java:67)
at io.selendroid.server.common.http.ServerHandler.channelRead(ServerHandler.java:53)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.traffic.AbstractTrafficShapingHandler.channelRead(AbstractTrafficShapingHandler.java:223)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:148)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:233)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
... 30 more

Feb 20, 2015 6:47:51 PM io.selendroid.standalone.server.model.DeviceStore release
INFO: Releasing device AndroidEmulator [screenSize=(320, 480), targetPlatform=null, serial=null, avdName=Andy_20, model=Nexus 5 (Google)]
Feb 20, 2015 6:47:51 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell am force-stop io.selendroid.androiddriver
Feb 20, 2015 6:47:52 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:52 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe forward --remove tcp:8085
Feb 20, 2015 6:47:52 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->

<--
Feb 20, 2015 6:47:52 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Users\PRASANNAS\android-sdks\platform-tools\adb.exe shell pm clear io.selendroid.androiddriver
Feb 20, 2015 6:47:54 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
Success
<--
Feb 20, 2015 6:47:54 PM io.selendroid.standalone.server.handler.CreateSessionHandler handleRequest
SEVERE: Error while creating new session
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'GISI-MOE-201', ip: '10.20.113.197', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: SelendroidStandaloneDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:593)
at org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.window(RemoteWebDriver.java:882)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.switchToWebView(SelendroidStandaloneDriver.java:320)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:290)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:210)
at io.selendroid.standalone.server.handler.CreateSessionHandler.handleRequest(CreateSessionHandler.java:40)
at io.selendroid.standalone.server.BaseSelendroidStandaloneHandler.handle(BaseSelendroidStandaloneHandler.java:45)
at io.selendroid.standalone.server.SelendroidServlet.handleRequest(SelendroidServlet.java:131)
at io.selendroid.server.common.BaseServlet.handleHttpRequest(BaseServlet.java:67)
at io.selendroid.server.common.http.ServerHandler.channelRead(ServerHandler.java:53)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.traffic.AbstractTrafficShapingHandler.channelRead(AbstractTrafficShapingHandler.java:223)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:148)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:233)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
... 30 more

FAILED CONFIGURATION: @BeforeTest startSelendroidServer
org.openqa.selenium.SessionNotCreatedException: Error communicating with the remote browser. It may have died.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'GISI-MOE-201', ip: '10.20.113.197', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: SelendroidStandaloneDriver
Command duration or timeout: 113.22 seconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'GISI-MOE-201', ip: '10.20.113.197', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
Driver info: io.selendroid.SelendroidDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:126)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:139)
at io.selendroid.SelendroidDriver.<init>(SelendroidDriver.java:63)
at com.web.app.mobileWeb.startSelendroidServer(mobileWeb.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.TestRunner.beforeRun(TestRunner.java:641)
at org.testng.TestRunner.run(TestRunner.java:609)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Caused by: org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'GISI-MOE-201', ip: '10.20.113.197', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: SelendroidStandaloneDriver
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'GISI-MOE-201', ip: '10.20.113.197', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: unknown

SKIPPED CONFIGURATION: @AfterTest stopSelendroidServer
SKIPPED: shouldSearchWithEbay







Anand S

ongelezen,
23 feb 2015, 10:39:4523-02-2015
aan selen...@googlegroups.com
I am facing the same issue.
If anyone has found a workaround, please share :)

Thanks in advance,
Anand

Prasanna Sarathi

ongelezen,
25 feb 2015, 02:13:4525-02-2015
aan selen...@googlegroups.com
Anyone had any luck on this issue I am facing :(

Thanks,
SP

--
You received this message because you are subscribed to the Google Groups "selendroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selendroid+...@googlegroups.com.
Visit this group at http://groups.google.com/group/selendroid.
To view this discussion on the web, visit https://groups.google.com/d/msgid/selendroid/7aebfaf5-c3d6-4d5e-85ed-7a672aa3b1f5%40googlegroups.com.

Herb Scruggs

ongelezen,
29 apr 2015, 15:59:5529-04-2015
aan selen...@googlegroups.com
I'm seeing same looping problem as well when pointing to a Genymotion virtual.   It appears to be communicating with the virtual, but just pops the Android Browser and closes about 4-5 times (looping).

My setup looks as follows:

      SelendroidConfiguration config = new SelendroidConfiguration();

      selendroidServer = new SelendroidLauncher(config);
      selendroidServer.launchSelendroid();


      DesiredCapabilities caps = SelendroidCapabilities.android();
      caps.setCapability(SelendroidCapabilities.PLATFORM_VERSION,  DeviceTargetPlatform.ANDROID18);
      caps.setCapability(SelendroidCapabilities.EMULATOR, false);
      caps.setCapability(SelendroidCapabilities.SERIAL, "192.168.56.103:5555");
      
      driver = new SelendroidDriver(caps);  

      driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);


Then the error is as follows while it loops.

SEVERE: Error occurred while starting Selendroid session
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'Herb', ip: '192.168.30.14', os.name: 'Windows 8.1', os.arch: 'x86', os.version: '6.3', java.version: '1.8.0_31'
Apr 29, 2015 2:56:02 PM io.selendroid.standalone.server.model.DeviceStore release
INFO: Releasing device HardwareDevice [serial=192.168.56.103:5555, model=Custom Tablet - 4.3 - API 18 - 2560x1600, targetVersion=ANDROID18]
Apr 29, 2015 2:56:02 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Android\sdk\platform-tools\adb.exe -s 192.168.56.103:5555 shell am force-stop io.selendroid.androiddriver
Apr 29, 2015 2:56:03 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Shell command output
-->
...
Allen beantwoorden
Auteur beantwoorden
Doorsturen
0 nieuwe berichten