Skip to content

Instantly share code, notes, and snippets.

@dpgraham
Created March 30, 2017 15:56
Show Gist options
  • Save dpgraham/97890566ae6f8382267f57c899a4e9a0 to your computer and use it in GitHub Desktop.
Save dpgraham/97890566ae6f8382267f57c899a4e9a0 to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.6.4-beta (REV e4c6e4a5d800dad81164bc08b50d75617c229e50)
[Appium] Non-default server args:
[Appium] port: 4333
[Appium] Appium REST http interface listener started on 0.0.0.0:4333
[HTTP] --> POST /wd/hub/session {"capabilities":[{"desiredCapabilities":{"app":"/Users/nts/Desktop/NETAS/Setups/ipas/MTOSApp.ipa","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"10.0","automationName":"XCUITest","browserName":"","udid":"d01c71e5bff18e022248d8e5e218c6bc0bbbfbba","platformName":"iOS","deviceName":"Tolga's IPhone","fullReset":false,"autoAcceptAlerts":true}},{"requiredCapabilities":{}}],"desiredCapabilities":{"app":"/Users/nts/Desktop/NETAS/Setups/ipas/MTOSApp.ipa","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"10.0","automationName":"XCUITest","browserName":"","udid":"d01c71e5bff18e022248d8e5e218c6bc0bbbfbba","platformName":"iOS","deviceName":"Tolga's IPhone","fullReset":false,"autoAcceptAlerts":true},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/nts/Desktop/NETAS/Setups/ipas/MTOSApp.ipa","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"10.0","automationName":"XCUITest","browserName":"","udid":"d01c71e5bff18e022248d8e5e218c6bc0bbbfbba","platformName":"iOS","deviceName":"Tolga's IPhone","fullReset":false,"autoAcceptAlerts":true},{},[{"desiredCapabilities":{"app":"/Users/nts/Desktop/NETAS/Setups/ipas/MTOSApp.ipa","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"10.0","automationName":"XCUITest","browserName":"","udid":"d01c71e5bff18e022248d8e5e218c6bc0bbbfbba","platformName":"iOS","deviceName":"Tolga's IPhone","fullReset":false,"autoAcceptAlerts":true}},{"requiredCapabilities":{}}],null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1490889077664 (18:51:17 GMT+0300 (+03))
[Appium] Creating new XCUITestDriver (v2.23.1) session
[Appium] Capabilities:
[Appium] app: '/Users/nts/Desktop/NETAS/Setups/ipas/MTOSApp.ipa'
[Appium] realDeviceLogger: '/usr/local/lib/node_modules/deviceconsole/deviceconsole'
[Appium] platformVersion: '10.0'
[Appium] automationName: 'XCUITest'
[Appium] browserName: ''
[Appium] udid: 'd01c71e5bff18e022248d8e5e218c6bc0bbbfbba'
[Appium] platformName: 'iOS'
[Appium] deviceName: 'Tolga\'s IPhone'
[Appium] fullReset: false
[Appium] autoAcceptAlerts: true
[debug] [XCUITest] XCUITestDriver version: 2.23.1
[BaseDriver] The following capabilities were provided, but are not recognized by appium: realDeviceLogger.
[XCUITest] The capabilities 'autoAcceptAlerts' and 'autoDismissAlerts' do not work for XCUITest-based tests. Please adjust your alert handling accordingly.
[BaseDriver] Session created with session id: 759061e3-1336-4258-9bd2-283ce1f11824
[Xcode] Failed to get command line tools version: Command 'pkgutil --pkg-info\=com.apple.pkg.CLTools_Executables' exited with code 1.
[debug] [XCUITest] Xcode version set to '8.3' (tools vundefined)
[debug] [XCUITest] iOS SDK Version set to '10.3'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1490889077846 (18:51:17 GMT+0300 (+03))
[debug] [XCUITest] Available devices: d01c71e5bff18e022248d8e5e218c6bc0bbbfbba
[debug] [XCUITest] Creating iDevice object with udid 'd01c71e5bff18e022248d8e5e218c6bc0bbbfbba'
[XCUITest] Determining device to run tests on: udid: 'd01c71e5bff18e022248d8e5e218c6bc0bbbfbba', real device: true
[BaseDriver] Using local app '/Users/nts/Desktop/NETAS/Setups/ipas/MTOSApp.ipa'
[debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/kl/zfs4qq_d119cvqq26x9rt3zc0000gp/T/2017230-7041-1nox5tp/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/kl/zfs4qq_d119cvqq26x9rt3zc0000gp/T/2017230-7041-1nox5tp/appium-app.zip
[BaseDriver] Unzipped local app to '/var/folders/kl/zfs4qq_d119cvqq26x9rt3zc0000gp/T/2017230-7041-1nox5tp/Payload/MTOSApp.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1490889078067 (18:51:18 GMT+0300 (+03))
[debug] [XCUITest] Checking whether app '/var/folders/kl/zfs4qq_d119cvqq26x9rt3zc0000gp/T/2017230-7041-1nox5tp/Payload/MTOSApp.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/kl/zfs4qq_d119cvqq26x9rt3zc0000gp/T/2017230-7041-1nox5tp/Payload/MTOSApp.app': 'tr.com.netas.MTOSApp'
[debug] [BaseDriver] Event 'resetStarted' logged at 1490889078071 (18:51:18 GMT+0300 (+03))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1490889078073 (18:51:18 GMT+0300 (+03))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1490889078256 (18:51:18 GMT+0300 (+03))
[XCUITest] Setting up real device
[debug] [XCUITest] Reset requested. Removing app with id 'tr.com.netas.MTOSApp' from the device
[debug] [XCUITest] Installing '/var/folders/kl/zfs4qq_d119cvqq26x9rt3zc0000gp/T/2017230-7041-1nox5tp/Payload/MTOSApp.app' on device with UUID 'd01c71e5bff18e022248d8e5e218c6bc0bbbfbba'...
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1490889084185 (18:51:24 GMT+0300 (+03))
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1490889084188 (18:51:24 GMT+0300 (+03))
[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] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=d01c71e5bff18e022248d8e5e218c6bc0bbbfbba -configuration Debug' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will not be logged
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [XCUITest] Log file for xcodebuild test: /Users/nts/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/A247F62E-288A-4BD2-9ACE-43DE97FBF126/Session-WebDriverAgentRunner-2017-03-30_185132-Wob4PX.log
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"10.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"10.3\"\n },\n \"build\" : {\n \"time\" : \"Mar 22 2017 23:10:15\"\n }\n },\n \"sessionId\" : \"B35537E4-43A1-43C8-865C-A87F3B3F181C\",\n \"status\" : 0\n}"
[debug] [XCUITest] WebDriverAgent successfully started after 13569ms
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1490889102887 (18:51:42 GMT+0300 (+03))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"tr.com.netas.MTOSApp","arguments":[],"environment":{},"shouldWaitForQuiescence":true}}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E","capabilities":{"device":"iphone","browserName":"MTOSApp","sdkVersion":"10.3","CFBundleIdentifier":"tr.com.netas.MTOSApp"}},"sessionId":"97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1490889104543 (18:51:44 GMT+0300 (+03))
[debug] [XCUITest] Found WDA derived data folder: '/Users/nts/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy'
[XCUITest] Setting '555' permissions to '/Users/nts/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Attachments' folder
[debug] [BaseDriver] Event 'wdaPermsAdjusted' logged at 1490889104546 (18:51:44 GMT+0300 (+03))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1490889104546 (18:51:44 GMT+0300 (+03))
[debug] [XCUITest] Setting initial orientation to 'PORTRAIT'
[debug] [JSONWP Proxy] Proxying [POST /orientation] to [POST http://localhost:8100/session/97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E/orientation] with body: {"orientation":"PORTRAIT"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E","status":0}
[debug] [BaseDriver] Event 'orientationSet' logged at 1490889104894 (18:51:44 GMT+0300 (+03))
[Appium] New XCUITestDriver session created successfully, session 759061e3-1336-4258-9bd2-283ce1f11824 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1490889104896 (18:51:44 GMT+0300 (+03))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"app":"/Users/nts/Desktop/NETAS/Setups/ipas/MTOSApp.ipa","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"10.0","automationName":"XCUITest","udid":"d01c71e5bff18e022248d8e5e218c6bc0bbbfbba","platformName":"iOS","deviceName":"Tolga's IPhone","fullReset":false,"autoAcceptAlerts":true}
[HTTP] <-- POST /wd/hub/session 200 27241 ms - 599
[HTTP] --> GET /wd/hub/session/759061e3-1336-4258-9bd2-283ce1f11824 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["759061e3-1336-4258-9bd2-283ce1f11824"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \"MTOSApp\",\n \"sdkVersion\" : \"10.3\",\n \"CFBundleIdentifier\" : \"tr.com.netas.MTOSApp\"\n }\n },\n \"sessionId\" : \"97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E\",\n \"status\" : 0\n}"
[XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"udid":"d01c71e5bff18e022248d8e5e218c6bc0bbbfbba","app":"/Users/nts/Desktop/NETAS/Setups/ipas/MTOSApp.ipa","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"10.0","automationName":"XCUITest","browserName":"MTOSApp","platformName":"iOS","deviceName":"Tolga's IPhone","fullReset":false,"autoAcceptAlerts":true,"device":"iphone","sdkVersion":"10.3","CFBundleIdentifier":"tr.com.netas.MTOSApp"}
[HTTP] <-- GET /wd/hub/session/759061e3-1336-4258-9bd2-283ce1f11824 200 169 ms - 509
[HTTP] --> GET /wd/hub/session/759061e3-1336-4258-9bd2-283ce1f11824 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["759061e3-1336-4258-9bd2-283ce1f11824"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \"MTOSApp\",\n \"sdkVersion\" : \"10.3\",\n \"CFBundleIdentifier\" : \"tr.com.netas.MTOSApp\"\n }\n },\n \"sessionId\" : \"97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E\",\n \"status\" : 0\n}"
[XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"udid":"d01c71e5bff18e022248d8e5e218c6bc0bbbfbba","app":"/Users/nts/Desktop/NETAS/Setups/ipas/MTOSApp.ipa","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"10.0","automationName":"XCUITest","browserName":"MTOSApp","platformName":"iOS","deviceName":"Tolga's IPhone","fullReset":false,"autoAcceptAlerts":true,"device":"iphone","sdkVersion":"10.3","CFBundleIdentifier":"tr.com.netas.MTOSApp"}
[HTTP] <-- GET /wd/hub/session/759061e3-1336-4258-9bd2-283ce1f11824 200 144 ms - 509
[HTTP] --> GET /wd/hub/session/759061e3-1336-4258-9bd2-283ce1f11824/source {}
[debug] [MJSONWP] Calling AppiumDriver.getPageSource() with args: ["759061e3-1336-4258-9bd2-283ce1f11824"]
[debug] [XCUITest] Executing command 'getPageSource'
[debug] [JSONWP Proxy] Proxying [GET /source] to [GET http://localhost:8100/session/97D3ABE8-5504-42EC-B801-0DAE5C4D3E6E/source] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"tree\" : {\n \"isEnabled\" : \"1\",\n \"isVisible\" : \"1\",\n \"frame\" : \"{{0, 0}, {375, 667}}\",\n \"children\" : [\n {\n \"isEnabled\" : \"1\",\n \"isVisible\" : \"1\",\n \"frame\" : \"{{0, 0}, {375, 667}}\",\n \"children\" : [\n {\n \"isEnabled\" : \"1\",\n \"isVisible\" : \"1\",\n \"frame\" : \"{{0, 0}, {375, 667}}\",\n \"children\" : [\n {\n \"isEnabled\" : \"1\",\n \"isVisible\" : \"1\",\n \"frame\" : \"{{0, 20}, {375, 44}}\",\n \"children\" : [\n {\n \"isEnabled\" : \"1\",\n \"isVisible\" : \"1\",\n \"frame\" : \"{{107, 28}, {162, 27}}\",\n \"rect\" : {\n \"y\" : 28,\n \"x\" : 107,\n \"width\" : ...
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
[xmldom error] element parse error: TypeError: source.indexOf is not a function
@#[line:0,col:undefined]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment