Skip to content

Instantly share code, notes, and snippets.

@vikramvi
Created August 16, 2017 13:18
Show Gist options
  • Select an option

  • Save vikramvi/e657be8a73d2f348a4afb05eb66bd64e to your computer and use it in GitHub Desktop.

Select an option

Save vikramvi/e657be8a73d2f348a4afb05eb66bd64e to your computer and use it in GitHub Desktop.
appium installation success
vikram-anna-pro:~ vikram-anna$ appium
[Appium] Welcome to Appium v1.6.6-beta.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"","version":"","platform":"ANY","javascriptEnabled":true,"cssSelectorsEnabled":true,"takesScreenshot":true,"nativeEvents":false,"rotatable":false,"newCommandTimeout":999999,"automationName":"XCUITest","platformName":"iOS","platformVersion":"9.3","deviceName":"iPhone 4S","udid":"6930e9e68d8fe637f29a39768f1b846a72805a96","app":"/Users/vikram-anna/Documents/WordPressSample/src/test/resources/apps/ios/SIP.ipa","xcodeSigningId":"iPhone Developer"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"","version":"","platform":"ANY","javascriptEnabled":true,"cssSelectorsEnabled":true,"takesScreenshot":true,"nativeEvents":false,"rotatable":false,"newCommandTimeout":999999,"automationName":"XCUITest","platformName":"iOS","platformVersion":"9.3","deviceName":"iPhone 4S","udid":"6930e9e68d8fe637f29a39768f1b846a72805a96","app":"/Users/vikram-anna/Documents/WordPressSample/src/test/resources/apps/ios/SIP.ipa","xcodeSigningId":"iPhone Developer"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1502889023803 (15:10:23 GMT+0200 (CEST))
[Appium] Creating new XCUITestDriver (v2.38.0) session
[Appium] Capabilities:
[Appium] browserName: ''
[Appium] version: ''
[Appium] platform: 'ANY'
[Appium] javascriptEnabled: true
[Appium] cssSelectorsEnabled: true
[Appium] takesScreenshot: true
[Appium] nativeEvents: false
[Appium] rotatable: false
[Appium] newCommandTimeout: 999999
[Appium] automationName: 'XCUITest'
[Appium] platformName: 'iOS'
[Appium] platformVersion: '9.3'
[Appium] deviceName: 'iPhone 4S'
[Appium] udid: '6930e9e68d8fe637f29a39768f1b846a72805a96'
[Appium] app: '/Users/vikram-anna/Documents/WordPressSample/src/test/resources/apps/ios/SIP.ipa'
[Appium] xcodeSigningId: 'iPhone Developer'
[debug] [XCUITest] XCUITestDriver version: 2.38.0
[BaseDriver] The following capabilities were provided, but are not recognized by appium: version, platform, javascriptEnabled, cssSelectorsEnabled, takesScreenshot, nativeEvents, rotatable.
[BaseDriver] Session created with session id: ef525a91-66b5-4399-a27e-2862a9e8a426
[debug] [XCUITest] Xcode version set to '8.3.3'
[debug] [XCUITest] iOS SDK Version set to '10.3'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1502889023952 (15:10:23 GMT+0200 (CEST))
[debug] [XCUITest] Available devices: 6930e9e68d8fe637f29a39768f1b846a72805a96, 6930e9e68d8fe637f29a39768f1b846a72805a96
[debug] [XCUITest] Creating iDevice object with udid '6930e9e68d8fe637f29a39768f1b846a72805a96'
[XCUITest] Determining device to run tests on: udid: '6930e9e68d8fe637f29a39768f1b846a72805a96', real device: true
[BaseDriver] Using local app '/Users/vikram-anna/Documents/WordPressSample/src/test/resources/apps/ios/SIP.ipa'
[debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017716-21853-1ljawpt.t2cfvfgvi/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017716-21853-1ljawpt.t2cfvfgvi/appium-app.zip
[BaseDriver] Unzipped local app to '/var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017716-21853-1ljawpt.t2cfvfgvi/Payload/SIP.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1502889024521 (15:10:24 GMT+0200 (CEST))
[debug] [XCUITest] Checking whether app '/var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017716-21853-1ljawpt.t2cfvfgvi/Payload/SIP.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017716-21853-1ljawpt.t2cfvfgvi/Payload/SIP.app': 'com.vikram.celerstudio.sip'
[debug] [BaseDriver] Event 'resetStarted' logged at 1502889024534 (15:10:24 GMT+0200 (CEST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1502889024534 (15:10:24 GMT+0200 (CEST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1502889024764 (15:10:24 GMT+0200 (CEST))
[XCUITest] Setting up real device
[debug] [XCUITest] Installing '/var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017716-21853-1ljawpt.t2cfvfgvi/Payload/SIP.app' on device with UUID '6930e9e68d8fe637f29a39768f1b846a72805a96'...
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1502889030119 (15:10:30 GMT+0200 (CEST))
[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'
[debug] [XCUITest] Capability 'useNewWDA' set to false, so trying to reuse currently running WDA instance at 'http://localhost:8100/'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/'. Rebuilding...
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1502889030153 (15:10:30 GMT+0200 (CEST))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[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=6930e9e68d8fe637f29a39768f1b846a72805a96 IPHONEOS_DEPLOYMENT_TARGET=9.3' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will not be logged. To see xcode logging, use 'showXcodeLog' desired capability
[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] [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] [XCUITest] Log file for xcodebuild test: /Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/2AEEDFC4-7393-4B1E-9758-D389AF9F1E58/Session-WebDriverAgentRunner-2017-08-16_151042-1Z95aW.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] 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 \"sessionId\" : \"A98C8096-C027-4C21-9099-B8331E52FCD7\",\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iPhone OS\",\n \"version\" : \"9.3.5\"\n },\n \"ios\" : {\n \"ip\" : \"192.168.2.51\",\n \"simulatorVersion\" : \"9.3.5\"\n },\n \"build\" : {\n \"time\" : \"Aug 16 2017 15:10:39\"\n }\n },\n \"status\" : 0\n}"
[debug] [XCUITest] WebDriverAgent running on ip '192.168.2.51'
[debug] [XCUITest] WebDriverAgent successfully started after 22128ms
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1502889057405 (15:10:57 GMT+0200 (CEST))
[debug] [XCUITest] Sending createSession command to WDA
[XCUITest] Forcing shouldUseSingletonTestManager capability value to true, because of known XCTest issues under 9.3 platform version
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.vikram.celerstudio.sip","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"CC1692AF-9855-479A-862F-2641D1FD35D9","value":{"sessionId":"CC1692AF-9855-479A-862F-2641D1FD35D9","capabilities":{"browserName":"SIP","device":"iphone","CFBundleIdentifier":"com.vikram.celerstudio.sip","sdkVersion":"9.3.5"}},"status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1502889067122 (15:11:07 GMT+0200 (CEST))
[debug] [XCUITest] Found WDA derived data folder: '/Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy'
[XCUITest] Setting '555' permissions to '/Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Attachments' folder
[debug] [BaseDriver] Event 'wdaPermsAdjusted' logged at 1502889067128 (15:11:07 GMT+0200 (CEST))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1502889067129 (15:11:07 GMT+0200 (CEST))
[debug] [XCUITest] Setting initial orientation to 'PORTRAIT'
[debug] [JSONWP Proxy] Proxying [POST /orientation] to [POST http://localhost:8100/session/CC1692AF-9855-479A-862F-2641D1FD35D9/orientation] with body: {"orientation":"PORTRAIT"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"CC1692AF-9855-479A-862F-2641D1FD35D9","value":{},"status":0}
[debug] [BaseDriver] Event 'orientationSet' logged at 1502889070110 (15:11:10 GMT+0200 (CEST))
[Appium] New XCUITestDriver session created successfully, session ef525a91-66b5-4399-a27e-2862a9e8a426 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1502889070114 (15:11:10 GMT+0200 (CEST))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"ANY","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"version":"","cssSelectorsEnabled":true,"nativeEvents":false,"rotatable":false,"newCommandTimeout":999999,"automationName":"XCUITest","platformName":"iOS","platformVersion":"9.3","deviceName":"iPhone 4S","udid":"6930e9e68d8fe637f29a39768f1b846a72805a96","app":"/Users/vikram-anna/Documents/WordPressSample/src/test/resources/apps/ios/SIP.ipa","xcodeSigningId":"iPhone Developer"}
[HTTP] <-- POST /wd/hub/session 200 46318 ms - 749
[HTTP] --> GET /wd/hub/status {}
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.6.6-beta.3","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 14 ms - 90
[HTTP] --> POST /wd/hub/session/ef525a91-66b5-4399-a27e-2862a9e8a426/timeouts/implicit_wait {"ms":0}
[debug] [MJSONWP] Calling AppiumDriver.implicitWait() with args: [0,"ef525a91-66b5-4399-a27e-2862a9e8a426"]
[debug] [XCUITest] Executing command 'implicitWait'
[debug] [BaseDriver] Set implicit wait to 0ms
[debug] [MJSONWP] Responding to client with driver.implicitWait() result: null
[HTTP] <-- POST /wd/hub/session/ef525a91-66b5-4399-a27e-2862a9e8a426/timeouts/implicit_wait 200 19 ms - 76
[HTTP] --> GET /wd/hub/session/ef525a91-66b5-4399-a27e-2862a9e8a426/context {}
[debug] [MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["ef525a91-66b5-4399-a27e-2862a9e8a426"]
[debug] [XCUITest] Executing command 'getCurrentContext'
[debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/ef525a91-66b5-4399-a27e-2862a9e8a426/context 200 30 ms - 84
[HTTP] --> GET /wd/hub/session/ef525a91-66b5-4399-a27e-2862a9e8a426/context {}
[debug] [MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["ef525a91-66b5-4399-a27e-2862a9e8a426"]
[debug] [XCUITest] Executing command 'getCurrentContext'
[debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/ef525a91-66b5-4399-a27e-2862a9e8a426/context 200 16 ms - 84
[HTTP] --> GET /wd/hub/session/ef525a91-66b5-4399-a27e-2862a9e8a426/source {}
[debug] [MJSONWP] Calling AppiumDriver.getPageSource() with args: ["ef525a91-66b5-4399-a27e-2862a9e8a426"]
[debug] [XCUITest] Executing command 'getPageSource'
[debug] [JSONWP Proxy] Proxying [GET /source] to [GET http://localhost:8100/session/CC1692AF-9855-479A-862F-2641D1FD35D9/source] with no body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment