Giter Site home page Giter Site logo

macacajs / xctestwd Goto Github PK

View Code? Open in Web Editor NEW
230.0 24.0 62.0 806 KB

A Swift implementation of WebDriver server for iOS that runs on Simulator/iOS devices.

Home Page: https://macacajs.github.io

License: MIT License

Swift 54.57% C 0.31% Objective-C 30.66% Shell 2.67% JavaScript 11.79%
macaca xctest ios swift webdriver automation hacktoberfest

xctestwd's Introduction

XCTestWD


NPM version node version npm download CircleCI

Swift implementation of WebDriver server for iOS that runs on Simulator/iOS devices.

Contributors


SamuelZhaoY


xudafeng


paradite


holy-lousie


adudurant


Chan-Chun


gurisxie


xqin


butterflyingdog


donlinglok


Nicolasyy


fengguochao

This project follows the git-contributor spec, auto updated at Wed Apr 15 2020 13:12:56 GMT+0800.

1. Requirements

  • XCode version > 10.1
  • iOS version 11.0 and above. (there is significant change on XCUITest interfaces and system private headers, hence we decide to support newest OS version only)

1.1. Carthage

Using Carthage with Xcode 12

https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md

carthage.sh can be found at the root of the project

./carthage.sh bootstrap --platform iOS --cache-builds

2. Starting XCTestWD

XCTestWD can be either started with XCode IDE or via simple xcodebuild command line. By default, the webdriver agent occupies port 8001. You can override the default port in XCode by searching XCTESTWD_PORT under project build settings. Alternatively, it can also be overrided when you execute command line method as specified in 2.2. Using Xcodebuild

2.1. Using Xcode

Download the project and open the XCode project, checkout the scheme XCTestWDUITests and run the test case XCTextWDRunner

2.2. Using XcodeBuild

Open the terminal, go to the directory where contains XCTestWD.xcodeproj file and execute the following command:

#
# Change the port number to override the default port
#
xcodebuild -project XCTestWD.xcodeproj \
  -scheme XCTestWDUITests \
  -destination 'platform=iOS Simulator,name=iPhone 6' \
  XCTESTWD_PORT=8001 \
  clean test

To execute for iOS device, run the following command:

#
# Change the port number to override the default port
# Specify the device name
#
xcodebuild -project XCTestWD.xcodeproj \
  -scheme XCTestWDUITests \
  -destination 'platform=iOS,name=(your device name)' \
  XCTESTWD_PORT=8001 \
  clean test

Note: For versions above wxtestwd 2.0.0, please install ideviceinstaller for supporting real device testing

3. Element Types

In the current protocol, element strings for each XCUIElementType are generated based on the existing mapping in reference/xctest/xcuielementtype

4. Common Issues

4.1 Socket hangup error

Socket Hangup Error happens in the following two scenarios:

  • Case 1
    Issue:
    When you have some existing XCTestWD instances running and creating new ones.
    Solution:
    verify whether ideviceinstaller and xcrun is properly working on your device and simulator.
    Hint:
    libimobiledevice/ideviceinstaller#48

  • Case 2
    Issue:
    When you have started the XCTestWD instance properly but fails in middle of a testing process.
    Solution:
    See the Macaca Service log to checkout which command leads the error. With detailed and comprehensive log information, please submit an issue to us.
    Optional:
    If you cannot get anything from macaca server log, open the XCTestWD in your node installation path and attatch for debugging on process 'XCTRunnerUITests-Runner'.

Additional Info
The project path is at

cd "$(npm root -g)/macaca-ios/node_modules/xctestwd"

Set up the linebreak for swift error and exceptions:

2017-12-14 10 56 33

Run your command regularly, once the driver has been initialized, attach the process:

2017-12-14 10 55 14

4.2 Swift modules fails to compile

Check carthage installation

4.3 Debug info

Now XCTestWD supports gathering debug log into log files which is stored in "Your-App-Sandbox-Root"/Documents/Logs dir. For real devices, you can connect to itunes and choose backup for XCTestWDUITests and get the debug log. For iOS simulators, the log file is in your computer's simulator app directory like:

"/Users/${user-name}/Library/Developer/CoreSimulator/Devices \
/${device-id}/data/Containers/Data/Application/${app-id}/Documents/Logs"

You can use xcrun simctl list to get the id of the booted device.

4.4

user PATH variable MACACA_XCTESTWD_ROOT_PATH to override the default one.

MACACA_XCTESTWD_ROOT_PATH=/path/to/macaca_xctest app-inspector -u xxx --verbose

4.5

We update dependencies by using other npm packages, because the XCode upgrade swift syntax is often not backward compatible.

package XCode version notes
xctestwd-frameworks 11.2.1

xctestwd's People

Contributors

adudurant avatar butterflyingdog avatar chan-chun avatar donlinglok avatar fengguochao avatar ganjarpanji avatar gurisxie avatar holy-lousie avatar nicolasyy avatar paradite avatar samuelzhaoy avatar xqin avatar xudafeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xctestwd's Issues

Update Readme

  • 真机描述
  • 命令行启动描述,端口占用说明
  • ElementType 映射说明,贴文档链接

Enhance logging

Find out a way to enhance current log. Especially when socket hangup happens, provide an efficient way to help other developer to locate the error.

报错日志,莫名其妙的

Last login: Tue Jun 13 17:43:13 on ttys000
localhost:~ ghl$ app-inspector -u 327148b379e10cad789f12bd457b76018fd0eeca --verbose

request.js:24:12 [master] pid:13279 get remote update info failed.
server.js:16:12 [master] pid:13279 server start with config:
{ port: 5678,
verbose: true,
udid: '327148b379e10cad789f12bd457b76018fd0eeca',
ip: '172.32.145.105',
host: 'localhost',
loaded_time: '2017-06-13 17:55:28' }
app-inspector.js:43:12 [master] pid:13279 server start at: http://172.32.145.105:5678
xctest-client.js:52:14 [master] pid:13279 project path: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctestwd start with port: 8001
xctest-client.js:224:14 [master] pid:13279 xcode version: 8.3.2
XCTestWD version: 1.0.31
xctest-client.js:172:14 [master] pid:13279 2017-06-13 17:55:30.436 xcodebuild[13286:657335] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/ghl/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Logs/Test/1F0E4E84-297C-4560-AB00-7B2AA66CE86B/Session-XCTestWDUITests-2017-06-13_175530-er64nG.log

xctest-client.js:173:14 [master] pid:13279 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:13279 2017-06-13 17:55:30.437 xcodebuild[13286:657333] [MT] IDETestOperationsObserverDebug: (0E9E154E-5CFE-4E7C-A9D9-EC6B9DE60047) Beginning test session XCTestWDUITests-0E9E154E-5CFE-4E7C-A9D9-EC6B9DE60047 at 2017-06-13 17:55:30.437 with Xcode 8E2002 on target <DVTiOSDevice: 0x7fd41cd44a10> {
deviceSerialNumber: F73LC1H2FNLT
identifier: 327148b379e10cad789f12bd457b76018fd0eeca
deviceClass: iPhone
deviceName: 郭翰林
deviceIdentifier: 327148b379e10cad789f12bd457b76018fd0eeca
productVersion: 10.2
buildVersion: 14C92
deviceSoftwareVersion: 10.2 (14C92)
deviceArchitecture: armv7s
deviceTotalCapacity: 13087416320
deviceAvailableCapacity: 1756647424
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7fd4193d4030 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
activityProgress: -2
activityTitle:
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
bootArgs:
} (10.2 (14C92))

xctest-client.js:173:14 [master] pid:13279 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:13279 MDMCreateDeltaDirectory:1920 calling MDMDirectoryDiff with:
state->old_bundle: /var/folders/17/_rgt2qfx51lgfksdh8_qp9rw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/6c373746a3d6fe6af5c886dc6a4eeccd/327148b379e10cad789f12bd457b76018fd0eeca/XCTestWDUITests-Runner.app
state->new_bundle: /Users/ghl/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Build/Products/Debug-iphoneos/XCTestWDUITests-Runner.app
state->dst_bundle: /var/folders/17/_rgt2qfx51lgfksdh8_qp9rw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.mcqpVo/XCTestWDUITests-Runner.app_sparse.ipa/Payload//XCTestWDUITests-Runner.app, binaryDiff flag: FALSE
dst_ipa: /var/folders/17/_rgt2qfx51lgfksdh8_qp9rw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.mcqpVo/XCTestWDUITests-Runner.app_sparse.ipa

xctest-client.js:173:14 [master] pid:13279 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:13279 __MDMDirectoryDiff_block_invoke.37:1473 calling writeDictToFile with: /var/folders/17/_rgt2qfx51lgfksdh8_qp9rw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.mcqpVo/XCTestWDUITests-Runner.app_sparse.ipa/ManifestCache.plist

xctest-client.js:173:14 [master] pid:13279 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:13279 writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/17/_rgt2qfx51lgfksdh8_qp9rw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.mcqpVo/XCTestWDUITests-Runner.app_sparse.ipa/ManifestCache.plist

xctest-client.js:173:14 [master] pid:13279 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:13279 2017-06-13 17:55:52.452 xcodebuild[13286:657333] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}

xctest-client.js:173:14 [master] pid:13279 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:13279
Testing failed:

xctest-client.js:173:14 [master] pid:13279 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:13279 Test target XCTestWDUITests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **

xctest-client.js:173:14 [master] pid:13279 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:255:14 [master] pid:13279 killing deviceLogProc pid: 13283
xctest-client.js:260:14 [master] pid:13279 killing runnerProc pid: 13286
xctest-client.js:266:14 [master] pid:13279 killing iproxyProc pid: 13285
xctest-client.js:183:14 [master] pid:13279 xctest client exit with code: 65, signal: null
xctest-client.js:211:14 [master] pid:13279 iproxy exit with code: null, signal: SIGKILL
xctest-client.js:145:16 [master] pid:13279 devicelog exit with code: null, signal: SIGKILL
xctest-client.js:247:14 [master] pid:13279 Fail to start xctest: undefined
undefined
iOS device started: 327148b379e10cad789f12bd457b76018fd0eeca
inspector start at: http://172.32.145.105:5678
<-- GET /
helper.js:94:16 [master] pid:13279 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

Error: connect ECONNREFUSED 127.0.0.1:8001
at Object.exports._errnoException (util.js:1050:11)
at exports._exceptionWithHostPort (util.js:1073:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1093:14)

我用同事的iPhone6就没问题,用我的5C就会出现这种错。我怀疑是手机CPU的问题,5C是32位的,iPhone 6 是64位的。应该是这个原因导致的。你们看看这个问题还能优化掉?

ios录制时候的一个bug

macaca在进行录制的时候,uirecorder掉起谷歌浏览器进行录制的时候,会出现蒙层的问题。就是在点击录制的手机界面的时候,会点击到覆盖在这层页面下的上层页面的控件。虽然点击不会产生实际的影响,但是影响录制的效率和体检。
怎么样才能然鼠标点击,只在最上层也就是展示的页面操作呢? uirecoreder只是做了浏览器的展示,感觉这个应该属于macaca的数据回传的问题,

对于异步加载的页面,高概率找不到较晚时机才加载的元素,需要手动source()一下

考虑一个场景:执行完一个click,会进入某一页面,假设该页面性能较差,那么该页面会加载较慢;与此同时,XCTestWD底层会创建好一个上下文,后续的元素查找操作就基于这个上下文,一次找不到就再找一次,直到超时,其实前几次找不到后续就不可能再找到了,因为上下文一直没有更新,就会导致明明元素存在,但是死活找不到的情况。

解决办法1(写脚本临时用):遇到用app-inspector明明能找到的元素在脚本执行时找不到的情况,可以考虑在click后sleep 3-5秒,然后再显式的调用一下source()方法

建议解决办法(@作者):对于同一个元素查找次数超过5次,就更新一下查找的上下文再进行查找

getsession和click不能同时运行

启动两个线程同时访问getsession和click 两者的执行时间一个是2.1s一个是2.2s
单独执行getsession时间是20ms click是2.2s 是不是线程同步的时候加锁了呢

socket hang up

xctest-client.js:173:14 [master] pid:11855 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/.1.1.2@xctestwd/XCTestWD/XCTestWD.xcodeproj
proxy.js:61:22 [master] pid:11855 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:11855 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:11855 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:11855 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:11855 xctest client proxy error with: Error: socket hang up
xctest-client.js:172:14 [master] pid:11855 Failing tests:
-[XCTextWDRunner testRunner()]

xctest-client.js:173:14 [master] pid:11855 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/.1.1.2@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:11855 -[XCTextWDRunner testRunner()]
** TEST FAILED **

xctest-client.js:173:14 [master] pid:11855 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/.1.1.2@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:255:14 [master] pid:11855 killing deviceLogProc pid: 11865
xctest-client.js:260:14 [master] pid:11855 killing runnerProc pid: 11868
xctest-client.js:266:14 [master] pid:11855 killing iproxyProc pid: 11867
xctest-client.js:183:14 [master] pid:11855 xctest client exit with code: 65, signal: null
xctest-client.js:145:16 [master] pid:11855 devicelog exit with code: null, signal: SIGKILL
xctest-client.js:211:14 [master] pid:11855 iproxy exit with code: null, signal: SIGKILL
proxy.js:61:22 [master] pid:11855 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
proxy.js:61:22 [master] pid:11855 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
responseHandler.js:54:12 [master] pid:11855 Send Error Respone to Client: Error: connect ECONNREFUSED 127.0.0.1:8001
responseHandler.js:60:14 [master] pid:11855 Error: connect ECONNREFUSED 127.0.0.1:8001
at Object.exports._errnoException (util.js:1023:11)
at exports._exceptionWithHostPort (util.js:1046:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)

Error: connect ECONNREFUSED 127.0.0.1:8001
at Object.exports._errnoException (util.js:1023:11)
at exports._exceptionWithHostPort (util.js:1046:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)

driver.sendkeys() 无法输入

.1:8901/wd/hub/session/4CEE78CD-98BC-4E99-B270-54A86070D9A6/screenshot:GET with body:

proxy.js:83:20 [master] pid:2436 Got response with status 200: {"sessionId":"9f3c7a9f-e57b-4466-97b9-3770c6541485","status":0,"value":"iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAAABxpRE9UAAAAAgAAAAAAAAKbAAAAKAAAApsAAAKbAABiRz7W/NsAAEAASURBV...
responseHandler.js:47:14 [master] pid:2436 Send HTTP Respone to Client[2017-07-14 11:53:35]: {"sessionId":"9f3c7a9f-e57b-4466-97b9-3770c6541485","status":0,"value":""iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAAABxpRE9UAAAAAgAAAAAAAAKbAAAAKAAAApsAAAKbAABiRz7W/NsAAEAASURBVHgB7N2HmztXeTZg/sB8pFFCJ4BDNb2ZZtMJzQEC2IBx6MWhm95LQgm9OYYYU4wbYIy7MTDfPDu8v52dHWm1XWf3nuvSSqsyOrrPK80zozOju/3zo7rOiYEaUANqQA2oATWgBtSAGljvGribDlrvDtI/+kcNqAE1oAbUgBpQA2ogNSC4+8bBNy5qQA2oATWgBtSAGlADDdSA4N5AJ1nLtpatBtSAGlADakANqAE1ILgL7taw1YAaUANqQA2oATWgBhqoAcG9gU6yhm0N..."}
responseHandler.js:11:12 [master] pid:2436 Recieve HTTP Request from Client[2017-07-14 11:53:35]: method: GET url: /wd/hub/session/9f3c7a9f-e57b-4466-97b9-3770c6541485/screenshot, jsonBody: {}
proxy.js:55:14 [master] pid:2436 Proxy: /wd/hub/session/9f3c7a9f-e57b-4466-97b9-3770c6541485/screenshot:GET to http://127.0.0.1:8901/wd/hub/session/4CEE78CD-98BC-4E99-B270-54A86070D9A6/screenshot:GET with body:
proxy.js:83:20 [master] pid:2436 Got response with status 200: {"sessionId":"9f3c7a9f-e57b-4466-97b9-3770c6541485","status":0,"value":"iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAAABxpRE9UAAAAAgAAAAAAAAKbAAAAKAAAApsAAAKbAABhacktotcAAEAASURBV...
responseHandler.js:47:14 [master] pid:2436 Send HTTP Respone to Client[2017-07-14 11:53:35]: {"sessionId":"9f3c7a9f-e57b-4466-97b9-3770c6541485","status":0,"value":""iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAAABxpRE9UAAAAAgAAAAAAAAKbAAAAKAAAApsAAAKbAABhacktotcAAEAASURBVHgB7N2HvzRXXT9w/kB/VhQpNjBSg4C0IJBQBESKgmCihEgRhUiTgHQUVEDpLQKGUNOAAOkh4vnN5w7fPPPMnd27tz577n3P67V3926ZPfs+3935zOyZ2Qf83mNac2KgBtSAGlADakANqAE1oAa2uwYeoIO2u4P0j/5RA2pADagBNaAG1IAaSA0I7r5x8I2LGlADakANqAE1oAbUQAc1ILh30EnWsq1lqwE1oAbUgBpQA2pADQjugrs1bDWgBtSAGlADakANqIEOakBw..."}
responseHandler.js:11:12 [master] pid:2436 Recieve HTTP Request from Client[2017-07-14 11:53:35]: method: POST url: /wd/hub/session, jsonBody: {"session_id":"9f3c7a9f-e57b-4466-97b9-3770c6541485","desiredCapabilities":{"proxyPort":8900,"deviceName":"孟德功的iPhone","reuse":3,"udid":"053288d1e59d03a3802b90237f01d53cc0d4378b","platformVersion":"10.3.2","platformName":"iOS","bundleId":"com.blued.international"}}
session.js:47:10 [master] pid:2436 Creating session, sessionId: f0e3c467-84d4-4b32-b364-626e57a8b159.
macaca-ios.js:245:12 [master] pid:2436 App "com.blued.international" is already installed.
xctest-client.js:52:14 [master] pid:2436 project path: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
macaca-ios.js:159:10 [master] pid:2436 {
"bundleId": "com.blued.international",
"platformVersion": "10.3.2",
"platformName": "iOS"
}
BundleId XCTestWD.XCTestWD does not exist.

Run XCTestWDUITests failed

Run the follwing command:
xcodebuild -project XCTestWD.xcodeproj
-scheme XCTestWDUITests
-destination 'platform=iOS,name=iPhone'
XCTESTWD_PORT=8001
test

2017-05-18 10:33:26.613039+0800 XCTRunner[988:384301] Running tests...
2017-05-18 10:33:27.169064+0800 XCTRunner[988:384326] Connection peer refused channel request for "dtxproxy:XCTestDriverInterface:XCTestManager_IDEInterface"; channel canceled <DTXChannel: 0x170087ad0>
2017-05-18 10:33:27.308 xcodebuild[1819:27017] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}

Testing failed:
Test target XCTestWDUITests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **

@xudafeng

Test target XCTestWDUITests encountered an error (No Info.plist found for application at path

Test target XCTestWDUITests encountered an error (No Info.plist found for application at path /Users/askeledzija/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Build/Products/Debug-iphonesimulator/XCTestWD.app/Info.plist If you believe this error represents a bug, please attach the log file at /Users/askeledzija/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Logs/Test/DD3B81A2-20F2-48D1-81B6-50A0346365BB/Session-XCTestWDUITests-2017-06-25_074436-Ba88RN.log)
** TEST FAILED **

python版,IOS应用上的H5页面输入框无法输入

ios驱动更新到: ios: 2.0.23
测试机:iphone7 plus
语言:python
H5页面选择输入框,进行sendkeys,实际上已经选中控件了,有光标,但是还是没有输入,且提示控件无法选择
出错代码
d.wait_for_element_by_xpath(cfg.get('bid', 'amount')).sendkeys('1000')
选择控件属性:TextField
错误提示:WebDriverError.ELEMENT_IS_NOT_SELECTABLE

之前用wda驱动的时候是可以正常使用的,换了xctestwd后出现此问题

ios-deploy偶尔会失败

发现有时候ios-deploy偶尔会失败 偶尔会成功 这是为什么啊 百度半天没结果 >> macaca-ios.js:284:14 [master] pid:99681 2017-08-23 17:39:40.329 ios-deploy[99722:6636739] [ !! ] Error 0xe8008017: A signed resource has been added, modified, or deleted. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0) 感觉应该是ios-deploy问题

ios的录制很不稳定

ios的录制很不稳定

proxy.js:61:22 [master] pid:1070 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8003
录制的时候经常在服务端报这个错误或者socked hang up
着急啊

如果通过点击XCTestWDUITestsAPP就能启动服务

如果通过点击XCTestWDUITestsAPP就能启动服务 不用通过xcode来启动和维持服务 同时这个app也能在iphone后台运行,不停的接受请求完成对iphone的操作,这样,iphone连接windows机器也能进行自动化了

问下这个是什么问题?

xctest-client.js:173:14 [master] pid:13005 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:13005
Testing failed:
'XCUIApplication' is only available on iOS 9.0 or newer
'XCUIElement' is only available on iOS 9.0 or newer
'XCUIApplication' is only available on iOS 9.0 or newer
'XCUIApplication' is only available on iOS 9.0 or newer
'XCUIApplication' is only available on iOS 9.0 or newer
'XCUIElement' is only available on iOS 9.0 or newer
'XCUIElementType' is only available on iOS 9.0 or newer
'XCUIElement' is only available on iOS 9.0 or newer
'XCUIElementType' is only available on iOS 9.0 or newer
'elementType' is only available on iOS 9.0 or newer
'XCUIElementType' is only available on iOS 9.0 or newer
'XCUIElement' is only available on iOS 9.0 or newer
'XCUIElementType' is only available on iOS 9.0 or newer
'elementType' is only available on iOS 9.0 or newer
'alerts' is only available on iOS 9.0 or newer
'sheets' is only available on iOS 9.0 or newer
'XCUIElementType' is only available on iOS 9.0 or newer
'XCUIElementType' is only available on iOS 9.0 or newer
'elementType' is only available on iOS 9.0 or newer
'XCUIApplication' is only available on iOS 9.0 or newer
** TEST FAILED **

The following build commands failed:
CompileSwift normal armv7 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWDUITests/server/models/XCTestWDStatus.swift
CompileSwift normal armv7 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWDUITests/Server/Controllers/XCTestWDStatusController.swift
CompileSwift normal armv7 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWDUITests/Server/Controllers/XCTestWDKeysController.swift
CompileSwift normal armv7 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWDUITests/Server/Controllers/XCTestWDWindowController.swift
CompileSwift normal armv7 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWDUITests/server/models/XCTestWDAlert.swift
CompileSwift normal armv7 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWDUITests/Server/Controllers/XCTestWDScreenshotController.swift
CompileSwift normal armv7 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWDUITests/server/models/extensions/XCTestWDApplicationTree.swift
CompileSwift normal armv7 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWDUITests/Server/XCTestWDServer.swift
CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
(9 failures)

xctest-client.js:173:14 [master] pid:13005 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:255:14 [master] pid:13005 killing deviceLogProc pid: 13008
xctest-client.js:260:14 [master] pid:13005 killing runnerProc pid: 13011
xctest-client.js:266:14 [master] pid:13005 killing iproxyProc pid: 13010
xctest-client.js:183:14 [master] pid:13005 xctest client exit with code: 65, signal: null
xctest-client.js:211:14 [master] pid:13005 iproxy exit with code: null, signal: SIGKILL
xctest-client.js:145:16 [master] pid:13005 devicelog exit with code: null, signal: SIGKILL
xctest-client.js:247:14 [master] pid:13005 Fail to start xctest: undefined
undefined
iOS device started: 327148b379e10cad789f12bd457b76018fd0eeca
inspector start at: http://172.32.145.105:5678
<-- GET /
helper.js:94:16 [master] pid:13005 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

Error: connect ECONNREFUSED 127.0.0.1:8001
at Object.exports._errnoException (util.js:1050:11)
at exports._exceptionWithHostPort (util.js:1073:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1093:14)

使用Macaca测试ios真机,老是卸载安装好的xctestwd应用,然后提示'Connection aborted.'

详细日志如下:
Last login: Fri Sep 29 16:08:11 on ttys001
BruceMacBook-Air:~ ios3rd$ macaca server --verbose

index.js:18:12 [master] pid:14177 webdriver server start with config:
{ port: 3456,
verbose: true,
always: true,
ip: '192.168.2.24',
host: 'BruceMacBook-Air.local',
loaded_time: '2017-09-29 18:58:09' }
middlewares.js:17:10 [master] pid:14177 base middlewares attached
router.js:127:10 [master] pid:14177 router set
webdriver sdk launched
responseHandler.js:11:12 [master] pid:14177 Recieve HTTP Request from Client[2017-09-29 18:58:12]: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"platformName":"iOS","platformVersion":"10.3","deviceName":"iPhone","udid":"ca69a10239ebf0949b958dc731b5005c6cd2bbb3","bundleId":"com.tingting.cbb"}}
session.js:47:10 [master] pid:14177 Creating session, sessionId: 43999a7d-630c-47d2-b222-44d647712ce9.
/usr/local/lib/node_modules/macaca-ios/node_modules/_ios-device@0.1.4@ios-device/node_modules/ios-deploy/build/Release/ios-deploy
macaca-ios.js:246:12 [master] pid:14177 App "com.tingting.cbb" is already installed.
macaca-ios.js:247:12 [master] pid:14177 Adopting app reuse strategy: 1.
BundleId XCTestWD.XCTestWD does not exist.
macaca-ios.js:158:10 [master] pid:14177 {
"bundleId": "com.tingting.cbb",
"platformName": "iOS",
"platformVersion": "10.3"
}
xctest-client.js:55:14 [master] pid:14177 project path: /usr/local/lib/node_modules/macaca-ios/node_modules/_xctestwd@1.1.8@xctestwd/XCTestWD/XCTestWD.xcodeproj
macaca-ios.js:167:12 [master] pid:14177 Trying to start xctestwd server...
xctest-client.js:228:14 [master] pid:14177 xcode version: 8.3.3
XCTestWD version: 1.1.8
xctest-client.js:178:14 [master] pid:14177 2017-09-29 18:58:15.381 xcodebuild[14190:234690] [MT] PluginLoading: Required plug-in compatibility UUID DFFB3951-EB0A-4C09-9DAC-5F2D28CC839C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XAlign.xcplugin' not present in DVTPlugInCompatibilityUUIDs

xctest-client.js:179:14 [master] pid:14177 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/_xctestwd@1.1.8@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:178:14 [master] pid:14177 2017-09-29 18:58:15.381 xcodebuild[14190:234690] [MT] PluginLoading: Required plug-in compatibility UUID DFFB3951-EB0A-4C09-9DAC-5F2D28CC839C for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/VVDocumenter-Xcode.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2017-09-29 18:58:15.382 xcodebuild[14190:234690] [MT] PluginLoading: Required plug-in compatibility UUID DFFB3951-EB0A-4C09-9DAC-5F2D28CC839C for plug-in at path '
/Library/Application Support/Developer/Shared/Xcode/Plug-ins/KSImageNamed.xcplugin' not present in DVTPlugInCompatibilityUUIDs

xctest-client.js:179:14 [master] pid:14177 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/_xctestwd@1.1.8@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:178:14 [master] pid:14177 2017-09-29 18:58:17.124 xcodebuild[14190:234755] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/ios3rd/Library/Developer/Xcode/DerivedData/XCTestWD-azfcbbijchqxicawalzewrlysecw/Logs/Test/4A811324-AB74-4E29-9E23-6B7749D7C261/Session-XCTestWDUITests-2017-09-29_185817-7zsi02.log

xctest-client.js:179:14 [master] pid:14177 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/_xctestwd@1.1.8@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:178:14 [master] pid:14177 2017-09-29 18:58:17.125 xcodebuild[14190:234690] [MT] IDETestOperationsObserverDebug: (55FDD957-F41C-4DAD-8868-1D42ED7A2117) Beginning test session XCTestWDUITests-55FDD957-F41C-4DAD-8868-1D42ED7A2117 at 2017-09-29 18:58:17.124 with Xcode 8E3004b on target <DVTiOSDevice: 0x7ff6099180b0> {
deviceSerialNumber: F2MNH29CG5QQ
identifier: ca69a10239ebf0949b958dc731b5005c6cd2bbb3
deviceClass: iPhone
deviceName: iPhone
deviceIdentifier: ca69a10239ebf0949b958dc731b5005c6cd2bbb3
productVersion: 10.1.1
buildVersion: 14B100
deviceSoftwareVersion: 10.1.1 (14B100)
deviceArchitecture: arm64
deviceTotalCapacity: 11852554240
deviceAvailableCapacity: 5687496704
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7ff6094f7ed0 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
activityProgress: -2
activityTitle:
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
bootArgs:
} (10.1.1 (14B100))

xctest-client.js:179:14 [master] pid:14177 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/_xctestwd@1.1.8@xctestwd/XCTestWD/XCTestWD.xcodeproj

然后用例执行提示:requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

Run failed

Run the following command failed on the real device
$ xcodebuild -project XCTestWD.xcodeproj
-scheme XCTestWDUITests
-destination 'platform=iOS,name=(your device name)'
XCTESTWD_PORT=8001
test

MDMCreateDeltaDirectory:1920 calling MDMDirectoryDiff with:
state->old_bundle: /var/folders/5z/hjq6vzl133sf0kjt5fhv4nb80000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/88c672695bc1db12969cf51fe0fcabdd/43d388600e6a6f0ca35ed991f73ae96eb30f59aa/XCTestWDUITests-Runner.app
state->new_bundle: /Users/apple/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Build/Products/Debug-iphoneos/XCTestWDUITests-Runner.app
state->dst_bundle: /var/folders/5z/hjq6vzl133sf0kjt5fhv4nb80000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.wmQG1t/XCTestWDUITests-Runner.app_sparse.ipa/Payload//XCTestWDUITests-Runner.app, binaryDiff flag: FALSE
dst_ipa: /var/folders/5z/hjq6vzl133sf0kjt5fhv4nb80000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.wmQG1t/XCTestWDUITests-Runner.app_sparse.ipa
__MDMDirectoryDiff_block_invoke.37:1473 calling writeDictToFile with: /var/folders/5z/hjq6vzl133sf0kjt5fhv4nb80000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.wmQG1t/XCTestWDUITests-Runner.app_sparse.ipa/ManifestCache.plist
writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/5z/hjq6vzl133sf0kjt5fhv4nb80000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.wmQG1t/XCTestWDUITests-Runner.app_sparse.ipa/ManifestCache.plist
2017-05-17 17:33:35.202273+0800 XCTRunner[780:340761] Running tests...
2017-05-17 17:33:36.236875+0800 XCTRunner[780:340799] Connection peer refused channel request for "dtxproxy:XCTestDriverInterface:XCTestManager_IDEInterface"; channel canceled <DTXChannel: 0x170086f40>
2017-05-17 17:33:36.316 xcodebuild[1844:30558] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}

Testing failed:
Test target XCTestWDUITests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **

@xudafeng

使用macaca-ios2.0.22,第一条用例执行完,调用driver.quit()后重新initDriver报Error: socket hang up,自动重试后又能连上。

使用macaca-ios2.0.22,第一条用例执行完,调用driver.quit()后重新initDriver报Error: socket hang up,自动重试后又能连上。每次执行下一条用例都如此。

Installed driver list:
ios: 2.0.22

responseHandler.js:11:12 [master] pid:2665 Recieve HTTP Request from Client[2017-07-26 11:36:34]: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"reuse":3,"bundleId":"--------","autoDismissAlerts":false,"platformName":"ios","udid":"------a8a81370713ae89653a93877474------","autoAcceptAlerts":false}}
session.js:47:10 [master] pid:2665 Creating session, sessionId: 12252da6-4760-42ba-b799-f18d29a7f32f.
xctest-client.js:183:14 [master] pid:2665 xctest client exit with code: null, signal: SIGKILL
macaca-ios.js:245:12 [master] pid:2665 App "cn.kuaipan.kuaipanIphone" is already installed.
xctest-client.js:52:14 [master] pid:2665 project path: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
macaca-ios.js:159:10 [master] pid:2665 {
"bundleId": "--------",
"platformName": "ios"
}
BundleId XCTestWD.XCTestWD does not exist.
macaca-ios.js:166:12 [master] pid:2665 Trying to start xctestwd server...
xctestwd start with port: 8001
xctest-client.js:224:14 [master] pid:2665 xcode version: 8.3.3
XCTestWD version: 1.1.0
xctest-client.js:172:14 [master] pid:2665 2017-07-26 11:36:35.852 xcodebuild[3537:137978] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/xunlei/Library/Developer/Xcode/DerivedData/XCTestWD-csksfttfbygcrbamoobfasiylmgb/Logs/Test/F1E91320-DE33-4012-B884-EC4BBA02860B/Session-XCTestWDUITests-2017-07-26_113635-vDMLsN.log

xctest-client.js:173:14 [master] pid:2665 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:2665 2017-07-26 11:36:35.854 xcodebuild[3537:137919] [MT] IDETestOperationsObserverDebug: (50058D3C-F178-4318-BBBF-AF5C6A6B04E7) Beginning test session XCTestWDUITests-50058D3C-F178-4318-BBBF-AF5C6A6B04E7 at 2017-07-26 11:36:35.853 with Xcode 8E3004b on target <DVTiOSDevice: 0x7ff6136c6910> {
deviceSerialNumber: F18SQ8JHHG70
identifier: 5fe4946a8a81370713ae89653a93877474774c78
deviceClass: iPhone
deviceName: XLMP1111
deviceIdentifier: 5fe4946a8a81370713ae89653a93877474774c78
productVersion: 10.3.2
buildVersion: 14F89
deviceSoftwareVersion: 10.3.2 (14F89)
deviceArchitecture: arm64
deviceTotalCapacity: 28308307968
deviceAvailableCapacity: 22480809984
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7ff6135cd210 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
activityProgress: -2
activityTitle:
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
bootArgs:
} (10.3.2 (14F89))

xctest-client.js:173:14 [master] pid:2665 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:2665 writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/q4/2skydwf51sv1g0l4ht4rtnvh0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/9814b5154cce5d5f1fbd040cf09439e4/5fe4946a8a81370713ae89653a93877474774c78/ManifestCache.plist

xctest-client.js:173:14 [master] pid:2665 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
proxy.js:55:14 [master] pid:2665 Proxy: /wd/hub/session:POST to http://127.0.0.1:8001/wd/hub/session:POST with body: {"desiredCapabilities":{"bundleId":"--------","platformName":"ios"}}

**>> proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up

proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up
proxy.js:61:22 [master] pid:2665 xctest client proxy error with: Error: socket hang up**
xctest-client.js:247:14 [master] pid:2665 Fail to start xctest: Error: socket hang up
xctest-client.js:255:14 [master] pid:2665 killing deviceLogProc pid: 3534
xctest-client.js:260:14 [master] pid:2665 killing runnerProc pid: 3537
xctest-client.js:266:14 [master] pid:2665 killing iproxyProc pid: 3536
xctest-client.js:145:16 [master] pid:2665 devicelog exit with code: null, signal: SIGKILL
xctest-client.js:211:14 [master] pid:2665 iproxy exit with code: null, signal: SIGKILL
xctest-client.js:183:14 [master] pid:2665 xctest client exit with code: null, signal: SIGKILL
macaca-ios.js:166:12 [master] pid:2665 Trying to start xctestwd server...
xctestwd start with port: 8001
xctest-client.js:224:14 [master] pid:2665 xcode version: 8.3.3
XCTestWD version: 1.1.0
xctest-client.js:172:14 [master] pid:2665 2017-07-26 11:37:36.856 xcodebuild[3700:139154] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/xunlei/Library/Developer/Xcode/DerivedData/XCTestWD-csksfttfbygcrbamoobfasiylmgb/Logs/Test/3C50F9B4-9591-49D5-84BD-24754CBC1B34/Session-XCTestWDUITests-2017-07-26_113736-rThe2g.log

xctest-client.js:173:14 [master] pid:2665 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:2665 2017-07-26 11:37:36.856 xcodebuild[3700:139153] [MT] IDETestOperationsObserverDebug: (326DFD57-07C8-407D-ACAF-4A710B4AFDFC) Beginning test session XCTestWDUITests-326DFD57-07C8-407D-ACAF-4A710B4AFDFC at 2017-07-26 11:37:36.856 with Xcode 8E3004b on target <DVTiOSDevice: 0x7faef72259d0> {
deviceSerialNumber: F18SQ8JHHG70
identifier: 5fe4946a8a81370713ae89653a93877474774c78
deviceClass: iPhone
deviceName: XLMP1111
deviceIdentifier: 5fe4946a8a81370713ae89653a93877474774c78
productVersion: 10.3.2
buildVersion: 14F89
deviceSoftwareVersion: 10.3.2 (14F89)
deviceArchitecture: arm64
deviceTotalCapacity: 28308307968
deviceAvailableCapacity: 22480244736
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7faef47f2c80 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
activityProgress: -2
activityTitle:
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
bootArgs:
} (10.3.2 (14F89))

xctest-client.js:173:14 [master] pid:2665 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.