This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
65 / 84
Dec 2016

thanks so much guys.... i can able to inspect the element .....when i executed my script i am getting below error([XCUITest] Error: xcodebuild failed with code 65)

my logs are:

[Appium] Welcome to Appium v1.6.1
@pavanbachu

[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"iPhone","unicodekeyboard":true,"udid":"ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc","platformName":"Ios","app":"/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa","resetkeyboard":true,"autoAcceptAlerts":true,"automationName":"XCUITest","bundleid":"beta.dell.com"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone","unicodekeyboard":true,"udid":"ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc","platformName":"Ios","app":"/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa","resetkeyboard":true,"autoAcceptAlerts":true,"automationName":"XCUITest","bundleid":"beta.dell.com"},null,null,null,null]
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] deviceName: 'iPhone'
[Appium] unicodekeyboard: true
[Appium] udid: 'ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc'
[Appium] platformName: 'Ios'
[Appium] app: '/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa'
[Appium] resetkeyboard: true
[Appium] autoAcceptAlerts: true
[Appium] automationName: 'XCUITest'
[Appium] bundleid: 'beta.dell.com'
[debug] [XCUITest] XCUITestDriver version: 2.2.0
[BaseDriver] The following capabilities were provided, but are not recognized by appium: unicodekeyboard, resetkeyboard, bundleid.
[BaseDriver] Session created with session id: e5d72dd7-9875-46b6-bb52-4b708872e19e
[debug] [XCUITest] Xcode version set to '8.2.1'
[debug] [XCUITest] iOS SDK Version set to '10.2'
[debug] [XCUITest] Available devices: ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc
[debug] [XCUITest] Creating iDevice object with udid ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc
[XCUITest] Determining device to run tests on: udid: 'ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc', real device: true
[BaseDriver] Using local app '/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa'
[debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/appium-app.zip
[BaseDriver] Unzipped local app to '/var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/Payload/Dell OMM.app'
[debug] [XCUITest] Checking whether app '/var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/Payload/Dell OMM.app' is actually present
[debug] [XCUITest] App is present
[debug] [ios-app-utils] Getting bundle ID from app '/var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/Payload/Dell OMM.app': 'beta.dell.omm'
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[XCUITest] Setting up real device
[debug] [XCUITest] Error checking install status: Command 'ios-deploy --exists --id ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc --bundle_id beta.dell.omm' exited with code 255
[debug] [XCUITest] App is not installed. Will try to install.
[debug] [XCUITest] App installed successfully.
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Using real device logger 'idevicesyslog'
[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=ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc -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] [XCUITest] Log file for xcodebuild test: /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9E4BF613-B6C8-4A21-B508-B0B719E4462F/Session-WebDriverAgentRunner-2016-12-22_123950-cjTSrH.log
[Xcode] 2016-12-22 12:39:52.830 xcodebuild[5331:1175688] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9E4BF613-B6C8-4A21-B508-B0B719E4462F/Session-WebDriverAgentRunner-2016-12-22_123950-cjTSrH.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9E4BF613-B6C8-4A21-B508-B0B719E4462F/Session-WebDriverAgentRunner-2016-12-22_123950-cjTSrH.log}

[Xcode] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.

[Xcode] Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.

[Xcode] Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'

[Xcode] Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'

[Xcode]
Testing failed:
Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.

[Xcode] Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
** TEST FAILED **

The following build commands failed:
Check dependencies
(1 failure)

[XCUITest] xcodebuild exited with code '65' and signal 'null'
[debug] [XCUITest] xcodebuild failure warrants retry. Retrying...
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down Logger process (pid 5336)
[XCUITest] System log exited with code '0'
[debug] [XCUITest] Removing WDA application from device
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Using real device logger 'idevicesyslog'
[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=ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc -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] [XCUITest] Log file for xcodebuild test: /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/3A357AC9-CB45-4ACA-8253-6D0013C0EB8F/Session-WebDriverAgentRunner-2016-12-22_123956-PRywJo.log
[Xcode] 2016-12-22 12:39:58.524 xcodebuild[5588:1176146] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/3A357AC9-CB45-4ACA-8253-6D0013C0EB8F/Session-WebDriverAgentRunner-2016-12-22_123956-PRywJo.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/3A357AC9-CB45-4ACA-8253-6D0013C0EB8F/Session-WebDriverAgentRunner-2016-12-22_123956-PRywJo.log}

[Xcode] 2016-12-22 12:39:58.525 xcodebuild[5588:1176170] Connection peer refused channel request for "dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"; channel canceled

[Xcode]
Testing failed:
Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
** TEST FAILED **

[Xcode]
The following build commands failed:
Check dependencies
(1 failure)

[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Error: xcodebuild failed with code 65
at SubProcess. (../../lib/webdriveragent.js:332:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess. (../../lib/teen_process.js:197:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess.handle.onexit (internal/childprocess.js:215:12)
Error: xcodebuild failed with code 65
at SubProcess. (../../lib/webdriveragent.js:332:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess. (../../lib/teen_process.js:197:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess.handle.onexit (internal/childprocess.js:215:12)
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down Logger process (pid 5593)
[XCUITest] System log exited with code '0'
[debug] [XCUITest] Running ios real device reset flow
[debug] [XCUITest] Resetting simulator
[debug] [iOSLog] Stopping iOS log capture
(node:5274) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: Can't stop process; it's not currently running
(node:5274) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[MJSONWP] Encountered internal error running command: Error: xcodebuild failed with code 65
at SubProcess. (../../lib/webdriveragent.js:332:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess. (../../lib/teen_process.js:197:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess.handle.onexit (internal/childprocess.js:215:12)
[HTTP] <-- POST /wd/hub/session 500 14952 ms - 167

Your webdriver agent needs to be linked with provisioning profile , the
config should be given as capability

Can anyone let me know how to automate scroll down feature in windows UWP application?
What is the syntax to be used?

Thanks in Advance.

Hi Guys,

Just want to know if my simulator iOS app is build with iOS sdk 10.2 using xcode 8.X
would it be possible for me to run my test on that app installing it in simulator iPhone6(9.3) which is from xcode 7.3.1 with appium 1.6.3

For trying this i gave automation name capability as "XCUITest"
launched my simulator iPhone6(9.3) which is from xcode 7.3.1 and installed the app on it. And set used the capability no-reset in my appium server

While running the test i am getting the configuration error

Original error: Could not update plist: Plist file doesn't exist: '/info.plist'

Can you please help me on this ?

Appium GUI version for 1.6 is not available as of now. Maybe the moderators will have some answers on by when it will be released. Till then we will have to use the non GUI version if we want to use Appium 1.6.x

Can anyone tell me how to replace the default app(integration app) by my own test app? please provide steps... i wonder and appreciate if anyone can reply.. Thanks in advance!

You are talking about system app?

regular adb install command with -r should be enough:

adb install -r your_app.apk

No i am asking that on MAC IOS, WebdriverAgent.xcodeproject has "integration app" right, it is test app. how do i can test my own app? how do i can include my own app with Webdriveragent folder?
my app is getting installed, but not opened, if i use
"bundleid" as "com.myown.app" instead of "com.facebook.IntegrationApps" and i already used my own app path for installing.

23 days later

Hi upendra , IT is still not working

***************************************Log**************************************
Last login: Fri Feb 3 12:53:26 on ttys003
CISM-MACMINI-20:~ cis$ sudo npm install -g appium@latest
Password:
/usr/local/bin/appium -> /usr/local/lib/node_modules/appium/build/lib/main.js

sqlite3@3.1.8 install /usr/local/lib/node_modules/appium/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

[sqlite3] Success: "/usr/local/lib/node_modules/appium/node_modules/sqlite3/lib/binding/node-v48-darwin-x64/node_sqlite3.node" is installed via remote

appium-chromedriver@2.9.4 install /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver
node install-npm.js

info Chromedriver Install Installing Chromedriver version '2.25' for platform 'mac' and architecture '64'
info Chromedriver Install Opening temp file to write chromedriver_mac64 to...
info Chromedriver Install Downloading https://chromedriver.storage.googleapis.com/2.25/chromedriver_mac64.zip...
RequestError: Error: self signed certificate in certificate chain
at new RequestError (/usr/local/lib/node_modules/appium/node_modules/request-promise/lib/errors.js:11:15)
at Request.RP$callback as _callback
at self.callback (/usr/local/lib/node_modules/appium/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/usr/local/lib/node_modules/appium/node_modules/request/request.js:845:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (httpclient.js:310:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at emitErrorNT (net.js:1278:8)
at combinedTickCallback (internal/process/nexttick.js:74:11)
at process.tickCallback (internal/process/nexttick.js:98:9)
/usr/local/lib
└── (empty)

npm ERR! Darwin 16.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "appium@latest"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! appium-chromedriver@2.9.4 install: node install-npm.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appium-chromedriver@2.9.4 install script 'node install-npm.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the appium-chromedriver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install-npm.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs appium-chromedriver
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls appium-chromedriver
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/cis/npm-debug.log
npm ERR! code 1
CISM-MACMINI-20:~ cis$ npm config set strict-ssl false
CISM-MACMINI-20:~ cis$ sudo npm install -g appium@latest
/usr/local/bin/appium -> /usr/local/lib/node_modules/appium/build/lib/main.js

sqlite3@3.1.8 install /usr/local/lib/node_modules/appium/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

[sqlite3] Success: "/usr/local/lib/node_modules/appium/node_modules/sqlite3/lib/binding/node-v48-darwin-x64/node_sqlite3.node" is installed via remote

appium-chromedriver@2.9.4 install /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver
node install-npm.js

info Chromedriver Install Installing Chromedriver version '2.25' for platform 'mac' and architecture '64'
info Chromedriver Install Opening temp file to write chromedriver_mac64 to...
info Chromedriver Install Downloading https://chromedriver.storage.googleapis.com/2.25/chromedriver_mac64.zip...
RequestError: Error: self signed certificate in certificate chain
at new RequestError (/usr/local/lib/node_modules/appium/node_modules/request-promise/lib/errors.js:11:15)
at Request.RP$callback as _callback
at self.callback (/usr/local/lib/node_modules/appium/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/usr/local/lib/node_modules/appium/node_modules/request/request.js:845:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (httpclient.js:310:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at emitErrorNT (net.js:1278:8)
at combinedTickCallback (internal/process/nexttick.js:74:11)
at process.tickCallback (internal/process/nexttick.js:98:9)
/usr/local/lib
└── (empty)

npm ERR! Darwin 16.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "appium@latest"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! appium-chromedriver@2.9.4 install: node install-npm.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appium-chromedriver@2.9.4 install script 'node install-npm.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the appium-chromedriver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install-npm.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs appium-chromedriver
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls appium-chromedriver
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/cis/npm-debug.log
npm ERR! code 1
CISM-MACMINI-20:~ cis$ npm config set strict-ssl true

This topic is no longer a banner. It will no longer appear at the top of every page.

1 month later

Please walk-through the steps to automate apps on windows platform
1. What should be the value for DeviceName capability when used for device and emulator like we give 'WindowsPC' for running apps on Windows 10 desktop
2. How to install a new .appx file.
3. It would be very helpful if you could summarize all the desired capabilities available for Windows platform

4 months later

Please let us know about automating UWP app on Windows 10 mobile.

  1. I have a UWP app installed in my Windows 10 mobile phone. Please give some insights on setting the desired capabilities for Windows 10 mobile phone.

  2. I have automated the same UWP app on Windows 10 desktop using Appium. The same is to be automated in Windows 10 mobile. I am stuck as to how to set the desired capabilities so that it understands that the automation has to be started on mobile.

  3. For Windows 10 desktop automation of the UWP app, I have WinAppDriver installed on the desktop. Is there any other driver that I need to install for doing the same on Windows mobile or the same WinAppDriver is required?

  4. How do I know the Package name of the UWP app which is installed on Mobile?

It would be of great help if you take some time out and reply to my queries.
Looking forward for your support and cooperation.

Hi Jlipps,

Please let us know whether Appium 1.6.5 support is extended to UWP automation on Windows’10 Mobile phone. Automation of UWP on Win’10 Desktop is already been achieved using Appium v1.6.5 and eager to know the support for real device. Appreciate any help\support\response for this query. It will be of great help.

Thanks & Regards !