Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Appium 1.7.1 link real machine test record

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Ogon:~ zhouhaijun$ appium

[Appium] Welcome to Appium v1.7.1

[Appium] Appium REST http interface listener started on 0.0.0.0:4723

[HTTP]-- > POST / wd/hub/session {"desiredCapabilities": {"app": "/ Users/zhouhaijun/workspace/.metadata/appium1.6/app/Toon.ipa", "newCommandTimeout": 3600, "platformVersion": "11.0.3", "useNewWDA": false, "automationName": "XCUITest", "bundleId": "com.systoon.beijingtong", "platformName": "iOS", "udid": "0259411d3508a459149c8aec521ff5845a2e835b", "deviceName": "iPhonexq"}}

[debug] [MJSONWP] Calling AppiumDriver.createSession () with args: [{"app": "/ Users/zhouhaijun/workspace/.metadata/appium1.6/app/Toon.ipa", "newCommandTimeout": 3600, "platformVersion": "11.0.3", "useNewWDA": false, "automationName": "XCUITest", "bundleId": "com.systoon.beijingtong", "platformName": "iOS", "udid": "0259411d3508a459149c8aec521ff5845a2e835b", "deviceName": "iPhonexq"}, null,null]

[debug] [BaseDriver] Event 'newSessionRequested' logged at 1510800431256 (10:47:11 GMT+0800 (CST))

[Appium] Creating new XCUITestDriver (v2.58.1) session

[Appium] Capabilities:

[Appium] app:'/ Users/zhouhaijun/workspace/.metadata/appium1.6/app/Toon.ipa'

[Appium] newCommandTimeout: 3600

[Appium] platformVersion: '11.0.3'

[Appium] useNewWDA: false

[Appium] automationName: 'XCUITest'

[Appium] bundleId: 'com.systoon.beijingtong'

[Appium] platformName: 'iOS'

[Appium] udid: '0259411d3508a459149c8aec521ff5845a2e835b'

[Appium] deviceName: 'iPhonexq'

[BaseDriver] Session created with session id: d563a918-d8e7-448b-9d2d-e4de703426fe

[debug] [XCUITest] Current user: 'zhouhaijun'

[debug] [XCUITest] Xcode version set to '9.1' (tools v9.0.1.0.1.1506734476)

[debug] [XCUITest] iOS SDK Version set to '11.1'

[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1510800432392 (10:47:12 GMT+0800 (CST))

[debug] [XCUITest] Available devices: 4059b719867c2ed5b3535a3e49f82cd181259b28, 0259411d3508a459149c8aec521ff5845a2e835b

[debug] [XCUITest] Creating iDevice object with udid '0259411d3508a459149c8aec521ff5845a2e835b'

[XCUITest] Determining device to run tests on: udid: '0259411d3508a459149c8aec521ff5845a2e835baked, real device: true

[BaseDriver] Using local app'/ Users/zhouhaijun/workspace/.metadata/appium1.6/app/Toon.ipa'

[debug] [BaseDriver] Copying local zip to tmp dir

[debug] [BaseDriver] Unzipping / var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9/appium-app.zip

[debug] [BaseDriver] Testing zip archive: / var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9/appium-app.zip

[BaseDriver] Unzipped local app to'/ var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9 take PayloadAccording to toon.app'

[debug] [BaseDriver] Event 'appConfigured' logged at 1510800436360 (10:47:16 GMT+0800 (CST))

[debug] [XCUITest] Checking whether app' / var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9According to PayloadAccording to toon.app' is actually present on file system

[debug] [XCUITest] App is present

[debug] [BaseDriver] Event 'resetStarted' logged at 1510800436362 (10:47:16 GMT+0800 (CST))

[debug] [XCUITest] Reset: running ios real device reset flow

[debug] [BaseDriver] Event 'resetComplete' logged at 1510800436363 (10:47:16 GMT+0800 (CST))

[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 1510800436546 (10:47:16 GMT+0800 (CST))

[XCUITest] Setting up real device

[debug] [XCUITest] Reset requested. Removing app with id 'com.systoon.beijingtong' from the device

[debug] [XCUITest] Installing'/ var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9 and Payload.app'on device with UUID '0259411d3508a459149c8aec521ff5845a2e835baked.

[debug] [XCUITest] Stdout:'[....] Waiting for iOS device to be connected

Skipping 4059b719867c2ed5b3535a3e49f82cd181259b28 (N71AP, iPhone 6s, iphoneos, arm64) a.k.a. 'iPhone'.

[....] Using 0259411d3508a459149c8aec521ff5845a2e835b (N56AP, iPhone 6 Plus, iphoneos, arm64) a.k.a. 'iPhonexq'.

-Install phase-

[0] Found 0259411d3508a459149c8aec521ff5845a2e835b (N56AP, iPhone 6 Plus, iphoneos, arm64) a.k.a. 'iPhonexq' connected through USB, beginning install

[52%] CreatingStagingDirectory

[57%] ExtractingPackage

[60%] InspectingPackage

[60%] TakingInstallLock

[65%] PreflightingApplication

[65%] InstallingEmbeddedProfile

[70%] VerifyingApplication

Play. Stderr: '2017-11-16 10 10 Error 0xe8000067 50 ios-deploy [1985 Error 0xe8000067 53470] [!] Error 0xe8000067: There was an internal API error. AMDeviceSecureInstallApplication (0, device, url, options, install_callback, 0)

Play.

[XCUITest] Error: Could not install app: 'Command' ios-deploy-- id 0259411d3508a459149c8aec521ff5845a2e835b-- bundle / var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9

At IOSDeploy.install$ (.. /.. / lib/ios-deploy.js:40:13)

At tryCatch (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:67:40)

At GeneratorFunctionPrototype.invoke [as _ invoke] (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:315:22)

At GeneratorFunctionPrototype.prototype. (anonymous function) [as throw] (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:100:21)

At GeneratorFunctionPrototype.invoke (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:136:37)

Error: Could not install app: 'Command' ios-deploy-- id 0259411d3508a459149c8aec521ff5845a2e835b-- bundle / var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9

At IOSDeploy.install$ (.. /.. / lib/ios-deploy.js:40:13)

At tryCatch (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:67:40)

At GeneratorFunctionPrototype.invoke [as _ invoke] (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:315:22)

At GeneratorFunctionPrototype.prototype. (anonymous function) [as throw] (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:100:21)

At GeneratorFunctionPrototype.invoke (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:136:37)

[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.

[debug] [iOSLog] Stopping iOS log capture

[MJSONWP] Encountered internal error running command: Error: Could not install app: 'Command' ios-deploy-- id 0259411d3508a459149c8aec521ff5845a2e835b-- bundle / var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9 use Payload to. App 'exited with code 253'

At IOSDeploy.install$ (.. /.. / lib/ios-deploy.js:40:13)

At tryCatch (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:67:40)

At GeneratorFunctionPrototype.invoke [as _ invoke] (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:315:22)

At GeneratorFunctionPrototype.prototype. (anonymous function) [as throw] (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:100:21)

At GeneratorFunctionPrototype.invoke (/ usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:136:37)

[HTTP] Reinstalling libimobiledevice

= = > Installing dependencies for libimobiledevice: libxml2, openssl

= > Installing libimobiledevice dependency: libxml2

= = > Downloading https://homebrew.bintray.com/bottles/libxml2-2.9.7.sierra.bottle.tar.gz

# 100.0%

= > Pouring libxml2-2.9.7.sierra.bottle.tar.gz

= = > Caveats

This formula is keg-only, which means it was not symlinked into / usr/local

Because macOS already provides this software and installing another version in

Parallel can cause all kinds of trouble.

If you need to have this software first in your PATH run:

Echo 'export PATH= "/ usr/local/opt/libxml2/bin:$PATH" > > ~ / .bash_profile

For compilers to find this software you may need to set:

LDFLAGS:-L/usr/local/opt/libxml2/lib

CPPFLAGS:-I/usr/local/opt/libxml2/include

For pkg-config to find this software you may need to set:

PKG_CONFIG_PATH: / usr/local/opt/libxml2/lib/pkgconfig

If you need Python to find bindings for this keg-only formula, run:

Echo / usr/local/opt/libxml2/lib/python2.7/site-packages > > / usr/local/lib/python2.7/site-packages/libxml2.pth

Mkdir-p / Users/zhouhaijun/Library/Python/2.7/lib/python/site-packages

Echo 'import site; site.addsitedir ("/ usr/local/lib/python2.7/site-packages")' > > / Users/zhouhaijun/Library/Python/2.7/lib/python/site-packages/homebrew.pth

= = > Summary

/ usr/local/Cellar/libxml2/2.9.7: 281 files, 10.4MB

= > Installing libimobiledevice dependency: openssl

= = > Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2m.sierra.bottle.tar.gz

# 100.0%

= = > Pouring openssl-1.0.2m.sierra.bottle.tar.gz

= = > Caveats

A CA file has been bootstrapped using certificates from the SystemRoots

Keychain. To add additional certificates (e.g. The certificates added in)

The System keychain), place .pem files in

/ usr/local/etc/openssl/certs

And run

/ usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into / usr/local

Because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have this software first in your PATH run:

Echo 'export PATH= "/ usr/local/opt/openssl/bin:$PATH" > > ~ / .bash_profile

For compilers to find this software you may need to set:

LDFLAGS:-L/usr/local/opt/openssl/lib

CPPFLAGS:-I/usr/local/opt/openssl/include

For pkg-config to find this software you may need to set:

PKG_CONFIG_PATH: / usr/local/opt/openssl/lib/pkgconfig

= = > Summary

/ usr/local/Cellar/openssl/1.0.2m: 1792 files, 12.3MB

= > Installing libimobiledevice-- HEAD

= = > Cloning https://git.libimobiledevice.org/libimobiledevice.git

Updating / Users/zhouhaijun/Library/Caches/Homebrew/libimobiledevice--git

= = > Checking out branch master

= >. / autogen.sh

= = >. / configure-- disable-silent-rules-- prefix=/usr/local/Cellar/libimobiledevice/HEAD-5a85432_2-- witho

= = > make install

/ usr/local/Cellar/libimobiledevice/HEAD-5a85432_2: 67 files, 1012.3KB, built in 1 minute 10 seconds

Bogon:~ zhouhaijun$ brew reinstall-s ios-webkit-debug-proxy

= = > Reinstalling ios-webkit-debug-proxy

= = > Downloading https://github.com/google/ios-webkit-debug-proxy/archive/v1.8.tar.gz

= = > Downloading from https://codeload.github.com/google/ios-webkit-debug-proxy/tar.gz/v1.8

# 100.0%

= >. / autogen.sh

= >. / configure-- prefix=/usr/local/Cellar/ios-webkit-debug-proxy/1.8

= = > make install

/ usr/local/Cellar/ios-webkit-debug-proxy/1.8: 13 files, 328.6KB, built in 1 minute 3 seconds

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report