New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support new winAppDriver(v1.0) feature "Attaching to an Existing App Window" #9106
Comments
Do you mind providing a Gist of the Appium server logs? |
Attached are the logs for this bug.
One is for the error without the app option in Open Application keyword.
The other is for the error when both app and addTopLevelWindow arguments exist in Open Application keyword.
Please help to have a check.
Thanks!
From: Dan Graham [mailto:notifications@github.com]
Sent: Wednesday, August 30, 2017 6:03 AM
To: appium/appium <appium@noreply.github.com>
Cc: Wu, Vicky <VWu@zebra.com>; Author <author@noreply.github.com>
Subject: Re: [appium/appium] Support new winAppDriver(v1.0) feature "Attaching to an Existing App Window" (#9106)
Do you mind providing a Gist of the Appium server logs?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_appium_appium_issues_9106-23issuecomment-2D325817725&d=DwMCaQ&c=Qwsh1H-X9ypOoLLEcAIltQ&r=ZtQkJzDUzWwrhb_VMfUWuQ&m=v5OxJBpx1BU3molZt5BKPLKBk17enkRKMe2fu7n3nUQ&s=XdSSQfaHsfHTzu3Drv1wA0bYtc3hjFYNl_E-K_TkYMY&e=>, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ad-2DqSp-5FjIulxmIK0pQv6ZGLMZu8QhoyNks5sdIqegaJpZM4PFmqV&d=DwMCaQ&c=Qwsh1H-X9ypOoLLEcAIltQ&r=ZtQkJzDUzWwrhb_VMfUWuQ&m=v5OxJBpx1BU3molZt5BKPLKBk17enkRKMe2fu7n3nUQ&s=gH7ZzDTGMLNVXv7S3GiWUKMXuztZV4c4jLCgm9fkQoY&e=>.
…________________________________
- CONFIDENTIAL-
This email and any files transmitted with it are confidential, and may also be legally privileged. If you are not the intended recipient, you may not review, use, copy, or distribute this message. If you receive this email in error, please notify the sender immediately by reply email and then delete this email.
[info] [Appium] Welcome to Appium v1.6.5
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"WindowsPC","app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows","automationName":"appium"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"WindowsPC","app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows","automationName":"appium"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1504112033763 (09:53:53 GMT-0700 (Pacific Daylight Time))
[info] [Appium] Creating new WindowsDriver (v0.5.0) session
[info] [Appium] Capabilities:
[info] [Appium] deviceName: 'WindowsPC'
[info] [Appium] app: 'C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe'
[info] [Appium] platformName: 'Windows'
[info] [Appium] automationName: 'appium'
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: app.
[info] [BaseDriver] Session created with session id: c6711440-e75f-4647-9e00-605e4c1c30ad
[info] [WinAppDriver] Verifying WinAppDriver is installed with correct checksum[info] [WinAppDriver] No old WinAppDrivers seemed to exist
[info] [WinAppDriver] Spawning winappdriver with: undefined 4724/wd/hub
[info] [WinAppDriver] [STDOUT] Windows Application Driver listening for requests at: http://127.0.0.1:4724/wd/hub
[debug] [WinAppDriver] WinAppDriver changed state to 'online'
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:4724/wd/hub/session] with body: {"desiredCapabilities":{"deviceName":"WindowsPC","app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows","automationName":"appium"}}[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 161
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":{"app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows"}}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":{"app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows"}}
[info] [Appium] New WindowsDriver session created successfully, session c6711440-e75f-4647-9e00-605e4c1c30ad added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1504112034597 (09:53:54 GMT-0700 (Pacific Daylight Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"deviceName":"WindowsPC","app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows","automationName":"appium"}
[info] [HTTP] <-- POST /wd/hub/session 200 841 ms - 212
[info] [HTTP] --> POST /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/elements {"using":"name","sessionId":"c6711440-e75f-4647-9e00-605e4c1c30ad","value":"Retrieving formats..."}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/elements] to [POST http://127.0.0.1:4724/wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/elements] with body: {"using":"name","sessionId":"c6711440-e75f-4647-9e00-605e4c1c30ad","value":"Retrieving formats..."}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] POST /wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/elements HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Length: 99
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"using":"name","sessionId":"c6711440-e75f-4647-9e00-605e4c1c30ad","value":"Retrieving formats..."}
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 135
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":[{"ELEMENT":"7.10404.23900756"},{"ELEMENT":"7.10404.17446726"}]}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":[{"ELEMENT":"7.10404.23900756"},{"ELEMENT":"7.10404.17446726"}]}
[info] [JSONWP Proxy] Replacing sessionId 1455AF7C-B724-4DEC-8CA7-9E58876F0BAF with c6711440-e75f-4647-9e00-605e4c1c30ad
[info] [HTTP] <-- POST /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/elements 200 142 ms - 135
[info] [HTTP] --> GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source] to [GET http://127.0.0.1:4724/wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 22778
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":"<?xml version=\"1.0\" encoding=\"utf-16\"?><Window AcceleratorKey=\"\" AccessKey=\"\" AutomationId=\"\" ClassName=\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\" FrameworkId=\"Win32\" HasKeyboardFocus=\"False\" HelpText=\"\" IsContentElement=\"True\" IsControlElement=\"True\" IsEnabled=\"False\" IsKeyboardFocusable=\"True\" IsOffscreen=\"Fa [...]
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><Window AcceleratorKey=\\\"\\\" AccessKey=\\\"\\\" AutomationId=\\\"\\\" ClassName=\\\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\\\" FrameworkId=\\\"Win32\\\" HasKeyboardFocus=\\\"False\\\" HelpText=\\\"\\\" IsContentElement=\\\"True\\\" IsControlElement=\\\"True\\\" IsEnabled=\\\"False\\\" IsKeyboardFocusable=\\\"True\\\" IsOffscreen=\\\"False\\\" IsPassword=\\\"False\\\" IsRequiredForForm=\\\"False\\\" ItemStatus=\\\"\\\" ItemType=\\\"\\\" LocalizedControlType=\\\"window\\\" Name=\\\"Print Station\\\" Orientation=\\\"None\\\" ProcessId=\\\"10404\\\" RuntimeId=\\\"42.1116972\\\" x=\\\"-7\\\" y=\\\"0\\\" width=\\\"625\\\" height=\\\"350\\\" CanMaximize=\\\"False\\\" CanMinimize=\\\"False\\\" IsModal=\\\"False\\\" WindowVisualState=\\\"Normal\\\" WindowInteractionState=\\\"Running\\\" IsTopmost=\\\"False\\\" CanRotate=\\\"False\\\" CanResize=\\\"False...
[info] [JSONWP Proxy] Replacing sessionId 1455AF7C-B724-4DEC-8CA7-9E58876F0BAF with c6711440-e75f-4647-9e00-605e4c1c30ad
[info] [HTTP] <-- GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source 200 206 ms - 22778 [info] [HTTP] --> GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source] to [GET http://127.0.0.1:4724/wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 22776
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":"<?xml version=\"1.0\" encoding=\"utf-16\"?><Window AcceleratorKey=\"\" AccessKey=\"\" AutomationId=\"\" ClassName=\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\" FrameworkId=\"Win32\" HasKeyboardFocus=\"False\" HelpText=\"\" IsContentElement=\"True\" IsControlElement=\"True\" IsEnabled=\"False\" IsKeyboardFocusable=\"True\" IsOffscreen=\"Fa [...]
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><Window AcceleratorKey=\\\"\\\" AccessKey=\\\"\\\" AutomationId=\\\"\\\" ClassName=\\\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\\\" FrameworkId=\\\"Win32\\\" HasKeyboardFocus=\\\"False\\\" HelpText=\\\"\\\" IsContentElement=\\\"True\\\" IsControlElement=\\\"True\\\" IsEnabled=\\\"False\\\" IsKeyboardFocusable=\\\"True\\\" IsOffscreen=\\\"False\\\" IsPassword=\\\"False\\\" IsRequiredForForm=\\\"False\\\" ItemStatus=\\\"\\\" ItemType=\\\"\\\" LocalizedControlType=\\\"window\\\" Name=\\\"Print Station\\\" Orientation=\\\"None\\\" ProcessId=\\\"10404\\\" RuntimeId=\\\"42.1116972\\\" x=\\\"-7\\\" y=\\\"0\\\" width=\\\"625\\\" height=\\\"350\\\" CanMaximize=\\\"False\\\" CanMinimize=\\\"False\\\" IsModal=\\\"False\\\" WindowVisualState=\\\"Normal\\\" WindowInteractionState=\\\"Running\\\" IsTopmost=\\\"False\\\" CanRotate=\\\"False\\\" CanResize=\\\"False...
[info] [JSONWP Proxy] Replacing sessionId 1455AF7C-B724-4DEC-8CA7-9E58876F0BAF with c6711440-e75f-4647-9e00-605e4c1c30ad
[info] [HTTP] <-- GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source 200 244 ms - 22776 [info] [HTTP] --> GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source] to [GET http://127.0.0.1:4724/wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><Window AcceleratorKey=\\\"\\\" AccessKey=\\\"\\\" AutomationId=\\\"\\\" ClassName=\\\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\\\" FrameworkId=\\\"Win32\\\" HasKeyboardFocus=\\\"False\\\" HelpText=\\\"\\\" IsContentElement=\\\"True\\\" IsControlElement=\\\"True\\\" IsEnabled=\\\"False\\\" IsKeyboardFocusable=\\\"True\\\" IsOffscreen=\\\"False\\\" IsPassword=\\\"False\\\" IsRequiredForForm=\\\"False\\\" ItemStatus=\\\"\\\" ItemType=\\\"\\\" LocalizedControlType=\\\"window\\\" Name=\\\"Print Station\\\" Orientation=\\\"None\\\" ProcessId=\\\"10404\\\" RuntimeId=\\\"42.1116972\\\" x=\\\"-7\\\" y=\\\"0\\\" width=\\\"625\\\" height=\\\"350\\\" CanMaximize=\\\"False\\\" CanMinimize=\\\"False\\\" IsModal=\\\"False\\\" WindowVisualState=\\\"Normal\\\" WindowInteractionState=\\\"Running\\\" IsTopmost=\\\"False\\\" CanRotate=\\\"False\\\" CanResize=\\\"False...
[info] [JSONWP Proxy] Replacing sessionId 1455AF7C-B724-4DEC-8CA7-9E58876F0BAF with c6711440-e75f-4647-9e00-605e4c1c30ad
[info] [HTTP] <-- GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source 200 166 ms - 22776
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 22776
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":"<?xml version=\"1.0\" encoding=\"utf-16\"?><Window AcceleratorKey=\"\" AccessKey=\"\" AutomationId=\"\" ClassName=\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\" FrameworkId=\"Win32\" HasKeyboardFocus=\"False\" HelpText=\"\" IsContentElement=\"True\" IsControlElement=\"True\" IsEnabled=\"False\" IsKeyboardFocusable=\"True\" IsOffscreen=\"Fa [...]
[info] [HTTP] --> GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source] to [GET http://127.0.0.1:4724/wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><Window AcceleratorKey=\\\"\\\" AccessKey=\\\"\\\" AutomationId=\\\"\\\" ClassName=\\\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\\\" FrameworkId=\\\"Win32\\\" HasKeyboardFocus=\\\"False\\\" HelpText=\\\"\\\" IsContentElement=\\\"True\\\" IsControlElement=\\\"True\\\" IsEnabled=\\\"False\\\" IsKeyboardFocusable=\\\"True\\\" IsOffscreen=\\\"False\\\" IsPassword=\\\"False\\\" IsRequiredForForm=\\\"False\\\" ItemStatus=\\\"\\\" ItemType=\\\"\\\" LocalizedControlType=\\\"window\\\" Name=\\\"Print Station\\\" Orientation=\\\"None\\\" ProcessId=\\\"10404\\\" RuntimeId=\\\"42.1116972\\\" x=\\\"-7\\\" y=\\\"0\\\" width=\\\"625\\\" height=\\\"350\\\" CanMaximize=\\\"False\\\" CanMinimize=\\\"False\\\" IsModal=\\\"False\\\" WindowVisualState=\\\"Normal\\\" WindowInteractionState=\\\"Running\\\" IsTopmost=\\\"False\\\" CanRotate=\\\"False\\\" CanResize=\\\"False...
[info] [JSONWP Proxy] Replacing sessionId 1455AF7C-B724-4DEC-8CA7-9E58876F0BAF with c6711440-e75f-4647-9e00-605e4c1c30ad
[info] [HTTP] <-- GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source 200 213 ms - 22776
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 22776
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":"<?xml version=\"1.0\" encoding=\"utf-16\"?><Window AcceleratorKey=\"\" AccessKey=\"\" AutomationId=\"\" ClassName=\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\" FrameworkId=\"Win32\" HasKeyboardFocus=\"False\" HelpText=\"\" IsContentElement=\"True\" IsControlElement=\"True\" IsEnabled=\"False\" IsKeyboardFocusable=\"True\" IsOffscreen=\"Fa [...][info] [HTTP] --> GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source] to [GET http://127.0.0.1:4724/wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 22776
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":"<?xml version=\"1.0\" encoding=\"utf-16\"?><Window AcceleratorKey=\"\" AccessKey=\"\" AutomationId=\"\" ClassName=\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\" FrameworkId=\"Win32\" HasKeyboardFocus=\"False\" HelpText=\"\" IsContentElement=\"True\" IsControlElement=\"True\" IsEnabled=\"False\" IsKeyboardFocusable=\"True\" IsOffscreen=\"Fa [...]
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><Window AcceleratorKey=\\\"\\\" AccessKey=\\\"\\\" AutomationId=\\\"\\\" ClassName=\\\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\\\" FrameworkId=\\\"Win32\\\" HasKeyboardFocus=\\\"False\\\" HelpText=\\\"\\\" IsContentElement=\\\"True\\\" IsControlElement=\\\"True\\\" IsEnabled=\\\"False\\\" IsKeyboardFocusable=\\\"True\\\" IsOffscreen=\\\"False\\\" IsPassword=\\\"False\\\" IsRequiredForForm=\\\"False\\\" ItemStatus=\\\"\\\" ItemType=\\\"\\\" LocalizedControlType=\\\"window\\\" Name=\\\"Print Station\\\" Orientation=\\\"None\\\" ProcessId=\\\"10404\\\" RuntimeId=\\\"42.1116972\\\" x=\\\"-7\\\" y=\\\"0\\\" width=\\\"625\\\" height=\\\"350\\\" CanMaximize=\\\"False\\\" CanMinimize=\\\"False\\\" IsModal=\\\"False\\\" WindowVisualState=\\\"Normal\\\" WindowInteractionState=\\\"Running\\\" IsTopmost=\\\"False\\\" CanRotate=\\\"False\\\" CanResize=\\\"False...
[info] [JSONWP Proxy] Replacing sessionId 1455AF7C-B724-4DEC-8CA7-9E58876F0BAF with c6711440-e75f-4647-9e00-605e4c1c30ad
[info] [HTTP] <-- GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source 200 214 ms - 22776 [info] [HTTP] --> GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source] to [GET http://127.0.0.1:4724/wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><Window AcceleratorKey=\\\"\\\" AccessKey=\\\"\\\" AutomationId=\\\"\\\" ClassName=\\\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\\\" FrameworkId=\\\"Win32\\\" HasKeyboardFocus=\\\"False\\\" HelpText=\\\"\\\" IsContentElement=\\\"True\\\" IsControlElement=\\\"True\\\" IsEnabled=\\\"False\\\" IsKeyboardFocusable=\\\"True\\\" IsOffscreen=\\\"False\\\" IsPassword=\\\"False\\\" IsRequiredForForm=\\\"False\\\" ItemStatus=\\\"\\\" ItemType=\\\"\\\" LocalizedControlType=\\\"window\\\" Name=\\\"Print Station\\\" Orientation=\\\"None\\\" ProcessId=\\\"10404\\\" RuntimeId=\\\"42.1116972\\\" x=\\\"-7\\\" y=\\\"0\\\" width=\\\"625\\\" height=\\\"350\\\" CanMaximize=\\\"False\\\" CanMinimize=\\\"False\\\" IsModal=\\\"False\\\" WindowVisualState=\\\"Normal\\\" WindowInteractionState=\\\"Running\\\" IsTopmost=\\\"False\\\" CanRotate=\\\"False\\\" CanResize=\\\"False...
[info] [JSONWP Proxy] Replacing sessionId 1455AF7C-B724-4DEC-8CA7-9E58876F0BAF with c6711440-e75f-4647-9e00-605e4c1c30ad
[info] [HTTP] <-- GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source 200 307 ms - 22778
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 22778
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":"<?xml version=\"1.0\" encoding=\"utf-16\"?><Window AcceleratorKey=\"\" AccessKey=\"\" AutomationId=\"\" ClassName=\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\" FrameworkId=\"Win32\" HasKeyboardFocus=\"False\" HelpText=\"\" IsContentElement=\"True\" IsControlElement=\"True\" IsEnabled=\"False\" IsKeyboardFocusable=\"True\" IsOffscreen=\"Fa [...][info] [HTTP] --> GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source] to [GET http://127.0.0.1:4724/wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/1455AF7C-B724-4DEC-8CA7-9E58876F0BAF/source HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 33562
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF","status":0,"value":"<?xml version=\"1.0\" encoding=\"utf-16\"?><Window AcceleratorKey=\"\" AccessKey=\"\" AutomationId=\"\" ClassName=\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\" FrameworkId=\"Win32\" HasKeyboardFocus=\"True\" HelpText=\"\" IsContentElement=\"True\" IsControlElement=\"True\" IsEnabled=\"True\" IsKeyboardFocusable=\"True\" IsOffscreen=\"Fals [...]
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"1455AF7C-B724-4DEC-8CA7-9E58876F0BAF\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><Window AcceleratorKey=\\\"\\\" AccessKey=\\\"\\\" AutomationId=\\\"\\\" ClassName=\\\"HwndWrapper[PrintStation.exe;;03e32657-3d58-418f-ae14-ebca72b99bf9]\\\" FrameworkId=\\\"Win32\\\" HasKeyboardFocus=\\\"True\\\" HelpText=\\\"\\\" IsContentElement=\\\"True\\\" IsControlElement=\\\"True\\\" IsEnabled=\\\"True\\\" IsKeyboardFocusable=\\\"True\\\" IsOffscreen=\\\"False\\\" IsPassword=\\\"False\\\" IsRequiredForForm=\\\"False\\\" ItemStatus=\\\"\\\" ItemType=\\\"\\\" LocalizedControlType=\\\"window\\\" Name=\\\"Print Station\\\" Orientation=\\\"None\\\" ProcessId=\\\"10404\\\" RuntimeId=\\\"42.1116972\\\" x=\\\"-7\\\" y=\\\"0\\\" width=\\\"625\\\" height=\\\"350\\\" CanMaximize=\\\"True\\\" CanMinimize=\\\"True\\\" IsModal=\\\"False\\\" WindowVisualState=\\\"Normal\\\" WindowInteractionState=\\\"ReadyForUserInteraction\\\" IsTopmost=\\\"False\\\" CanRotate=\\\"False\\\" CanResi...
[info] [JSONWP Proxy] Replacing sessionId 1455AF7C-B724-4DEC-8CA7-9E58876F0BAF with c6711440-e75f-4647-9e00-605e4c1c30ad
[info] [HTTP] <-- GET /wd/hub/session/c6711440-e75f-4647-9e00-605e4c1c30ad/source 200 341 ms - 33562
[info] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"WindowsPC","app":"Root","platformName":"Windows","automationName":"appium"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"WindowsPC","app":"Root","platformName":"Windows","automationName":"appium"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1504112037726 (09:53:57 GMT-0700 (Pacific Daylight Time))
[info] [Appium] Creating new WindowsDriver (v0.5.0) session
[info] [Appium] Capabilities:
[info] [Appium] deviceName: 'WindowsPC'
[info] [Appium] app: 'Root'
[info] [Appium] platformName: 'Windows'
[info] [Appium] automationName: 'appium'
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: app.
[info] [BaseDriver] Session created with session id: 52e7d43e-405d-477c-8b84-ed19789c36bb
[info] [WinAppDriver] Verifying WinAppDriver is installed with correct checksum
[debug] [WinAppDriver] WinAppDriver changed state to 'starting'
[info] [WinAppDriver] Killing any old WinAppDrivers on same port, running: FOR /F "usebackq tokens=5" %a in (`netstat -nao ^| findstr /R /C:"4725 "`) do (FOR /F "usebackq" %b in (`TASKLIST /FI "PID eq %a" ^| findstr /I winappdriver.exe`) do (IF NOT %b=="" TASKKILL /F /PID %a))
[info] [WinAppDriver] No old WinAppDrivers seemed to exist
[info] [WinAppDriver] Spawning winappdriver with: undefined 4725/wd/hub
[info] [WinAppDriver] [STDOUT] Windows Application Driver listening for requests at: http://127.0.0.1:4725/wd/hub
[debug] [WinAppDriver] WinAppDriver changed state to 'online'
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:4725/wd/hub/session] with body: {"desiredCapabilities":{"deviceName":"WindowsPC","app":"Root","platformName":"Windows","automationName":"appium"}}
[info] [WinAppDriver] [STDOUT] Press ENTER to exit.
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] POST /wd/hub/session HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Length: 114
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4725
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"desiredCapabilities":{"deviceName":"WindowsPC","app":"Root","platformName":"Windows","automationName":"appium"}}[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 111
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0,"value":{"app":"Root","platformName":"Windows"}}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0,"value":{"app":"Root","platformName":"Windows"}}
[info] [Appium] New WindowsDriver session created successfully, session 52e7d43e-405d-477c-8b84-ed19789c36bb added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1504112037864 (09:53:57 GMT-0700 (Pacific Daylight Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"deviceName":"WindowsPC","app":"Root","platformName":"Windows","automationName":"appium"}
[info] [HTTP] <-- POST /wd/hub/session 200 140 ms - 162
[info] [HTTP] --> POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/elements {"using":"accessibility id","sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","value":"SelectedPrinterComboBox"}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/elements] to [POST http://127.0.0.1:4725/wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/elements] with body: {"using":"accessibility id","sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","value":"SelectedPrinterComboBox"}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] POST /wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/elements HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Length: 113
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4725
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"using":"accessibility id","sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","value":"SelectedPrinterComboBox"}[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 103
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0,"value":[{"ELEMENT":"7.10404.3817695"}]}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0,"value":[{"ELEMENT":"7.10404.3817695"}]}
[info] [JSONWP Proxy] Replacing sessionId B6EA2C80-ECF2-486F-A641-861C0EDC8924 with 52e7d43e-405d-477c-8b84-ed19789c36bb
[info] [HTTP] <-- POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/elements 200 8756 ms - 103
[info] [HTTP] --> GET /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/element/7.10404.3817695/attribute/NativeWindowHandle {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/element/7.10404.3817695/attribute/NativeWindowHandle] to [GET http://127.0.0.1:4725/wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/element/7.10404.3817695/attribute/NativeWindowHandle] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/element/7.10404.3817695/attribute/NativeWindowHandle HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4725
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 75
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0,"value":"0"}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"B6EA2C80-ECF2-486F-A641-861C0EDC8924\",\"status\":0,\"value\":\"0\"}"
[info] [JSONWP Proxy] Replacing sessionId B6EA2C80-ECF2-486F-A641-861C0EDC8924 with 52e7d43e-405d-477c-8b84-ed19789c36bb
[info] [HTTP] <-- GET /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/element/7.10404.3817695/attribute/NativeWindowHandle 200 13 ms - 75
[info] [HTTP] --> POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/elements {"using":"accessibility id","sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","value":"SelectedPrinterComboBox"}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/elements] to [POST http://127.0.0.1:4725/wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/elements] with body: {"using":"accessibility id","sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","value":"SelectedPrinterComboBox"}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] POST /wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/elements HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Length: 113
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4725
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"using":"accessibility id","sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","value":"SelectedPrinterComboBox"}[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 103
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0,"value":[{"ELEMENT":"7.10404.3817695"}]}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0,"value":[{"ELEMENT":"7.10404.3817695"}]}
[info] [JSONWP Proxy] Replacing sessionId B6EA2C80-ECF2-486F-A641-861C0EDC8924 with 52e7d43e-405d-477c-8b84-ed19789c36bb
[info] [HTTP] <-- POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/elements 200 10134 ms - 103
[info] [HTTP] --> POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/element/7.10404.3817695/click {"sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","id":"7.10404.3817695"}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/element/7.10404.3817695/click] to [POST http://127.0.0.1:4725/wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/element/7.10404.3817695/click] with body: {"sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","id":"7.10404.3817695"}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] POST /wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/element/7.10404.3817695/click HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Length: 75
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4725
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","id":"7.10404.3817695"}[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 63
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0}
[info] [JSONWP Proxy] Replacing sessionId B6EA2C80-ECF2-486F-A641-861C0EDC8924 with 52e7d43e-405d-477c-8b84-ed19789c36bb
[info] [HTTP] <-- POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/element/7.10404.3817695/click 200 1960 ms - 63
[info] [HTTP] --> POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/elements {"using":"class name","sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","value":"Popup"}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/elements] to [POST http://127.0.0.1:4725/wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/elements] with body: {"using":"class name","sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","value":"Popup"}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] POST /wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/elements HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Length: 89
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4725
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"using":"class name","sessionId":"52e7d43e-405d-477c-8b84-ed19789c36bb","value":"Popup"}[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 98
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0,"value":[{"ELEMENT":"42.2295714"}]}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0,"value":[{"ELEMENT":"42.2295714"}]}
[info] [JSONWP Proxy] Replacing sessionId B6EA2C80-ECF2-486F-A641-861C0EDC8924 with 52e7d43e-405d-477c-8b84-ed19789c36bb
[info] [HTTP] <-- POST /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/elements 200 11480 ms - 98
[info] [HTTP] --> GET /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/element/42.2295714/attribute/NativeWindowHandle {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/element/42.2295714/attribute/NativeWindowHandle] to [GET http://127.0.0.1:4725/wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/element/42.2295714/attribute/NativeWindowHandle] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/element/42.2295714/attribute/NativeWindowHandle HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4725
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 81
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"B6EA2C80-ECF2-486F-A641-861C0EDC8924","status":0,"value":"2295714"}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"B6EA2C80-ECF2-486F-A641-861C0EDC8924\",\"status\":0,\"value\":\"2295714\"}"
[info] [JSONWP Proxy] Replacing sessionId B6EA2C80-ECF2-486F-A641-861C0EDC8924 with 52e7d43e-405d-477c-8b84-ed19789c36bb
[info] [HTTP] <-- GET /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/element/42.2295714/attribute/NativeWindowHandle 200 4 ms - 81 [info] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"WindowsPC","platformName":"Windows","appTopLevelWindow":"2295714"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"WindowsPC","platformName":"Windows","appTopLevelWindow":"2295714"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1504112073291 (09:54:33 GMT-0700 (Pacific Daylight Time))
[info] [Appium] Creating new WindowsDriver (v0.5.0) session
[info] [Appium] Capabilities:
[info] [Appium] deviceName: 'WindowsPC'
[info] [Appium] platformName: 'Windows'
[info] [Appium] appTopLevelWindow: '2295714'
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: appTopLevelWindow.
[info] [BaseDriver] Session created with session id: 5831149e-fbc2-4bdd-9af7-64a0aa99756d
[debug] [WinAppDriver] Deleting WinAppDriver session
[error] [MJSONWP] Encountered internal error running command: Error: Option 'app' is required!
at new WinAppDriver (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-windows-driver\lib\winappdriver.js:21:15)
at WindowsDriver.startWinAppDriverSession$ (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-windows-driver\lib\driver.js:45:25)
at tryCatch (C:\Users\test\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\test\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 next] (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at invoke (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at enqueueResult (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17)
at Promise.F (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\core-js\library\modules\$.export.js:30:36)
at AsyncIterator.enqueue (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at Object.runtime.async (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12)
at WindowsDriver.startWinAppDriverSession (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-windows-driver\build\lib\driver.js:114:34)
at WindowsDriver.createSession$ (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-windows-driver\lib\driver.js:23:18)
at tryCatch (C:\Users\test\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\test\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 next] (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\test\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[info] [HTTP] <-- POST /wd/hub/session 500 23 ms - 162
[info] [HTTP] --> GET /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/screenshot {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/screenshot] to [GET http://127.0.0.1:4725/wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/screenshot] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/B6EA2C80-ECF2-486F-A641-861C0EDC8924/screenshot HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4725
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"B6EA2C80-ECF2-486F-A641-861C0EDC8924\",\"status\":0,\"value\":\"iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAIAAABnsVYUAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAP+6SURBVHhe7N0NQFRV+j/wO8Obb4lvYVqSIWhgpIlYYNuLiga5m/pf2d3azNqCsl8Gu1ttlru19ra6u6JtFmxb4lbbaqtua+D7y1awiWiKQsqIhKThKwiiMDDzf+495965c+fOMMCAM/D97N3bOc8999xzh0FmHg5nDFarVQAAAAAAAAAAAAAA8DQj/y8AAAAAAAAAAAAAgEchAQ0AAAAAAAAAAAAAHcJVAvqJB2J+OnkUrwAAAAAAAAAAAAAAtIb+GtC/mXxjRE9/XhGEX2w4yEsAAAAAAAAAAAAAAO7RSUD/bfpNvGQPaWgAAAAAAAAAAAAAz8rKyuIleykpKbzU8WgMs2bNGjRoEK/Lzpw5s3bt2vaMRJuAThh93aRpoX0DBvK67IL57PN/zuMVAAAAAAAAAAAAAPCErKwsxwyvbrDjnDlzZv2//z3jvvvUOWjdYGtpE9C/mXxj8JgBFftOU9l06hLtB/Y0CMG9bo4OG2w67nwS9LGtmZuP8rIwYmrqlBvovxQ8OkIs2h0dEJs8e1x/qah7lit2J0hUvQEAAAAAAAAAAAD4DBdznzs5AU006WaPZJ+JXQJ6xHUDZo8KCYrwL9l1jqrGoVf1v6bP2b0nqTx22pgLRcfe2PaN1NDRsa2ZewawVLCYJBakZDKVlAS0fJTlkHmyWR1vlVad2OarAAAAAAAAAAAAAHQUF3OfOz8BTZSkM5U9kn0mRv5fydHKczWWZiqMnTaGtpujw0KuarjzRzFUZg3ccsOIEcL58+d5zcENU5JjBxw9eoxXAQAAAAAAAAAAAODKGzRo0Iz77lv/7397KvtM7BLQxHTq0uFS84GisgNfHNyxpSj...
[info] [JSONWP Proxy] Replacing sessionId B6EA2C80-ECF2-486F-A641-861C0EDC8924 with 52e7d43e-405d-477c-8b84-ed19789c36bb
[info] [HTTP] <-- GET /wd/hub/session/52e7d43e-405d-477c-8b84-ed19789c36bb/screenshot 200 165 ms - 154986
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 154986
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[warn] [BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [WinAppDriver] Deleting WinAppDriver session
[debug] [WinAppDriver] Deleting WinAppDriver server session
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:4724/wd/hub/session/D89ADD88-7EBA-432B-84DB-774D819A3C06] with no body
[warn] [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[info] [Appium] Removing session eff43b22-1249-419c-a840-248ece694ef5 from our master session list
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] DELETE /wd/hub/session/D89ADD88-7EBA-432B-84DB-774D819A3C06 HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Length: 0
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 63
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"D89ADD88-7EBA-432B-84DB-774D819A3C06","status":0}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"D89ADD88-7EBA-432B-84DB-774D819A3C06\",\"status\":0}"
[warn] [WinAppDriver] Did not get confirmation WinAppDriver deleteSession worked; Error was: Error: Did not get a valid response object. Object was: {"sessionId":"D89ADD88-7EBA-432B-84DB-774D819A3C06","status":0}
[debug] [WinAppDriver] WinAppDriver changed state to 'stopping'
[debug] [WinAppDriver] WinAppDriver changed state to 'stopped'
[warn] [BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [WinAppDriver] Deleting WinAppDriver session
[debug] [WinAppDriver] Deleting WinAppDriver server session
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:4725/wd/hub/session/7151ACC2-0491-4A86-A41C-36A8FE9C6900] with no body
[warn] [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[info] [Appium] Removing session cf6edbb4-4c4c-4ea4-8253-f3154d98be83 from our master session list
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] DELETE /wd/hub/session/7151ACC2-0491-4A86-A41C-36A8FE9C6900 HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Length: 0
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4725
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 63
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"7151ACC2-0491-4A86-A41C-36A8FE9C6900","status":0}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"7151ACC2-0491-4A86-A41C-36A8FE9C6900\",\"status\":0}"
[warn] [WinAppDriver] Did not get confirmation WinAppDriver deleteSession worked; Error was: Error: Did not get a valid response object. Object was: {"sessionId":"7151ACC2-0491-4A86-A41C-36A8FE9C6900","status":0}
[debug] [WinAppDriver] WinAppDriver changed state to 'stopping'
[debug] [WinAppDriver] WinAppDriver changed state to 'stopped'
[info] [Appium] Welcome to Appium v1.6.5
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"WindowsPC","app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows","automationName":"appium"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"WindowsPC","app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows","automationName":"appium"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1504111827912 (09:50:27 GMT-0700 (Pacific Daylight Time))
[info] [Appium] Creating new WindowsDriver (v0.5.0) session
[info] [Appium] Capabilities:
[info] [Appium] deviceName: 'WindowsPC'
[info] [Appium] app: 'C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe'
[info] [Appium] platformName: 'Windows'
[info] [Appium] automationName: 'appium'
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: app.
[info] [BaseDriver] Session created with session id: 8c90e39f-5b5b-453f-8c63-96dd67ca7ec8
[info] [WinAppDriver] Verifying WinAppDriver is installed with correct checksum
[debug] [WinAppDriver] WinAppDriver changed state to 'starting'
[info] [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))[info] [WinAppDriver] No old WinAppDrivers seemed to exist
[info] [WinAppDriver] Spawning winappdriver with: undefined 4724/wd/hub[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 161
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"469F0ECE-CE34-4FAA-8762-763A6D4EB13D","status":0,"value":{"app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows"}}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"469F0ECE-CE34-4FAA-8762-763A6D4EB13D","status":0,"value":{"app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows"}}
[info] [Appium] New WindowsDriver session created successfully, session 8c90e39f-5b5b-453f-8c63-96dd67ca7ec8 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1504111828738 (09:50:28 GMT-0700 (Pacific Daylight Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"deviceName":"WindowsPC","app":"C:\\C#_SDK\\PrintStation_22\\Release\\PrintStation.exe","platformName":"Windows","automationName":"appium"}
[info] [HTTP] <-- POST /wd/hub/session 200 832 ms - 212
[info] [HTTP] --> POST /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/elements {"using":"name","sessionId":"8c90e39f-5b5b-453f-8c63-96dd67ca7ec8","value":"Retrieving formats..."}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/elements] to [POST http://127.0.0.1:4724/wd/hub/session/469F0ECE-CE34-4FAA-8762-763A6D4EB13D/elements] with body: {"using":"name","sessionId":"8c90e39f-5b5b-453f-8c63-96dd67ca7ec8","value":"Retrieving formats..."}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] POST /wd/hub/session/469F0ECE-CE34-4FAA-8762-763A6D4EB13D/elements HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Length: 99
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"using":"name","sessionId":"8c90e39f-5b5b-453f-8c63-96dd67ca7ec8","value":"Retrieving formats..."}
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 133
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"469F0ECE-CE34-4FAA-8762-763A6D4EB13D","status":0,"value":[{"ELEMENT":"7.7804.23900756"},{"ELEMENT":"7.7804.17446726"}]}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"469F0ECE-CE34-4FAA-8762-763A6D4EB13D","status":0,"value":[{"ELEMENT":"7.7804.23900756"},{"ELEMENT":"7.7804.17446726"}]}
[info] [JSONWP Proxy] Replacing sessionId 469F0ECE-CE34-4FAA-8762-763A6D4EB13D with 8c90e39f-5b5b-453f-8c63-96dd67ca7ec8
[info] [HTTP] <-- POST /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/elements 200 144 ms - 133
[info] [HTTP] --> GET /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/source {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/source] to [GET http://127.0.0.1:4724/wd/hub/session/469F0ECE-CE34-4FAA-8762-763A6D4EB13D/source] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/469F0ECE-CE34-4FAA-8762-763A6D4EB13D/source HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"469F0ECE-CE34-4FAA-8762-763A6D4EB13D\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><Window AcceleratorKey=\\\"\\\" AccessKey=\\\"\\\" AutomationId=\\\"\\\" ClassName=\\\"HwndWrapper[PrintStation.exe;;c8fa8b2c-cd48-444f-8d31-c8faaf8762b1]\\\" FrameworkId=\\\"Win32\\\" HasKeyboardFocus=\\\"False\\\" HelpText=\\\"\\\" IsContentElement=\\\"True\\\" IsControlElement=\\\"True\\\" IsEnabled=\\\"False\\\" IsKeyboardFocusable=\\\"True\\\" IsOffscreen=\\\"False\\\" IsPassword=\\\"False\\\" IsRequiredForForm=\\\"False\\\" ItemStatus=\\\"\\\" ItemType=\\\"\\\" LocalizedControlType=\\\"window\\\" Name=\\\"Print Station\\\" Orientation=\\\"None\\\" ProcessId=\\\"7804\\\" RuntimeId=\\\"42.919968\\\" x=\\\"-7\\\" y=\\\"0\\\" width=\\\"625\\\" height=\\\"350\\\" CanMaximize=\\\"False\\\" CanMinimize=\\\"False\\\" IsModal=\\\"False\\\" WindowVisualState=\\\"Normal\\\" WindowInteractionState=\\\"Running\\\" IsTopmost=\\\"False\\\" CanRotate=\\\"False\\\" CanResize=\\\"False\\...
[info] [JSONWP Proxy] Replacing sessionId 469F0ECE-CE34-4FAA-8762-763A6D4EB13D with 8c90e39f-5b5b-453f-8c63-96dd67ca7ec8
[info] [HTTP] <-- GET /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/source 200 219 ms - 22689
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 22689
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"469F0ECE-CE34-4FAA-8762-763A6D4EB13D","status":0,"value":"<?xml version=\"1.0\" encoding=\"utf-16\"?><Window AcceleratorKey=\"\" AccessKey=\"\" AutomationId=\"\" ClassName=\"HwndWrapper[PrintStation.exe;;c8fa8b2c-cd48-444f-8d31-c8faaf8762b1]\" FrameworkId=\"Win32\" HasKeyboardFocus=\"False\" HelpText=\"\" IsContentElement=\"True\" IsControlElement=\"True\" IsEnabled=\"False\" IsKeyboardFocusable=\"True\" IsOffscreen=\"Fa [...][info] [HTTP] --> GET /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/source {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/source] to [GET http://127.0.0.1:4724/wd/hub/session/469F0ECE-CE34-4FAA-8762-763A6D4EB13D/source] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/469F0ECE-CE34-4FAA-8762-763A6D4EB13D/source HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"469F0ECE-CE34-4FAA-8762-763A6D4EB13D\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><Window AcceleratorKey=\\\"\\\" AccessKey=\\\"\\\" AutomationId=\\\"\\\" ClassName=\\\"HwndWrapper[PrintStation.exe;;c8fa8b2c-cd48-444f-8d31-c8faaf8762b1]\\\" FrameworkId=\\\"Win32\\\" HasKeyboardFocus=\\\"False\\\" HelpText=\\\"\\\" IsContentElement=\\\"True\\\" IsControlElement=\\\"True\\\" IsEnabled=\\\"False\\\" IsKeyboardFocusable=\\\"True\\\" IsOffscreen=\\\"False\\\" IsPassword=\\\"False\\\" IsRequiredForForm=\\\"False\\\" ItemStatus=\\\"\\\" ItemType=\\\"\\\" LocalizedControlType=\\\"window\\\" Name=\\\"Print Station\\\" Orientation=\\\"None\\\" ProcessId=\\\"7804\\\" RuntimeId=\\\"42.919968\\\" x=\\\"-7\\\" y=\\\"0\\\" width=\\\"625\\\" height=\\\"350\\\" CanMaximize=\\\"False\\\" CanMinimize=\\\"False\\\" IsModal=\\\"False\\\" WindowVisualState=\\\"Normal\\\" WindowInteractionState=\\\"Running\\\" IsTopmost=\\\"False\\\" CanRotate=\\\"False\\\" CanResize=\\\"False\\...
[info] [JSONWP Proxy] Replacing sessionId 469F0ECE-CE34-4FAA-8762-763A6D4EB13D with 8c90e39f-5b5b-453f-8c63-96dd67ca7ec8
[info] [HTTP] <-- GET /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/source 200 215 ms - 22687
[info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 22687
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"469F0ECE-CE34-4FAA-8762-763A6D4EB13D","status":0,"value":"<?xml version=\"1.0\" encoding=\"utf-16\"?><Window AcceleratorKey=\"\" AccessKey=\"\" AutomationId=\"\" ClassName=\"HwndWrapper[PrintStation.exe;;c8fa8b2c-cd48-444f-8d31-c8faaf8762b1]\" FrameworkId=\"Win32\" HasKeyboardFocus=\"False\" HelpText=\"\" IsContentElement=\"True\" IsControlElement=\"True\" IsEnabled=\"False\" IsKeyboardFocusable=\"True\" IsOffscreen=\"Fa [...][info] [HTTP] --> GET /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/source {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/8c90e39f-5b5b-453f-8c63-96dd67ca7ec8/source] to [GET http://127.0.0.1:4724/wd/hub/session/469F0ECE-CE34-4FAA-8762-763A6D4EB13D/source] with body: {}
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] ==========================================
[info] [WinAppDriver] [STDOUT] GET /wd/hub/session/469F0ECE-CE34-4FAA-8762-763A6D4EB13D/source HTTP/1.1
[info] [WinAppDriver] [STDOUT] Accept: */*
[info] [WinAppDriver] [STDOUT] Connection: keep-alive
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[info] [WinAppDriver] [STDOUT] User-Agent: appium
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] [info] [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[info] [WinAppDriver] [STDOUT] Content-Length: 22687
[info] [WinAppDriver] [STDOUT] Content-Type: application/json
[info] [WinAppDriver] [STDOUT]
[info] [WinAppDriver] [STDOUT] {"sessionId":"469F0ECE-CE34-4FAA-8762-763A6D4EB13D","status":0,"value":"<?xml version=\"1.0\" encoding=\"utf-16\"?><Window AcceleratorKey=\"\" AccessKey=\"\" AutomationId=\"\" ClassName=\"HwndWrapper[PrintStation.exe;;c8fa8b2c-cd48-444f-8d31-c8faaf8762b1]\" FrameworkId=\"Win32\" HasKeyboardFocus=\"False\" HelpText=\"\" IsContentElement=\"True\" IsControlElement=\"True\" IsEnabled=\"False\" IsKeyboardFocusable=\"True\" IsOffscreen=\"Fa [...]
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"469F0ECE-CE34-4FAA-8762-763A6D4EB13D\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><Window AcceleratorKey=\\\"\\\" AccessKey=\\\"\\\" AutomationId=\\\"\\\" ClassName=\\\"HwndWrapper[PrintStation.exe;;c8fa8b2c-cd48-444f-8d31-c8faaf8762b1]\\\" FrameworkId=\\\"Win32\\\" HasKeyboardFocus=\\\"False\\\" HelpText=\\\"\\\" IsContentElement=\\\"True\\\" IsControlElement=\\\"True\\\" IsEnabled=\\\"False\\\" IsKeyboardFocusable=\\\"True\\\" IsOffscreen=\\\"False\\\" IsPassword=\\\"False\\\" IsRequiredForForm=\\\"False\\\" Ite
|
Can you provide a link to the logs? |
@yodurr do you have any ideas on this one? |
[appium-server-logs_with_both_app_and_addTopLevelWindow.txt](https://github.com/appium/appium/files/1265724/appium-server-logs_with_both_app_and_addTopLevelWindow.txt)
[appium-server-logs_without_app_option.txt](https://github.com/appium/appium/files/1265725/appium-server-logs_without_app_option.txt)
And I have also link them to the bug as well.
Thanks!
From: Dan Graham [mailto:notifications@github.com]
Sent: Thursday, August 31, 2017 12:48 AM
To: appium/appium <appium@noreply.github.com>
Cc: Wu, Vicky <VWu@zebra.com>; Author <author@noreply.github.com>
Subject: Re: [appium/appium] Support new winAppDriver(v1.0) feature "Attaching to an Existing App Window" (#9106)
Can you provide a link to the logs?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_appium_appium_issues_9106-23issuecomment-2D326050731&d=DwMCaQ&c=Qwsh1H-X9ypOoLLEcAIltQ&r=ZtQkJzDUzWwrhb_VMfUWuQ&m=TBDFIVT3GKqmmflDieJvFUfHiQAlNk8_AUkzwmK2BwI&s=u3qThQkL16CoUCfL4Vi-KiorYxy1DDU8APbdDRh0_H4&e=>, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ad-2DqSqAeePN8vbEpjn61vpnm-5Fgv-2DLlCcks5sdZJCgaJpZM4PFmqV&d=DwMCaQ&c=Qwsh1H-X9ypOoLLEcAIltQ&r=ZtQkJzDUzWwrhb_VMfUWuQ&m=TBDFIVT3GKqmmflDieJvFUfHiQAlNk8_AUkzwmK2BwI&s=KdhE-50mn29rG_kLFacGbZ7NgoZLRIx5cmaN-3qa1i4&e=>.
…________________________________
- CONFIDENTIAL-
This email and any files transmitted with it are confidential, and may also be legally privileged. If you are not the intended recipient, you may not review, use, copy, or distribute this message. If you receive this email in error, please notify the sender immediately by reply email and then delete this email.
|
@timotiusmargo could you take a look? I'm so glad we improved the error messaging in WinAppDriver :) |
Hi @jlipps, This is understood and WinAppDriver behaves as designed. In WinappDriver v1.0-RC release, we introduced a new feature to create a session by attaching to an existing app window. This is one of the most requested features due to the wide variations on how app launches in Windows desktop. To support this feature, we introduced appTopLevelWindow capability to allow user to specify the application top level window to attach to when creating session. When this capability/feature is used, it doesn't make sense to specify app capability at the same time. As a result WinAppDriver rejects the request with a clear message to prevent user from specifying both capabilities. However, it looks like, Appium is enforcing the existence of app capability that would need to be null in such situation. We would then need to make a little adjustment in Appium that prevents session creation without app capability. Any thoughts are greatly welcome. |
@timotiusmargo I see. I think this should be an easy fix in appium-windows-driver, so I've added this to our backlog to look at |
@jlipps do you know how to make the fix? I'm currently blocked on it for our testing. or can you please fix it soon? |
I should be able to investigate this weekend |
This PR fixes the issue: appium/appium-windows-driver#15 |
unfortunately that fix didn't make it into the latest release of Appium-windows-driver. I'll re-submit it for the next release. |
Any news on this? Can I patch my local installation by myself? What needs to be updated? (My automation script is written in Python not C# but that shouldn't be the problem here.) Edit: Found a way to patch it myself.
Restart appium afterward. Works ;) |
I assume the feature has been included to the recent Appium release |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
appium-server-logs_with_both_app_and_addTopLevelWindow.txt
appium-server-logs_without_app_option.txt
The problem
in winAppDriver v1.0, there is a new feature “Attaching to an Existing App Window”.
please refer the details in https://github.com/Microsoft/WinAppDriver.
and I am using robotframework+appiumlibrary+Appium+winAppDriver to do the automation of my windows application.
i want to use the new feature mentioned above in Open Application keyword in robotframework appiumlibray
e.g
Open Application platformName=Windows deviceName=WindowsPC app=Root automationName=appium
Open Application platformName=Windows deviceName=WindowsPC appTopLevelWindow= automationName=appium
it failed when opening the handler, in the appium server log, it is said that “Option ‘app’ is required”.
then if i add the app argument as below:
Open Application platformName=Windows deviceName=WindowsPC app=Root automationName=appium
Open Application platformName=Windows deviceName=WindowsPC appTopLevelWindow= app=Root automationName=appium
in the appium server log, there is winAppDriver error: “invalid argument: bad capabilities: specify either app or appTopLevelWindow to create a session”
so how can Appium support this new winAppDriver feature?
thanks!
Environment
Details
as problem description
Link to Appium logs
N/A
Code To Reproduce Issue [ Good To Have ]
N/A
The text was updated successfully, but these errors were encountered: