Skip to content

Instantly share code, notes, and snippets.

@michalakm
Created January 10, 2017 11:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michalakm/b31b5dc39814974785181e4ad01b95b0 to your computer and use it in GitHub Desktop.
Save michalakm/b31b5dc39814974785181e4ad01b95b0 to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.6.3
[Appium] Non-default server args:
[Appium] port: 4725
[Appium] debugLogSpacing: true
[Appium] defaultCapabilities: { udid: 'a6be7c6a3560375083133929f937bd4916c7931b',
deviceName: 'iPhone5c',
platformVersion: '10.0.2',
platformName: 'IOS',
showIOSLog: true,
automationName: 'XCUITest',
autoDismissAlerts: true }
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] udid: 'a6be7c6a3560375083133929f937bd4916c7931b'
[Appium] deviceName: 'iPhone5c'
[Appium] platformVersion: '10.0.2'
[Appium] platformName: 'IOS'
[Appium] showIOSLog: true
[Appium] automationName: 'XCUITest'
[Appium] autoDismissAlerts: true
[Appium] Appium REST http interface listener started on 0.0.0.0:4725
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/monikamichalak/repo/5.0.0.ipa","noReset":false,"nativeInstrumentsLib":true,"realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","automationName":"XCUITest","autoDismissAlerts":true,"platformName":"iOS","deviceName":"AnyIphone","platform":"MAC","nativeWebTap":true}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/monikamichalak/repo/5.0.0.ipa","noReset":false,"nativeInstrumentsLib":true,"realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","automationName":"XCUITest","autoDismissAlerts":true,"platformName":"iOS","deviceName":"AnyIphone","platform":"MAC","nativeWebTap":true},null,null,null,null]
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] app: '/Users/monikamichalak/repo/5.0.0.ipa'
[Appium] noReset: false
[Appium] nativeInstrumentsLib: true
[Appium] realDeviceLogger: '/usr/local/lib/node_modules/deviceconsole/deviceconsole'
[Appium] automationName: 'XCUITest'
[Appium] autoDismissAlerts: true
[Appium] platformName: 'iOS'
[Appium] deviceName: 'AnyIphone'
[Appium] platform: 'MAC'
[Appium] nativeWebTap: true
[Appium] udid: 'a6be7c6a3560375083133929f937bd4916c7931b'
[Appium] platformVersion: '10.0.2'
[Appium] showIOSLog: true
[debug] [XCUITest] XCUITestDriver version: 2.4.2
[BaseDriver] The following capabilities were provided, but are not recognized by appium: platform.
[BaseDriver] Session created with session id: d057cbff-b771-4e68-935f-7a81277c273a
[debug] [XCUITest] Xcode version set to '8.1'
[debug] [XCUITest] iOS SDK Version set to '10.1'
[debug] [XCUITest] Available devices: a6be7c6a3560375083133929f937bd4916c7931b
[debug] [XCUITest] Creating iDevice object with udid a6be7c6a3560375083133929f937bd4916c7931b
[XCUITest] Determining device to run tests on: udid: 'a6be7c6a3560375083133929f937bd4916c7931b', real device: true
[BaseDriver] Using local app '/Users/monikamichalak/repo/5.0.0.ipa'
[debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/40/nry6v30526b981td1w3bczj00000gn/T/201709-3690-lup2b2.w3wg0hpvi/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/40/nry6v30526b981td1w3bczj00000gn/T/201709-3690-lup2b2.w3wg0hpvi/appium-app.zip
[BaseDriver] Unzipped local app to '/var/folders/40/nry6v30526b981td1w3bczj00000gn/T/201709-3690-lup2b2.w3wg0hpvi/Payload/SEQR.app'
[debug] [XCUITest] Checking whether app '/var/folders/40/nry6v30526b981td1w3bczj00000gn/T/201709-3690-lup2b2.w3wg0hpvi/Payload/SEQR.app' is actually present
[debug] [XCUITest] App is present
[debug] [ios-app-utils] Getting bundle ID from app '/var/folders/40/nry6v30526b981td1w3bczj00000gn/T/201709-3690-lup2b2.w3wg0hpvi/Payload/SEQR.app': 'com.seamless.SEQR'
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[XCUITest] Setting up real device
[debug] [XCUITest] App is already installed.
[debug] [XCUITest] Full reset not requested. No need to install.
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Using real device logger '/usr/local/lib/node_modules/deviceconsole/deviceconsole'
[debug] [XCUITest] Beginning test with command 'xcodebuild build test -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=a6be7c6a3560375083133929f937bd4916c7931b -configuration Debug' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Unable to get device time. Using local system time
[debug] [XCUITest] Output from idevicedate: Mon Jan 9 14:48:03 CET 2017
[some parts deleted]
[iOSLog] [IOS_SYSLOG_ROW]
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:49:19 iPhone5c testmanagerd[224] <Notice>: <private>
[debug] [JSONWP Proxy] Got response with status 200: {"status":0,"id":"AA3AAAC0-98DE-4FB6-96A2-6E503D180402","sessionId":"F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889","value":""}
[JSONWP Proxy] Replacing sessionId F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889 with d057cbff-b771-4e68-935f-7a81277c273a
[HTTP] <-- POST /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/element/AA3AAAC0-98DE-4FB6-96A2-6E503D180402/click 200 5184 ms - 118
[HTTP] --> POST /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/element {"using":"xpath","value":"//*/XCUIElementTypeStaticText[@name='Use Manual Scanner']"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//*/XCUIElementTypeStaticText[@name='Use Manual Scanner']","d057cbff-b771-4e68-935f-7a81277c273a"]
[debug] [XCUITest] Executing command 'findElement'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id
[debug] [BaseDriver] Waiting up to 60000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889/element] with body: {"using":"xpath","value":"//*/XCUIElementTypeStaticText[@name='Use Manual Scanner']"}
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:49:19 iPhone5c testmanagerd[224] <Notice>: <private>
[some parts deleted]
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889","value":{"label":"Use Manual Scanner","type":"XCUIElementTypeStaticText","ELEMENT":"4126F259-9AC0-4314-9661-70E3EF648EF2"},"status":0}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"label":"Use Manual Scanner","type":"XCUIElementTypeStaticText","ELEMENT":"4126F259-9AC0-4314-9661-70E3EF648EF2"}
[HTTP] <-- POST /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/element 200 25416 ms - 186
[HTTP] --> POST /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/element/4126F259-9AC0-4314-9661-70E3EF648EF2/click {"id":"4126F259-9AC0-4314-9661-70E3EF648EF2"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/element/4126F259-9AC0-4314-9661-70E3EF648EF2/click] to [POST http://localhost:8100/session/F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889/element/4126F259-9AC0-4314-9661-70E3EF648EF2/click] with body: {"id":"4126F259-9AC0-4314-9661-70E3EF648EF2"}
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:49:45 iPhone5c testmanagerd[224] <Notice>: <private>
[some parts deleted]
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:49:48 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:49:48 iPhone5c testmanagerd[224] <Notice>: <private>
[debug] [JSONWP Proxy] Got response with status 200: {"status":0,"id":"4126F259-9AC0-4314-9661-70E3EF648EF2","sessionId":"F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889","value":""}
[JSONWP Proxy] Replacing sessionId F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889 with d057cbff-b771-4e68-935f-7a81277c273a
[HTTP] <-- POST /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/element/4126F259-9AC0-4314-9661-70E3EF648EF2/click 200 3534 ms - 118
[HTTP] --> GET /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/screenshot] to [GET http://localhost:8100/session/F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889/screenshot] with body: {}
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:49:50 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:49:50 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:49:50 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:49:50 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:49:50 iPhone5c testmanagerd[224] <Notice>: <private>
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"sessionId\" : \"F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889\",\n \"value\" : \"iVBORw0KGgoAAAANSUhEUgAAAoAAAARwCAYAAAB6j+UAAAAAAXNSR0IArs4c6QAA\\r\\nABxpRE9UAAAAAgAAAAAAAAI4AAAAKAAAAjgAAAI4AACqHZtQ4I4AAEAASURBVHgB\\r\\n7L0H3B3Ffe6f23u\\/SW7+t+baiZM4dpxmJ3Ecx3Zy03zj3MRxEiexnRgwvRgMGIMx\\r\\nvdjY9F5EkyhCSEg0USQQ6kiogAqqIFHU6R3mv981v8PvzLu7Z3dPf88zn895d9\\/d\\r\\n2SnPPDvzzG\\/K\\/siPXHtO0E8YiAPigDggDogD4oA4MEIcUGGPUGFL7KuzIw6IA+KA\\r\\nOCAOiANwQAJQAlAcEAfEAXFAHBAHxIER44AKfMQKXD0\\/9fzEAXFAHBAHxAFxQAJQ\\r\\nAlAcEAfEAXFAHBAHxIER44AKfMQKXL0+9frEAXFAHBAHxAFxQAJQAlAcEAfEAXFA\\r\\nHBAHxIER44AKfMQKXL0+9frEAXFAHBAHxAFxQAJQAlAcEAfEAXFAHBAHxIER44AK\\r\\nfMQKXL0+9frEAXFAHBAHxAFxQAJQAlAcEAfEAXFAHBAHxIHh5MBv3T05\\/IM6gn68\\r\\nF\\/i\\/u+Gi8JEZE8Nn7pkS\\/vetE8I\\/uu7coVH9hz88Jzz58gvhK\\/Nmhn84ROn2nPon\\r\\n158XfvfeW8MpKxeFO5\\/aHNa\\/8FzY9fqr4c133k6PG158Ltz99BPhtEcXh9+7b2r4\\r\\np9efPzTl4\\/Op8+GsOHtZblTQ\\/3PKlen78Im7bw7\\/3+TLxfU6jZae6ThvaF8+OP26\\r\\n8Mu3TwrU2VXfi\\/9w48UBEfJfJl9W6lnq+Z+aenX45xM7X9\\/\\/5Zw7w\\/wdz4Q3...
[JSONWP Proxy] Replacing sessionId F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889 with d057cbff-b771-4e68-935f-7a81277c273a
[HTTP] <-- GET /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/screenshot 200 115 ms - 128470
[HTTP] --> POST /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/element {"using":"xpath","value":"//*/XCUIElementTypeCell/XCUIElementTypeSwitch[@name='Use Manual Scanner']"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//*/XCUIElementTypeCell/XCUIElementTypeSwitch[@name='Use Manual Scanner']","d057cbff-b771-4e68-935f-7a81277c273a"]
[debug] [XCUITest] Executing command 'findElement'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id
[debug] [BaseDriver] Waiting up to 60000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889/element] with body: {"using":"xpath","value":"//*/XCUIElementTypeCell/XCUIElementTypeSwitch[@name='Use Manual Scanner']"}
[some parts deleted]
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:50:40 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:50:40 iPhone5c testmanagerd[224] <Notice>: <private>
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889","value":{"using":"xpath","value":"//*/XCUIElementTypeCell/XCUIElementTypeSwitch[@name='Use Manual Scanner']","description":"unable to find an element"},"status":7}
[debug] [BaseDriver] Waited for 49892 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889/element] with body: {"using":"xpath","value":"//*/XCUIElementTypeCell/XCUIElementTypeSwitch[@name='Use Manual Scanner']"}
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:50:41 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:50:41 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:50:54 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:50:54 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:50:54 iPhone5c testmanagerd[224] <Notice>: <private>
[iOSLog] [IOS_SYSLOG_ROW] Jan 9 14:50:54 iPhone5c locationd[67] <Notice>: message 'kCLConnectionMessageWatchdog' received from client '/System/Library/LocationBundles/MagicalMoments.bundle'
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889","value":{"using":"xpath","value":"//*/XCUIElementTypeCell/XCUIElementTypeSwitch[@name='Use Manual Scanner']","description":"unable to find an element"},"status":7}
[HTTP] <-- POST /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/element 500 64122 ms - 164
[HTTP] --> GET /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/d057cbff-b771-4e68-935f-7a81277c273a/screenshot] to [GET http://localhost:8100/session/F1BEA26D-3C2C-48B4-BC68-8E6C2F3F2889/screenshot] with body: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment