Skip to content

Instantly share code, notes, and snippets.

@mmuntakim15
Created October 5, 2016 20:06
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 mmuntakim15/14019d4afc958b80df68893c821d5e6d to your computer and use it in GitHub Desktop.
Save mmuntakim15/14019d4afc958b80df68893c821d5e6d to your computer and use it in GitHub Desktop.
Mohammads-MacBook-Pro:appium mohammadmuntakim1$ appium
[Appium] Welcome to Appium v1.6.0-beta3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/mohammadmuntakim1/Documents/ios_rfr_app/Sandbox.app","noReset":false,"platformVersion":"10.0","automationName":"XCUITest","platformName":"iOS","deviceName":"iPad Air 2"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/mohammadmun...
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] app: '/Users/mohammadmuntakim1/Documents/ios_rfr_app/Sandbox.app'
[Appium] noReset: false
[Appium] platformVersion: '10.0'
[Appium] automationName: 'XCUITest'
[Appium] platformName: 'iOS'
[Appium] deviceName: 'iPad Air 2'
[debug] [XCUITest] XCUITestDriver version: 2.0.23
[BaseDriver] Session created with session id: 4ffda1e2-a64f-425f-bb22-a1570f849644
[debug] [XCUITest] Xcode version set to '8.0'
[debug] [XCUITest] iOS SDK Version set to '10.0'
[iOSSim] Constructing iOS simulator for Xcode version 8.0 with udid '07193436-7535-4B99-8761-0120634047A6'
[XCUITest] Determining device to run tests on: udid: '07193436-7535-4B99-8761-0120634047A6', real device: false
[BaseDriver] Using local app '/Users/mohammadmuntakim1/Documents/ios_rfr_app/Sandbox.app'
[debug] [XCUITest] Checking whether app is actually present
[debug] [ios-app-utils] Getting bundle ID from app
[debug] [iOSLog] Starting iOS 10.0 simulator log capture
[debug] [iOSLog] System log path: /Users/mohammadmuntakim1/Library/Logs/CoreSimulator/07193436-7535-4B99-8761-0120634047A6/system.log
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[XCUITest] Simulator with udid '07193436-7535-4B99-8761-0120634047A6' already booted
[XCUITest] Using default agent: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[XCUITest] Using default bootstrap: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Beginning test with command 'xcodebuild -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=07193436-7535-4B99-8761-0120634047A6 build test' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /Users/mohammadmuntakim1/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/F29BD7F6-A073-48D6-B440-DCD909DE7F0D/Session-WebDriverAgentRunner-2016-10-05_160420-qT5TS9.log
[debug] [WebDriverAgent] Sim: Oct 5 16:04:23 Mohammads-MacBook-Pro CoreSimulatorBridge[18678]: Requesting installation of file:///Users/mohammadmuntakim1/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/ with options: {
[debug] [WebDriverAgent] Sim: CFBundleIdentifier = "com.apple.test.WebDriverAgentRunner-Runner";
[debug] [WebDriverAgent] Sim: PackageType = Developer;
[debug] [WebDriverAgent] Sim: SimulatorRootPath = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk";
[debug] [WebDriverAgent] Sim: SimulatorUserPath = "/Users/mohammadmuntakim1/Library/Developer/CoreSimulator/Devices/07193436-7535-4B99-8761-0120634047A6/data";
[debug] [WebDriverAgent] Sim: }
[debug] [WebDriverAgent] Sim: Oct 5 16:04:27 Mohammads-MacBook-Pro CoreSimulatorBridge[18678]: Requesting launch of com.apple.test.WebDriverAgentRunner-Runner with options: {
[debug] [WebDriverAgent] Sim: arguments = (
[debug] [WebDriverAgent] Sim: "-NSTreatUnknownArgumentsAsOpen",
[debug] [WebDriverAgent] Sim: NO,
[debug] [WebDriverAgent] Sim: "-ApplePersistenceIgnoreState",
[debug] [WebDriverAgent] Sim: YES
[debug] [WebDriverAgent] Sim: );
[debug] [WebDriverAgent] Sim: environment = {
[debug] [WebDriverAgent] Sim: "DTX_CONNECTION_SERVICES_PATH" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/PrivateFrameworks/DTXConnectionServices.framework";
[debug] [WebDriverAgent] Sim: "DYLD_FRAMEWORK_PATH" = "/Users/mohammadmuntakim1/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator:/Users/mohammadmuntakim1/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks";
[debug] [WebDriverAgent] Sim: "DYLD_LIBRARY_PATH" = "/Users/mohammadmuntakim1/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator:/Users/mohammadmuntakim1/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks";
[debug] [WebDriverAgent] Sim: NSUnbufferedIO = YES;
[debug] [WebDriverAgent] Sim: "OS_ACTIVITY_DT_MODE" = YES;
[debug] [WebDriverAgent] Sim: "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
[debug] [WebDriverAgent] Sim: XCTestConfigurationFilePath = "/var/folders/3l/l1fw2qnx3bq7glyp937gpvm00000gp/T/com.apple.dt.XCTest/62F881EF-21C6-4B30-B459-6B31FE7F2538/remote-container/tmp/WebDriverAgentRunner-62F881EF-21C6-4B30-B459-6B31FE7F2538.xctestconfiguration";
[debug] [WebDriverAgent] Sim: "__XCODE_BUILT_PRODUCTS_DIR_PATHS" = "/Users/mohammadmuntakim1/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator";
[debug] [WebDriverAgent] Sim: "__XPC_DYLD_FRAMEWORK_PATH" = "/Users/mohammadmuntakim1/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator";
[debug] [WebDriverAgent] Sim: "__XPC_DYLD_LIBRARY_PATH" = "/Users/mohammadmuntakim1/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator";
[debug] [WebDriverAgent] Sim: };
[debug] [WebDriverAgent] Sim: stderr = "/dev/ttys003";
[debug] [WebDriverAgent] Sim: stdout = "/dev/ttys003";
[debug] [WebDriverAgent] Sim: "wait_for_debugger" = 0;
[debug] [WebDriverAgent] Sim: }
[debug] [WebDriverAgent] Sim: Oct 5 16:04:27 Mohammads-MacBook-Pro CoreSimulatorBridge[18678]: [Common] [FBSSystemService][0x5172] Sending request to open "com.apple.test.WebDriverAgentRunner-Runner"
[debug] [WebDriverAgent] Sim: Oct 5 16:04:27 Mohammads-MacBook-Pro CoreSimulatorBridge[18678]: [Common] [FBSSystemService][0x5172] Request successful: <FBSProcessHandle: 0x7f7f887070d0; XCTRunner:19440; valid: YES>
[debug] [WebDriverAgent] Sim: Oct 5 16:04:27 Mohammads-MacBook-Pro XCTRunner[19440]: assertion failed: 15G31 14A345: libxpc.dylib + 62597 [37A9DF49-35C1-3D93-B854-B35CACF0100F]: 0x7d
[debug] [WebDriverAgent] Sim: Oct 5 16:04:27 Mohammads-MacBook-Pro XCTRunner[19440]: Running tests...
[debug] [WebDriverAgent] Sim: Oct 5 16:04:28 --- last message repeated 4 times ---
[debug] [WebDriverAgent] Sim: Oct 5 16:04:28 Mohammads-MacBook-Pro XCTRunner[19440]: Continuing to run tests in the background with task ID 1
[debug] [WebDriverAgent] Sim: Oct 5 16:04:28 --- last message repeated 11 times ---
[debug] [WebDriverAgent] Sim: Oct 5 16:04:28 Mohammads-MacBook-Pro XCTRunner[19440]: Built at Oct 5 2016 16:04:22
[XCUITest] Detected that WebDriverAgent is running at url 'http://192.168.1.127:8100'
[debug] [WebDriverAgent] Sim: Oct 5 16:04:28 Mohammads-MacBook-Pro XCTRunner[19440]: ServerURLHere->http://192.168.1.127:8100<-ServerURLHere
[XCUITest] WebDriverAgent started at url 'http://192.168.1.127:8100'
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bu...
[JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"452D...
[Appium] New XCUITestDriver session created successfully, session 4ffda1e2-a64f-425f-bb22-a1570f849644 added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,...
[HTTP] <-- POST /wd/hub/session 200 19122 ms - 452
[HTTP] --> POST /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/timeouts {"type":"implicit","ms":30000}
[MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",30000,"4ffda1e2...
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] Set implicit wait to 30000ms
[MJSONWP] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/timeouts 200 6 ms - 76
[HTTP] --> POST /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/timeouts {"type":"implicit","ms":0}
[MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",0,"4ffda1e2-a64...
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] Set implicit wait to 0ms
[MJSONWP] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/timeouts 200 3 ms - 76
[HTTP] --> GET /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/context {}
[MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["4ffda1e2-a64f-425f-bb22-a...
[debug] [XCUITest] Executing command 'getCurrentContext'
[MJSONWP] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/context 200 4 ms - 84
[HTTP] --> POST /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/elements {"using":"accessibility id","value":"login_username_field_id"}
[MJSONWP] Calling AppiumDriver.findElements() with args: ["accessibility id","login_...
[debug] [XCUITest] Executing command 'findElements'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/452DE965-135A-46B8-AF42-CDEA115A3623/elements] with body: {"using":"accessibility id"...
[JSONWP Proxy] Got response with status 200: {"value":[{"ELEMENT":"4AF05...
[MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"4AF058A2-DE57-...
[HTTP] <-- POST /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/elements 200 428 ms - 169
[HTTP] --> POST /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/timeouts {"type":"implicit","ms":15000}
[MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",15000,"4ffda1e2...
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] Set implicit wait to 15000ms
[MJSONWP] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/timeouts 200 3 ms - 76
[HTTP] --> POST /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/appium/element/4AF058A2-DE57-460B-8E7D-19F7AE2937CD/value {"id":"4AF058A2-DE57-460B-8E7D-19F7AE2937CD","value":"Mohammad"}
[MJSONWP] Calling AppiumDriver.setValueImmediate() with args: ["Mohammad","4AF058A2-DE57-...
[debug] [XCUITest] Executing command 'setValueImmediate'
[XCUITest] There is currently no way to bypass typing using XCUITest. Setting value through keyboard
[JSONWP Proxy] Proxying [POST /element/4AF058A2-DE57-460B-8E7D-19F7AE2937CD/value] to [POST http://localhost:8100/session/452DE965-135A-46B8-AF42-CDEA115A3623/element/4AF058A2-DE57-460B-8E7D-19F7AE2937CD/value] with body: {"value":["M","o","h","a","...
[JSONWP Proxy] Got response with status 200: {"value":"Error Domain=com....
[HTTP] <-- POST /wd/hub/session/4ffda1e2-a64f-425f-bb22-a1570f849644/appium/element/4AF058A2-DE57-460B-8E7D-19F7AE2937C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment