Appium 1.7.1 link real-machine test record

Source: Internet
Author: User
Tags session id appium


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: ' 0259411d3508a459149c8aec521ff5845a2e835b ', 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/payload/ 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.tdi06enrk9/payload/ 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/payload/toon.app ' On device with UUID ' 0259411d3508a459149c8aec521ff5845a2e835b ' ...

[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 Throug H USB, beginning Install


[52%] Creatingstagingdirectory

[57%] Extractingpackage

[60%] Inspectingpackage

[60%] Takinginstalllock

[65%] Preflightingapplication

[65%] Installingembeddedprofile

[70%] Verifyingapplication

‘. Stderr: ' 2017-11-16 10:50:31.060 ios-deploy[1985:53470] [!] Error 0xe8000067:there is an internal API error. Amdevicesecureinstallapplication (0, device, URL, options, Install_callback, 0)

‘.

[Xcuitest] Error:could not install app: ' Command ' Ios-deploy--id 0259411d3508a459149c8aec521ff5845a2e835b--bundle/var/folders/l _/ptwfq82j1wjg5_y08tp1gmnm0000gn/t/20171016-1957-1y50jw7.tdi06enrk9/payload/toon.app ' exited with code 253 '

At iosdeploy.install$ (.. /.. /LIB/IOS-DEPLOY.JS:40:13)

At TryCatch (/usr/local/lib/node_modules/appium/node_modules/[email protected] @babel-runtime/regenerator/ RUNTIME.JS:67:40)

At Generatorfunctionprototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/[email protected ] @babel-runtime/regenerator/runtime.js:315:22)

At Generatorfunctionprototype.prototype. (anonymous function) [As throw] (/usr/local/lib/node_modules/appium/node_modules/[email protected] @babel-runtime/regenerator/runtime.js:100:21)

At Generatorfunctionprototype.invoke (/usr/local/lib/node_modules/appium/node_modules/[email protected]@ 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/payload/toon.app ' exited with code 253 '

At iosdeploy.install$ (.. /.. /LIB/IOS-DEPLOY.JS:40:13)

At TryCatch (/usr/local/lib/node_modules/appium/node_modules/[email protected] @babel-runtime/regenerator/ RUNTIME.JS:67:40)

At Generatorfunctionprototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/[email protected ] @babel-runtime/regenerator/runtime.js:315:22)

At Generatorfunctionprototype.prototype. (anonymous function) [As throw] (/usr/local/lib/node_modules/appium/node_modules/[email protected] @babel-runtime/regenerator/runtime.js:100:21)

At Generatorfunctionprototype.invoke (/usr/local/lib/node_modules/appium/node_modules/[email protected]@ BABEL-RUNTIME/REGENERATOR/RUNTIME.JS:136:37)

[Debug] [Xcuitest] Not clearing log files. Use ' clearsystemfiles ' capability-turn on.

[Debug] [Ioslog] Stopping IOS log Capture

[MJSONWP] encountered internal error running command:Error:Could not install app: ' Command ' Ios-deploy--id 0259411d3508a45914 9c8aec521ff5845a2e835b--bundle/var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/t/ 20171016-1957-1y50jw7.tdi06enrk9/payload/toon.app ' exited with code 253 '

At iosdeploy.install$ (.. /.. /LIB/IOS-DEPLOY.JS:40:13)

At TryCatch (/usr/local/lib/node_modules/appium/node_modules/[email protected] @babel-runtime/regenerator/ RUNTIME.JS:67:40)

At Generatorfunctionprototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/[email protected ] @babel-runtime/regenerator/runtime.js:315:22)

At Generatorfunctionprototype.prototype. (anonymous function) [As throw] (/usr/local/lib/node_modules/appium/node_modules/[email protected] @babel-runtime/regenerator/runtime.js:100:21)

At Generatorfunctionprototype.invoke (/usr/local/lib/node_modules/appium/node_modules/[email protected]@ BABEL-RUNTIME/REGENERATOR/RUNTIME.JS:136:37)

[HTTP] <--post/wd/hub/session 200375 ms-357



^c[appium] Received sigint-shutting down

bogon:~ zhouhaijun$ not clearing log files. Use ' clearsystemfiles ' capability-turn on.

-bash:clearsystemfiles:command not found

-bash:not:command not found

bogon:~ zhouhaijun$ Brew Update

To restore the stashed changes To/usr/local/homebrew run:

' Cd/usr/local/homebrew && git stash pop '

Already up-to-date.

bogon:~ zhouhaijun$ Brew Reinstall--head Libimobiledevice

==> 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%

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

==> Caveats

This formula is keg-only, which means it wasn't 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 the software first in your PATH run:

echo ' Export path= '/usr/local/opt/libxml2/bin: $PATH ' >> ~/.bash_profile


For compilers-to-find this software-need to set:

Ldflags:-l/usr/local/opt/libxml2/lib

Cppflags:-i/usr/local/opt/libxml2/include

For Pkg-config-to-find this software-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%

==> 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 wasn't symlinked into/usr/local,

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


If you need to the software first in your PATH run:

echo ' Export path= '/usr/local/opt/openssl/bin: $PATH ' >> ~/.bash_profile


For compilers-to-find this software-need to set:

Ldflags:-l/usr/local/opt/openssl/lib

Cppflags:-i/usr/local/opt/openssl/include

For Pkg-config-to-find this software-need to set:

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


==> Summary

/usr/local/cellar/openssl/1.0.2m:1,792 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 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%

==>./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


Appium 1.7.1 link real-machine test record

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.