[Appium] Welcome to Appium v1.7.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/sessions {}
[MJSONWP] Calling AppiumDriver.getSessions() with args: []
[MJSONWP] Responding to client with driver.getSessions() result: []
[HTTP] <-- GET /wd/hub/sessions 200 5 ms - 40
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“deviceName”:“WindowsPC”,“platformName”:“Windows”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“deviceName”:“WindowsPC”,“platformName”:“Windows”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1510230231847 (17:53:51 GMT+0530 (India Standard Time))
[Appium] Creating new WindowsDriver (v0.5.0) session
[Appium] Capabilities:
[Appium] app: ‘C:\Users\jsingh\Desktop\Release\PDMApplication.exe’
[Appium] deviceName: ‘WindowsPC’
[Appium] platformName: ‘Windows’
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[BaseDriver] The following capabilities were provided, but are not recognized by appium: app, connectHardwareKeyboard.
[BaseDriver] Session created with session id: 697f66a9-8756-472d-b8fc-78bdd8b4815b
[WinAppDriver] Verifying WinAppDriver is installed with correct checksum
[WinAppDriver] WinAppDriver changed state to ‘starting’
[WinAppDriver] Killing any old WinAppDrivers on same port, running: FOR /F “usebackq tokens=5” %a in (netstat -nao ^| findstr /R /C:"4724 "
) do (FOR /F “usebackq” %b in (TASKLIST /FI "PID eq %a" ^| findstr /I winappdriver.exe
) do (IF NOT %b=="" TASKKILL /F /PID %a))
[WinAppDriver] No old WinAppDrivers seemed to exist
[WinAppDriver] Spawning winappdriver with: undefined 4724/wd/hub
[WinAppDriver] [STDOUT] Windows Application Driver Beta listening for requests at: http://127.0.0.1:4724/wd/hub
[WinAppDriver] WinAppDriver changed state to ‘online’
[JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:4724/wd/hub/session] with body: {“desiredCapabilities”:{“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“deviceName”:“WindowsPC”,“platformName”:“Windows”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] Address ‘http://127.0.0.1:4724/wd/hub’ is already in use
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] Failed to initialize: 0x80004005
[WinAppDriver] WinAppDriver exited unexpectedly with code 2147500037, signal null
[WinAppDriver] WinAppDriver changed state to ‘stopped’
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] POST /wd/hub/session HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Length: 192
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] SessionManager - Creating session
[WinAppDriver] [STDOUT] SessionManager - WinAppDriver succeeded loading MitaBroker
[WinAppDriver] [STDOUT] SessionManager - Application launched
[WinAppDriver] [STDOUT] SessionManager - Session successfully created: FE378469-B4B1-43F0-8BE8-5131F96C8E93
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 162
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:{“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“platformName”:“Windows”}}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:{“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“platformName”:“Windows”}}
[Appium] New WindowsDriver session created successfully, session 697f66a9-8756-472d-b8fc-78bdd8b4815b added to master session list
[BaseDriver] Event ‘newSessionStarted’ logged at 1510230238058 (17:53:58 GMT+0530 (India Standard Time))
[MJSONWP] Responding to client with driver.createSession() result: {“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“deviceName”:“WindowsPC”,“platformName”:“Windows”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}
[HTTP] <-- POST /wd/hub/session 200 6213 ms - 240
[HTTP] --> POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/context {“name”:“NATIVE_APP”}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/context] to [POST http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/context] with body: {“name”:“NATIVE_APP”}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] POST /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/context HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Length: 21
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“name”:“NATIVE_APP”}
[WinAppDriver] [STDOUT] ### WinAppDriver::CommandHandler::Session::HandleCommandAsMidPoint - Command context is not recognized
[WinAppDriver] [STDOUT] HTTP/1.1 404 Not Found
[WinAppDriver] [STDOUT] Content-Length: 144
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“status”:9,“value”:{“error”:“unknown command”,“message”:“Command not recognized: POST: /session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/context”}}
[MJSONWP] Encountered internal error running command: {“jsonwp”:{“status”:9,“value”:{“error”:“unknown command”,“message”:“Command not recognized: POST: /session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/context”}}} ProxyRequestError: Could not proxy command to remote server. Original error: 404 - {“status”:9,“value”:{“error”:“unknown command”,“message”:“Command not recognized: POST: /session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/context”}}
at JWProxy.proxy$ (C:\Users\jsingh\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:152:13)
at tryCatch (C:\Users\jsingh\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\jsingh\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\jsingh\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\jsingh\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/context 500 26 ms - 207
[HTTP] --> GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source] to [GET http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/source] with body: {}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] GET /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/source HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:”
[JSONWP Proxy] Replacing sessionId FE378469-B4B1-43F0-8BE8-5131F96C8E93 with 697f66a9-8756-472d-b8fc-78bdd8b4815b
[HTTP] <-- GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source 200 1145 ms - 23978
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 23978
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:"
[HTTP] --> GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot] to [GET http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/screenshot] with body: {}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] GET /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/screenshot HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 129634
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:“iVBORw0KGgoAAAANSUhEUgAAB5gAAAQUCAIAAAAjplJFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAP+6SURBVHhe7P0HmGPnfef5HgAHOaMAVM65Ogd2MzWTcrJk2pI8O7a1HluXo53HXs9jz3p27d2ZXXtmr2a81/PI6+uhJY1n1kGmJFOJFCVSJEV2M3SsjpUDCpVQAAo54wBYoHC6WR2qWZ0kkPh+9GehzntenIMqsgTgV2/9jwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA […]
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:“iVBORw0KGgoAAAANSUhEUgAAB5gAAAQUCAIAAAAjplJFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAP+6SURBVHhe7P0HmGPnfef5HgAHOaMAVM65Ogd2MzWTcrJk2pI8O7a1HluXo53HXs9jz3p27d2ZXXtmr2a81/PI6+uhJY1n1kGmJFOJFCVSJEV2M3SsjpUDCpVQAAo54wBYoHC6WR2qWZ0kkPh+9GehzntenIMqsgTgV2/9jwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO4qhXx7UxcXoulcQd4AAAAAAAAAAOBu0GtUOzut8sbWthVkn5wKJbME2QAAAAAAAACAu8moVd034JA3tqaUb29FoViKJHLBWLZaqawk7wAAAAAAAAAA4G67nRXZ4UTuJ6Or4Xiuunmg33Ggv6H6OQAAAAAAAAAA27TNFdnbCrJ/9PbcnD+zniyVP28wKpRC4ZULYZNe7bRoJpcTQ62GnR2m1WgxKwlGnTjUbjFoxeodAQAAAAAAAAA/Y7lsZsW7EIuEMum0PHSZSqUymMzu5pYGd5M8dAci68HA2mosEi5Ict+O8sHtDQ2u5tZUPL7VLo1GWx0pu5tB9l9999SlpbQvJuSkUotFsBuEibXizm5bf7PphdNrJrXkMilmAqV8UemwaO4fcjU59DfLsksFIZ+Op7LxdPULUKpEjd5i0qlVmtvpdHJ7isVCPhuPp3KFy2vNNz+MUnlCLpXKpFLlx1ioBPhVokrUmu16TflWuDwnnU2rDAadxqy79ksuFaR8KpqUlHmFzmrWqlXKa76+Yi6dz6ai6YJ0+RxqvVF…
[JSONWP Proxy] Replacing sessionId FE378469-B4B1-43F0-8BE8-5131F96C8E93 with 697f66a9-8756-472d-b8fc-78bdd8b4815b
[HTTP] <-- GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot 200 115 ms - 129634
[HTTP] --> POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/elements {“using”:“xpath”,“value”:”/Window/Pane/Pane/Pane/Pane[5]”}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/elements] to [POST http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/elements] with body: {“using”:“xpath”,“value”:”/Window/Pane/Pane/Pane/Pane[5]"}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] POST /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/elements HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Length: 58
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“using”:“xpath”,“value”:"/Window/Pane/Pane/Pane/Pane[5]"}
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 74
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:[]}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:[]}
[JSONWP Proxy] Replacing sessionId FE378469-B4B1-43F0-8BE8-5131F96C8E93 with 697f66a9-8756-472d-b8fc-78bdd8b4815b
[HTTP] <-- POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/elements 200 149 ms - 74
[HTTP] --> GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source] to [GET http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/source] with body: {}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] GET /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/source HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 4055
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:"
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:”
[JSONWP Proxy] Replacing sessionId FE378469-B4B1-43F0-8BE8-5131F96C8E93 with 697f66a9-8756-472d-b8fc-78bdd8b4815b
[HTTP] <-- GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source 200 63 ms - 4055
[HTTP] --> GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot] to [GET http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/screenshot] with body: {}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] GET /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/screenshot HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 274
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:“iVBORw0KGgoAAAANSUhEUgAAAPAAAAA7CAIAAADKGJCyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABASURBVHhe7cEBDQAAAMKg909tDwcEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPCuBqYrAAFOnxACAAAAAElFTkSuQmCC”}
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:“iVBORw0KGgoAAAANSUhEUgAAAPAAAAA7CAIAAADKGJCyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABASURBVHhe7cEBDQAAAMKg909tDwcEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPCuBqYrAAFOnxACAAAAAElFTkSuQmCC”}”
[JSONWP Proxy] Replacing sessionId FE378469-B4B1-43F0-8BE8-5131F96C8E93 with 697f66a9-8756-472d-b8fc-78bdd8b4815b
[HTTP] <-- GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot 200 6 ms - 274
I am getting this error, Pls help me to solve this