iOS 系统UI自动化测试介绍(8)
发表于:2016-11-15来源:简书作者:孢子菌点击数:
标签:自动化测试
_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
_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] Killing hanging processes
[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=B9747B0B-C664-4C44-A651-9C3D8F7A980A -configuration Debug' in directory '/usr/local/lib/node
_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Waiting for WebDriverAgent to start on device
[
debug] [WebDriverAgent] Sim: Nov 2 16:50:33 999999999 CoreSimulatorBridge[56212]:
Pasteboard change listener callback port <NSMachPort: 0x7ff8707030a0> registered
[Xcode] === BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
[Xcode] === BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
// WebDriverAgentRunner-Runner.app
[
debug] [WebDriverAgent] Sim: Nov 2 16:50:42 999999999 CoreSimulatorBridge[56212]:
Requesting installation of file:///Users/zhiyu.zhao/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/ with options: {
[
debug] [
WebDriverAgent] Sim: Nov 2 16:50:46 999999999 CoreSimulatorBridge[
56212]: [
Common] [
FBSSystemService][
0xc2a4] Sending request to open "com.apple.test.WebDriverAgentRunner-Runner"
[
debug] [
WebDriverAgent] Sim: Nov 2 16:50:46 999999999 CoreSimulatorBridge[
56212]: [
Common] [
FBSSystemService][
0xc2a4] Request successful:
<FBSProcessHandle: 0x7ff870505830; XCTRunner:56563; valid: YES>
[
debug] [WebDriverAgent] Sim: Nov 2 16:50:47 999999999 XCTRunner[56563]:
assertion failed: 15G31 14A345: libxpc.dylib + 62597 [37A9DF49-35C1-3D93-B854-B35CACF0100F]: 0x7d
[
debug] [WebDriverAgent] Sim: Nov 2 16:50:47 999999999 XCTRunner[56563]:
Running tests...
[debug] [WebDriverAgent] Sim: Nov 2 16:50:48 --- last message repeated 4 times ---
[
debug] [WebDriverAgent] Sim: Nov 2 16:50:48 999999999 XCTRunner[56563]:
Continuing to run tests in the background with task ID 1
[debug] [WebDriverAgent] Sim: Nov 2 16:50:48 --- last message repeated 13 times ---
[
debug] [WebDriverAgent] Sim: Nov 2 16:50:48 999999999 XCTRunner[56563]:
Built at Nov 2 2016 16:50:41
[XCUITest] Detected that WebDriverAgent is running at url 'http://10.86.132.138:8100'
[
debug] [WebDriverAgent] Sim: Nov 2 16:50:48 999999999 XCTRunner[56563]:
ServerURLHere->http://10.86.132.138:8100<-ServerURLHere
[XCUITest] WebDriverAgent started at url 'http://10.86.132.138:8100'
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"io.appium.TestApp","arguments":[],"environment":{},"shouldWaitForQuiescence":true}}
[JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"79CBBB84-DB6E-48BA-B79F-91539E1E4708","capabilities":{"device":"iphone","browserName":"TestApp","sdkVersion":"10.0","CFBundleIdentifier":"io.appium.TestApp"}},"sessionId":"79CBBB84-DB6E-48BA-B79F-91539E1E4708","status":0}
[Appium] New XCUITestDriver session created successfully, session 94f7526c-94ba-4ece-8740-d94bd3d4f50f added to master session list
[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/zhiyu.zhao/Desktop/appiumTest/sample...
[HTTP]
原文转自:http://www.jianshu.com/p/aae160cb9cc4