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