|
3#
楼主 |
发表于 2017-11-23 12:01:34
|
只看该作者
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
- info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
- info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
- info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
- info: [debug] [BOOTSTRAP] [debug] Loading json...
- info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
- info: [debug] [BOOTSTRAP] [debug] json loading complete.
- info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
- info: [debug] [BOOTSTRAP] [debug] Client connected
- info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
- info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
- info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
- info: [debug] dataDir set to: /data/local/tmp
- info: Killing any old chromedrivers, running: FOR /F "usebackq tokens=5" %a in (netstat -nao ^| findstr /R /C:"9515 ") do (FOR /F "usebackq" %b in (TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe) do (IF NOT %b=="" TASKKILL /F /PID %a))
- info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"\/data\/local\/tmp","status":0}
- info: No old chromedrivers seemed to exist
- info: Spawning chromedriver with: C:\Program Files (x86)\Appium\node_modules\appium\build\chromedriver\windows\chromedriver.exe --url-base=wd/hub --port=9515
- info: [CHROMEDRIVER STDOUT] Starting ChromeDriver 2.15.322448 (52179c1b310fec1797c81ea9a20326839860b7d3) on port 9515
- Only local connections are allowed.
- info: Proxying [GET /status] to [GET http://127.0.0.1:9515/wd/hub/status] with no body
- info: Got response with status 200: {"sessionId":"","status":0,"value":{"build":{"version":"alpha"},"os":{"arch":"x86_64","name":"Windows NT","version":"6.3"}}}
- info: Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidDeviceSerial":"253254d5"}}}
- info: Got response with status 200: {"sessionId":"de7dd879fcd4c51ea8b9653da996b15d","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{},"cssSelect...
- info: [debug] Overriding session id with "de7dd879fcd4c51ea8b9653da996b15d"
- info: [debug] Device launched! Ready for commands
- info: [debug] Setting command timeout to the default of 60 secs
- info: [debug] Appium session started with sessionId de7dd879fcd4c51ea8b9653da996b15d
- info: <-- POST /wd/hub/session 303 29651.625 ms - 70
- info: --> GET /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d {}
- info: Proxying [GET /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d] to [GET http://127.0.0.1:9515/wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d] with body: {}
- info: Got response with status 200: {"sessionId":"de7dd879fcd4c51ea8b9653da996b15d","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{},"cssSelect...
- info: <-- GET /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d 200 9.757 ms - 506
- info: --> POST /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/url {"url":"http://as-stage.wecash.net/wap_v4,sessionId:de7dd879fcd4c51ea8b9653da996b15d"}
- info: Proxying [POST /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/url] to [POST http://127.0.0.1:9515/wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/url] with body: {"url":"http://as-stage.wecash.net/wap_v4,sessionId:de7dd879fcd4c51ea8b9653da996b15d"}
- info: Got response with status 200: {"sessionId":"de7dd879fcd4c51ea8b9653da996b15d","status":0,"value":null}
- info: <-- POST /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/url 200 2155.140 ms - 72
- info: --> POST /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/element {"using":"class name","sessionId":"de7dd879fcd4c51ea8b9653da996b15d","value":"register"}
- info: Proxying [POST /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/element] to [POST http://127.0.0.1:9515/wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/element] with body: {"using":"class name","sessionId":"de7dd879fcd4c51ea8b9653da996b15d","value":"register"}
- info: Got response with status 200: {"sessionId":"de7dd879fcd4c51ea8b9653da996b15d","status":0,"value":{"ELEMENT":"0.30392428231425583-1"}}
- info: <-- POST /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/element 200 125.408 ms - 103
- info: --> POST /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/element/0.30392428231425583-1/click {"sessionId":"de7dd879fcd4c51ea8b9653da996b15d","id":"0.30392428231425583-1"}
- info: Proxying [POST /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/element/0.30392428231425583-1/click] to [POST http://127.0.0.1:9515/wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/element/0.30392428231425583-1/click] with body: {"sessionId":"de7dd879fcd4c51ea8b9653da996b15d","id":"0.30392428231425583-1"}
- info: Got response with status 200: {"sessionId":"de7dd879fcd4c51ea8b9653da996b15d","status":0,"value":null}
- info: <-- POST /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d/element/0.30392428231425583-1/click 200 229.823 ms - 72
- info: --> DELETE /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d {}
- info: Shutting down appium session
- info: Proxying [DELETE /] to [DELETE http://127.0.0.1:9515/wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d] with no body
- info: Got response with status 200: {"sessionId":"de7dd879fcd4c51ea8b9653da996b15d","status":0,"**value":null}
- info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
- info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
- info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
- info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"OK, shutting down","status":0}
- info: [debug] [BOOTSTRAP] [debug] Closed client connection
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
- info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
- info: [debug] [UIAUTOMATOR STDOUT] Time: 16.286
- info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
- info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
- info: [debug] UiAutomator shut down normally
- info: [debug] executing cmd: "C:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 253254d5 shell "am force-stop com.android.chrome"
- info: [debug] Stopping logcat capture
- info: [debug] Logcat terminated with code null, signal SIGTERM
- info: [debug] Cleaning up appium session
- info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"de7dd879fcd4c51ea8b9653da996b15d"}
- info: <-- DELETE /wd/hub/session/de7dd879fcd4c51ea8b9653da996b15d 200 1590.341 ms - 72 {"status":0,"value":null,"sessionId":"de7dd879fcd4c51ea8b9653da996b15d"}
- Killed Node Server.
- Node Server Process Ended
复制代码 请各位大神指点一二,这个问题困扰了很久了,多谢(>_<)
|
|