Hello guys ,
everything was working good for me and suddenly , after upgrading my Xcode and OS and i start getting error on click() event , this is the logs.
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.13”,“revision”:“c75d8adcb66a75818a542fe1891a34260c21f76a”}}}
info: <-- GET /wd/hub/status 200 0.660 ms - 105 {“status”:0,“value”:{“build”:{“version”:“1.4.13”,“revision”:“c75d8adcb66a75818a542fe1891a34260c21f76a”}}}
info: --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/msuleiman/Desktop/eclipse-epsilon-1.2-macosx-cocoa-x86_64/workspace/uvideos-automation/Uvideos-automation-BDD/UV001-Univision-iOS-Staging-57.app.zip",“platformVersion”:“8.1”,“appiumVersion”:“1.4.13”,“commandTimeout”:“600”,“name”:“msuleiman - UVideos(And) - Thu Oct 29 09:34:53 EEST 2015”,“browserName”:"",“deviceOrientation”:“portrait”,“platformName”:“iOS”,“version”:"",“deviceName”:“iPhone 6”,“platform”:“MAC”,“maxDuration”:“10800”}}
info: Client User-Agent string: Apache-HttpClient/4.3.3 (java 1.5)
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : appiumVersion, commandTimeout, name, deviceOrientation, version, platform, maxDuration
info: [debug] Using local .zip from desired caps: /Users/msuleiman/Desktop/eclipse-epsilon-1.2-macosx-cocoa-x86_64/workspace/uvideos-automation/Uvideos-automation-BDD/UV001-Univision-iOS-Staging-57.app.zip
info: [debug] Copying local zip to tmp dir
info: [debug] /Users/msuleiman/Desktop/eclipse-epsilon-1.2-macosx-cocoa-x86_64/workspace/uvideos-automation/Uvideos-automation-BDD/UV001-Univision-iOS-Staging-57.app.zip copied to /var/folders/ct/nfjsf70126bfzkyw_k619qy9l_nt75/T/115929-908-f8v056/appium-app.zip
info: [debug] Unzipping /var/folders/ct/nfjsf70126bfzkyw_k619qy9l_nt75/T/115929-908-f8v056/appium-app.zip
info: [debug] Testing zip archive: /var/folders/ct/nfjsf70126bfzkyw_k619qy9l_nt75/T/115929-908-f8v056/appium-app.zip
info: [debug] Zip archive tested clean
info: [debug] Unzip successful
info: [debug] Using locally extracted app: /var/folders/ct/nfjsf70126bfzkyw_k619qy9l_nt75/T/115929-908-f8v056/Volumes/External-HD/jenkins/workspace/UV001-Univision-iOS-Staging/product/UVideos.app
info: [debug] Creating new appium session 321f235c-a611-4b16-b30c-f198d7460781
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode version
info: [debug] Xcode version set to 7.0.1
info: [debug] Setting iOS SDK Version
info: [debug] iOS SDK Version set to 9.0
info: [debug] Checking whether instruments supports our device string
info: [debug] Getting list of devices instruments supports
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“7.0.1”,“iOSSDKVersion”:“9.0”,“deviceName”:“iPhone 6”,“platformVersion”:“8.1”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone 6 (8.1)’
info: [debug] iOS sim UDID is 13F16889-8BF0-4914-AE5F-FFF8573C129F
info: [debug] Auto-detecting iOS udid…
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /var/folders/ct/nfjsf70126bfzkyw_k619qy9l_nt75/T/115929-908-f8v056/Volumes/External-HD/jenkins/workspace/UV001-Univision-iOS-Staging/product/UVideos.app/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /var/folders/ct/nfjsf70126bfzkyw_k619qy9l_nt75/T/115929-908-f8v056/Volumes/External-HD/jenkins/workspace/UV001-Univision-iOS-Staging/product/UVideos.app/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn’t exist
info: [debug] Getting bundle ID from app
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/msuleiman/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/Applications/Appium.app/Contents/Resources/node/bin/node",“commandProxyClientPath”:"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“autoDismissAlerts”:false,“sendKeyStrategy”:“oneByOne”}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
…
info: [debug] Dynamic bootstrap path: /Users/msuleiman/Library/Application Support/appium/bootstrap/bootstrap-4e580d338a12229a.js
info: [debug] Reusing dynamic bootstrap: /Users/msuleiman/Library/Application Support/appium/bootstrap/bootstrap-4e580d338a12229a.js
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“7.0.1”,“iOSSDKVersion”:“9.0”,“deviceName”:“iPhone 6”,“platformVersion”:“8.1”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone 6 (8.1)’
info: [debug] We’re on iOS7.1+ so forcing defaultDevice on
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“7.0.1”,“iOSSDKVersion”:“9.0”,“deviceName”:“iPhone 6”,“platformVersion”:“8.1”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone 6 (8.1)’
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Wrote new app Info.plist with device type
info: [debug] Checking whether we need to set app preferences
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] Killall iOS Simulator
info: [debug] Cleaning sim data files
info: node-simctl: Executing: xcrun with args: simctl erase 13F16889-8BF0-4914-AE5F-FFF8573C129F and timeout: 2000
info: [debug] Cleaning app data files
warn: Applications directory /Users/msuleiman/Library/Developer/CoreSimulator/Devices/13F16889-8BF0-4914-AE5F-FFF8573C129F/data/Containers/Data/Application doesn’t exist. Have you run this simulator before?
warn: Applications directory /Users/msuleiman/Library/Developer/CoreSimulator/Devices/13F16889-8BF0-4914-AE5F-FFF8573C129F/data/Containers/Bundle/Application doesn’t exist. Have you run this simulator before?
info: Couldn’t find app directories to delete. Probably it’s not installed
info: [debug] Not setting locale
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS 8.* simulator log capture
info: [debug] Not pre-launching simulator
info: [debug] Starting command proxy.
info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: Launching instruments
info: [debug] Attempting to run app on iPhone 6 (8.1)
info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w “iPhone 6 (8.1)” /var/folders/ct/nfjsf70126bfzkyw_k619qy9l_nt75/T/115929-908-f8v056/Volumes/External-HD/jenkins/workspace/UV001-Univision-iOS-Staging/product/UVideos.app -e UIASCRIPT “/Users/msuleiman/Library/Application Support/appium/bootstrap/bootstrap-4e580d338a12229a.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {“global”:90000}
info: [debug] [INST] Waiting for device to boot…
info: [debug] [INST STDERR] 2015-10-29 09:34:59.080 instruments[1069:21705] Attempting to change event horizon while disengage
info: [debug] [INST STDERR] 2015-10-29 09:34:59.080 instruments[1069:21706] Attempting to change event horizon while disengage
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 8.) : Failed to launch process with bundle identifier ‘com.phunware.univision.ios’
info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #1
info: [debug] Got the FBSOpenApplicationError, not killing the sim but leaving it open so the app will launch
info: Launching instruments
info: [debug] Attempting to run app on iPhone 6 (8.1)
info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w “iPhone 6 (8.1)” /var/folders/ct/nfjsf70126bfzkyw_k619qy9l_nt75/T/115929-908-f8v056/Volumes/External-HD/jenkins/workspace/UV001-Univision-iOS-Staging/product/UVideos.app -e UIASCRIPT “/Users/msuleiman/Library/Application Support/appium/bootstrap/bootstrap-4e580d338a12229a.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {“global”:90000}
info: Instruments is ready to receive commands
info: [debug] Instruments launched. Starting poll loop for new commands.
info: [debug] Setting bootstrap config keys/values
info: [debug] Pushing command to appium work queue: “target = $.target();\nau = $;\n$.isVerbose = true;\n”
info: [debug] Socket data received (2 bytes)
info: [debug] Socket data being routed.
info: [debug] Sending command to instruments: target = $.target();
au = $;
$.isVerbose = true;
info: [debug] [INST] 2015-10-29 06:35:05 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-10-29 06:35:05 +0000 Debug: responding with:
info: [debug] [INST] 2015-10-29 06:35:05 +0000 Debug: Running system command #1: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:true}…
info: [debug] Socket data received (27 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:true}
info: [debug] Setting initial orientation to portrait
info: [debug] Pushing command to appium work queue: “au.setScreenOrientation(‘PORTRAIT’)”
info: [debug] Sending command to instruments: au.setScreenOrientation(‘PORTRAIT’)
info: [debug] [INST] 2015-10-29 06:35:06 +0000 Debug: Got new command 1 from instruments: au.setScreenOrientation(‘PORTRAIT’)
info: [debug] [INST] 2015-10-29 06:35:06 +0000 Debug: evaluating au.setScreenOrientation(‘PORTRAIT’)
info: [debug] [INST] 2015-10-29 06:35:06 +0000 Debug: target.setDeviceOrientation(“1”)
info: [debug] [INST] 2015-10-29 06:35:07 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-10-29 06:35:08 +0000 Debug: responding with:
info: [debug] [INST] 2015-10-29 06:35:08 +0000 Debug: Running system command #2: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:“PORTRAIT”}…
info: [debug] Socket data received (33 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:“PORTRAIT”}
info: [debug] Waiting for app source to contain elements
info: [debug] Pushing command to appium work queue: “au.mainApp().getTreeForXML()”
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-10-29 06:35:09 +0000 Debug: Got new command 2 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-10-29 06:35:09 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-10-29 06:35:10 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-10-29 06:35:10 +0000 Debug: responding with::true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0",“x”:0,“y”:0,“width”:375,“height”:667},">":[]}},{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1",“x”:0,“y”:0.6875,“width”:375,“height”:665.625},">":[{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:1,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/1/0",“x”:111.328125,“y”:41.703125,“width”:35.15625,“height”:35.15625},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/1/1",“x”:228.515625,“y”:41.703125,“width”:35.15625,“height”:35.15625},">":[]}},{“UIAImage”:{"@":{“name”:“bg_launch1”,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/2",“x”:0,“y”:0.6875,“width”:375,“height”:665.625},">":[]}},{“UIAStaticText”:{"@":{“name”:“BIENVENIDO”,“label”:“BIENVENIDO”,“value”:“BIENVENIDO”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/3",“x”:118.359375,“y”:155.375,“width”:138.8671875,“height”:21.09375},">":[]}},{“UIAStaticText”:{"@":{“name”:“Por favor, seleccione su idioma de preferencia.”,“label”:“Por favor, seleccione su idioma de preferencia.”,“value”:“Por favor, seleccione su idioma de preferencia.”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/4",“x”:23.4375,“y”:188.1875,“width”:328.125,“height”:14.0625},">":[]}},{“UIAButton”:{"@":{“name”:“English”,“label”:“English”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/5",“x”:106.0546875,“y”:249.125,“width”:162.890625,“height”:58.59375},">":[]}},{“UIAButton”:{"@":{“name”:“Español”,“label”:“Español”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/6",“x”:106.0546875,“y”:342.875,“width”:162.890625,“height”:58.59375},">":[]}},{“UIAStaticText”:{"@":{“name”:“Usted puede cambiar su preferencia de idioma en cualquier momento durante la configuración.”,“label”:“Usted puede cambiar su preferencia de idioma en cualquier momento durante la configuración.”,“value”:“Usted puede cambiar su preferencia de idioma en cualquier momento durante la configuración.”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/7",“x”:17.578125,“y”:593.65625,“width”:339.84375,“height”:28.125},">":[]}},{“UIAImage”:{"@":{“name”:“logo_launch.png”,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/8",“x”:90.234375,“y”:56.9375,“width”:180.46875,“height”:33.984375},">":[]}},{“UIAButton”:{"@":{“name”:“VOLVER”,“label”:“VOLVER”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/1/9",“x”:11.71875,“y”:627.640625,“width”:64.453125,“height”:38.671875},">":[{“UIAStaticText”:{"@":{“name”:“VOLVER”,“label”:“VOLVER”,“value”:“VOLVER”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/1/9/0",“x”:11.71875,“y”:638.1875,“width”:64.453125,“height”:15.8203125},">":[]}}]}},{“UIAButton”:{"@":{“name”:“SEGUIR”,“label”:“SEGUIR”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/10",“x”:282.421875,“y”:627.640625,“width”:82.03125,“height”:38.671875},">":[]}},{“UIAPageIndicator”:{"@":{“name”:null,“label”:null,“value”:“page 1 of 2”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/11",“x”:174.0234375,“y”:622.953125,“width”:26.953125,“height”:49.21875},">":[]}}]}},{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/2",“x”:0,“y”:0.6875,“width”:375,“height”:665.625},">":[]}},{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/3",“x”:0,“y”:0.6875,“width”:375,“height”:665.625},">":[{“UIAStatusBar”:{"@":{“name”:null,“label”:nu
ll,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/3/0",“x”:0,“y”:0.6875,“width”:375,“height”:23.4375},">":[{“UIAElement”:{"@":{“name”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“path”:"/0/3/0/0",“x”:7.03125,“y”:0.6875,“width”:44.53125,“height”:23.4375},">":[]}},{“UIAElement”:{"@":{“name”:“3 of 3 Wi-Fi bars”,“label”:“3 of 3 Wi-Fi bars”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“path”:"/0/3/0/1",“x”:57.421875,“y”:0.6875,“width”:15.234375,“height”:23.4375},">":[]}},{“UIAElement”:{"@":{“name”:“9:35 AM”,“label”:“9:35 AM”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“path”:"/0/3/0/2",“x”:160.546875,“y”:0.6875,“width”:55.078125,“height”:23.4375},">":[]}},{“UIAElement”:{"@":{“name”:“StandardLocationTrackingOn”,“label”:“Location tracking on”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“path”:"/0/3/0/3",“x”:322.265625,“y”:0.6875,“width”:10.546875,“height”:23.4375},">":[]}},{“UIAElement”:{"@":{“name”:“100% battery power”,“label”:“100% battery power”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“path”:"/0/3/0/4",“x”:339.84375,“y”:0.6875,“width”:29.296875,“height”:23.4375},">":[]}}]}}]}}]}}}
info: [debug] [INST] 2015-10-29 06:35:10 +0000 Debug: Running system command #3: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“UIAApplication”:{"@":{“name”:“UVideos”,“label”:“UVideos”,“value”:null,“dom”:n…
info: [debug] Socket data received (6539 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:{“UIAApplication”:{"@":{“name”:“UVideos”,“label”:“UVideos”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0",“x”:0,“y”:24.125,“width”:375,“height”:642.1875},">":[{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 7200 secs
info: [debug] Appium session started with sessionId 321f235c-a611-4b16-b30c-f198d7460781
info: <-- POST /wd/hub/session 303 14602.224 ms - 74
info: --> GET /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781 {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“webStorageEnabled”:false,“locationContextEnabled”:false,“browserName”:"",“platform”:“MAC”,“javascriptEnabled”:true,“databaseEnabled”:false,“takesScreenshot”:true,“networkConnectionEnabled”:false,“warnings”:{},“desired”:{“app”:"/Users/msuleiman/Desktop/eclipse-epsilon-1.2-macosx-cocoa-x86_64/workspace/uvideos-automation/Uvideos-automation-BDD/UV001-Univision-iOS-Staging-57.app.zip",“platformVersion”:“8.1”,“appiumVersion”:“1.4.13”,“commandTimeout”:“600”,“name”:“msuleiman - UVideos(And) - Thu Oct 29 09:34:53 EEST 2015”,“browserName”:"",“deviceOrientation”:“portrait”,“platformName”:“iOS”,“version”:"",“deviceName”:“iPhone 6”,“platform”:“MAC”,“maxDuration”:“10800”},“app”:"/Users/msuleiman/Desktop/eclipse-epsilon-1.2-macosx-cocoa-x86_64/workspace/uvideos-automation/Uvideos-automation-BDD/UV001-Univision-iOS-Staging-57.app.zip",“platformVersion”:“8.1”,“appiumVersion”:“1.4.13”,“commandTimeout”:“600”,“name”:“msuleiman - UVideos(And) - Thu Oct 29 09:34:53 EEST 2015”,“deviceOrientation”:“portrait”,“platformName”:“iOS”,“version”:"",“deviceName”:“iPhone 6”,“maxDuration”:“10800”},“sessionId”:“321f235c-a611-4b16-b30c-f198d7460781”}
info: <-- GET /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781 200 1.341 ms - 1155 {“status”:0,“value”:{“webStorageEnabled”:false,“locationContextEnabled”:false,“browserName”:"",“platform”:“MAC”,“javascriptEnabled”:true,“databaseEnabled”:false,“takesScreenshot”:true,“networkConnectionEnabled”:false,“warnings”:{},“desired”:{“app”:"/Users/msuleiman/Desktop/eclipse-epsilon-1.2-macosx-cocoa-x86_64/workspace/uvideos-automation/Uvideos-automation-BDD/UV001-Univision-iOS-Staging-57.app.zip",“platformVersion”:“8.1”,“appiumVersion”:“1.4.13”,“commandTimeout”:“600”,“name”:“msuleiman - UVideos(And) - Thu Oct 29 09:34:53 EEST 2015”,“browserName”:"",“deviceOrientation”:“portrait”,“platformName”:“iOS”,“version”:"",“deviceName”:“iPhone 6”,“platform”:“MAC”,“maxDuration”:“10800”},“app”:"/Users/msuleiman/Desktop/eclipse-epsilon-1.2-macosx-cocoa-x86_64/workspace/uvideos-automation/Uvideos-automation-BDD/UV001-Univision-iOS-Staging-57.app.zip",“platformVersion”:“8.1”,“appiumVersion”:“1.4.13”,“commandTimeout”:“600”,“name”:“msuleiman - UVideos(And) - Thu Oct 29 09:34:53 EEST 2015”,“deviceOrientation”:“portrait”,“platformName”:“iOS”,“version”:"",“deviceName”:“iPhone 6”,“maxDuration”:“10800”},“sessionId”:“321f235c-a611-4b16-b30c-f198d7460781”}
info: --> POST /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781/timeouts/implicit_wait {“ms”:30000}
info: [debug] Set iOS implicit wait to 30000ms
info: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“321f235c-a611-4b16-b30c-f198d7460781”}
info: <-- POST /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781/timeouts/implicit_wait 200 1.026 ms - 76 {“status”:0,“value”:null,“sessionId”:“321f235c-a611-4b16-b30c-f198d7460781”}
info: --> GET /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781/alert_text {}
info: [debug] Pushing command to appium work queue: “au.getAlertText()”
info: [debug] Sending command to instruments: au.getAlertText()
info: [debug] [INST] 2015-10-29 06:35:11 +0000 Debug: Got new command 3 from instruments: au.getAlertText()
info: [debug] [INST] 2015-10-29 06:35:11 +0000 Debug: evaluating au.getAlertText()
info: [debug] [INST] 2015-10-29 06:35:11 +0000 Error: VerboseError: An attempt was made to operate on a modal dialog when one was not open.
info: [debug] Socket data received (97 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:27,“value”:“An attempt was made to operate on a modal dialog when one was not open.”}
info: [debug] Responding to client with error: {“status”:27,“value”:{“message”:“An attempt was made to operate on a modal dialog when one was not open.”,“origValue”:“An attempt was made to operate on a modal dialog when one was not open.”},“sessionId”:“321f235c-a611-4b16-b30c-f198d7460781”}
info: <-- GET /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781/alert_text 500 1529.093 ms - 244
info: --> POST /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781/element {“using”:“xpath”,“value”:"(//[@=“English”])"}
info: [debug] Waiting up to 30000ms for condition
info: [debug] Pushing command to appium work queue: “au.mainApp().getTreeForXML()”
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-10-29 06:35:11 +0000 Error: Error during eval: getAlertText@file:///Applications/Appium.app/Contents/Resources/node_modules/appium/564F6624-6C93-4C94-80AF-9E5CD9F54890/bootstrap-4e580d338a12229a.js:939:43
eval code
eval@[native code]
startProcessing@file:///Applications/Appium.app/Contents/Resources/node_modules/appium/564F6624-6C93-4C94-80AF-9E5CD9F54890/bootstrap-4e580d338a12229a.js:2702:30
bootstrap@file:///Applications/Appium.app/Contents/Resources/node_modules/appium/564F6624-6C93-4C94-80AF-9E5CD9F54890/bootstrap-4e580d338a12229a.js:2770:31
global code@file:///Applications/Appium.app/Contents/Resources/node_modules/appium/564F6624-6C93-4C94-80AF-9E5CD9F54890/bootstrap-4e580d338a12229a.js:2779:10
info: [debug] [INST] 2015-10-29 06:35:11 +0000 Debug: responding with:
info: [debug] [INST] 2015-10-29 06:35:11 +0000 Debug: Running system command #4: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:27,“value”:“An attempt was made to operate on a modal dialog when one was not open.”}…
info: [debug] [INST] 2015-10-29 06:35:12 +0000 Debug: Got new command 4 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-10-29 06:35:12 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-10-29 06:35:13 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-10-29 06:35:13 +0000 Debug: responding with::true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0",“x”:0,“y”:0,“width”:375,“height”:667},">":[]}},{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1",“x”:0,“y”:0.6875,“width”:375,“height”:665.625},">":[{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:1,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/1/0",“x”:111.328125,“y”:41.703125,“width”:35.15625,“height”:35.15625},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/1/1",“x”:228.515625,“y”:41.703125,“width”:35.15625,“height”:35.15625},">":[]}},{“UIAImage”:{"@":{“name”:“bg_launch1”,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/2",“x”:0,“y”:0.6875,“width”:375,“height”:665.625},">":[]}},{“UIAStaticText”:{"@":{“name”:“BIENVENIDO”,“label”:“BIENVENIDO”,“value”:“BIENVENIDO”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/3",“x”:118.359375,“y”:155.375,“width”:138.8671875,“height”:21.09375},">":[]}},{“UIAStaticText”:{"@":{“name”:“Por favor, seleccione su idioma de preferencia.”,“label”:“Por favor, seleccione su idioma de preferencia.”,“value”:“Por favor, seleccione su idioma de preferencia.”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/4",“x”:23.4375,“y”:188.1875,“width”:328.125,“height”:14.0625},">":[]}},{“UIAButton”:{"@":{“name”:“English”,“label”:“English”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/5",“x”:106.0546875,“y”:249.125,“width”:162.890625,“height”:58.59375},">":[]}},{“UIAButton”:{"@":{“name”:“Español”,“label”:“Español”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/6",“x”:106.0546875,“y”:342.875,“width”:162.890625,“height”:58.59375},">":[]}},{“UIAStaticText”:{"@":{“name”:“Usted puede cambiar su preferencia de idioma en cualquier momento durante la configuración.”,“label”:“Usted puede cambiar su preferencia de idioma en cualquier momento durante la configuración.”,“value”:“Usted puede cambiar su preferencia de idioma en cualquier momento durante la configuración.”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/7",“x”:17.578125,“y”:593.65625,“width”:339.84375,“height”:28.125},">":[]}},{“UIAImage”:{"@":{“name”:“logo_launch.png”,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/8",“x”:90.234375,“y”:56.9375,“width”:180.46875,“height”:33.984375},">":[]}},{“UIAButton”:{"@":{“name”:“VOLVER”,“label”:“VOLVER”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/1/9",“x”:11.71875,“y”:627.640625,“width”:64.453125,“height”:38.671875},">":[{“UIAStaticText”:{"@":{“name”:“VOLVER”,“label”:“VOLVER”,“value”:“VOLVER”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/1/9/0",“x”:11.71875,“y”:638.1875,“width”:64.453125,“height”:15.8203125},">":[]}}]}},{“UIAButton”:{"@":{“name”:“SEGUIR”,“label”:“SEGUIR”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/10",“x”:282.421875,“y”:627.640625,“width”:82.03125,“height”:38.671875},">":[]}},{“UIAPageIndicator”:{"@":{“name”:null,“label”:null,“value”:“page 1 of 2”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/11",“x”:174.0234375,“y”:622.953125,“width”:26.953125,“height”:49.21875},">":[]}}]}},{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/2",“x”:0,“y”:0.6875,“width”:375,“height”:665.625},">":[]}},{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/3",“x”:0,“y”:0.6875,“width”:375,“height”:665.625},">":[{“UIAStatusBar”:{"@":{“name”:null,“label”:nu
ll,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/3/0",“x”:0,“y”:0.6875,“width”:375,“height”:23.4375},">":[{“UIAElement”:{"@":{“name”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“path”:"/0/3/0/0",“x”:7.03125,“y”:0.6875,“width”:44.53125,“height”:23.4375},">":[]}},{“UIAElement”:{"@":{“name”:“3 of 3 Wi-Fi bars”,“label”:“3 of 3 Wi-Fi bars”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“path”:"/0/3/0/1",“x”:57.421875,“y”:0.6875,“width”:15.234375,“height”:23.4375},">":[]}},{“UIAElement”:{"@":{“name”:“9:35 AM”,“label”:“9:35 AM”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“path”:"/0/3/0/2",“x”:160.546875,“y”:0.6875,“width”:55.078125,“height”:23.4375},">":[]}},{“UIAElement”:{"@":{“name”:“StandardLocationTrackingOn”,“label”:“Location tracking on”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“path”:"/0/3/0/3",“x”:322.265625,“y”:0.6875,“width”:10.546875,“height”:23.4375},">":[]}},{“UIAElement”:{"@":{“name”:“100% battery power”,“label”:“100% battery power”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top”,“path”:"/0/3/0/4",“x”:339.84375,“y”:0.6875,“width”:29.296875,“height”:23.4375},">":[]}}]}}]}}]}}}
info: [debug] [INST] 2015-10-29 06:35:13 +0000 Debug: Running system command #5: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“UIAApplication”:{"@":{“name”:“UVideos”,“label”:“UVideos”,“value”:null,“dom”:n…
info: [debug] Socket data received (6539 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:{“UIAApplication”:{"@":{“name”:“UVideos”,“label”:“UVideos”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0",“x”:0,“y”:24.125,“width”:375,“height”:642.1875},">":[{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”
info: [debug] Pushing command to appium work queue: “au.getElementByIndexPath(’/0/1/5’)”
info: [debug] Sending command to instruments: au.getElementByIndexPath(’/0/1/5’)
info: [debug] [INST] 2015-10-29 06:35:14 +0000 Debug: Got new command 5 from instruments: au.getElementByIndexPath(’/0/1/5’)
info: [debug] [INST] 2015-10-29 06:35:14 +0000 Debug: evaluating au.getElementByIndexPath(’/0/1/5’)
info: [debug] [INST] 2015-10-29 06:35:15 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-10-29 06:35:15 +0000 Debug: Lookup returned [object UIAButton] with the name “English” (id: 0).
info: [debug] [INST] 2015-10-29 06:35:15 +0000 Debug: responding with:
info: [debug] [INST] 2015-10-29 06:35:15 +0000 Debug: Running system command #6: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“ELEMENT”:“0”}}…
info: [debug] Socket data received (38 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:{“ELEMENT”:“0”}}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“0”},“sessionId”:“321f235c-a611-4b16-b30c-f198d7460781”}
info: <-- POST /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781/element 200 3471.332 ms - 87 {“status”:0,“value”:{“ELEMENT”:“0”},“sessionId”:“321f235c-a611-4b16-b30c-f198d7460781”}
info: --> GET /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781/element/0/displayed {}
info: [debug] Pushing command to appium work queue: “au.getElement(‘0’).isDisplayed()”
info: [debug] Sending command to instruments: au.getElement(‘0’).isDisplayed()
info: [debug] [INST] 2015-10-29 06:35:16 +0000 Debug: Got new command 6 from instruments: au.getElement(‘0’).isDisplayed()
info: [debug] [INST] 2015-10-29 06:35:16 +0000 Debug: evaluating au.getElement(‘0’).isDisplayed()
info: [debug] [INST] 2015-10-29 06:35:16 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-10-29 06:35:16 +0000 Debug: responding with:
info: [debug] [INST] 2015-10-29 06:35:16 +0000 Debug: Running system command #7: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:true}…
info: [debug] Socket data received (27 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:true}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“321f235c-a611-4b16-b30c-f198d7460781”}
info: <-- GET /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781/element/0/displayed 200 1077.095 ms - 76 {“status”:0,“value”:true,“sessionId”:“321f235c-a611-4b16-b30c-f198d7460781”}
info: --> POST /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781/element/0/click {“id”:“0”}
info: [debug] Pushing command to appium work queue: “au.getElement(‘0’).rect()”
info: [debug] Sending command to instruments: au.getElement(‘0’).rect()
info: [debug] [INST] 2015-10-29 06:35:17 +0000 Debug: Got new command 7 from instruments: au.getElement(‘0’).rect()
info: [debug] [INST] 2015-10-29 06:35:17 +0000 Debug: evaluating au.getElement(‘0’).rect()
info: [debug] [INST] 2015-10-29 06:35:17 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-10-29 06:35:17 +0000 Debug: responding with:
info: [debug] [INST] 2015-10-29 06:35:17 +0000 Debug: Running system command #8: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“origin”:{“x”:106.0546875,“y”:249.125},“size”:{“width”:162.890625,“height”:58…
info: [debug] Socket data received (109 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:{“origin”:{“x”:106.0546875,“y”:249.125},“size”:{“width”:162.890625,“height”:58.59375}}}
info: [debug] Responding to client with error: {“status”:13,“value”:{“message”:“An unknown server-side error occurred while processing the command. (Original error: connect ECONNREFUSED)”,“code”:“ECONNREFUSED”,“errno”:“ECONNREFUSED”,“syscall”:“connect”,“origValue”:“connect ECONNREFUSED”},“sessionId”:“321f235c-a611-4b16-b30c-f198d7460781”}
info: <-- POST /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781/element/0/click 500 1070.103 ms - 293
info: --> DELETE /wd/hub/session/321f235c-a611-4b16-b30c-f198d7460781 {}
info: Shutting down appium session
info: [debug] Stopping ios
info: [debug] Destroying instruments client socket.
info: [debug] Closing socket server.
info: [debug] Instruments socket server was closed
info: [debug] Sending sigterm to instruments
info: [debug] [INST] 2015-10-29 06:35:17 +0000 Stopped: Script was stopped by the user
info: [debug] [INST STDERR] 2015-10-29 09:35:17.835 instruments[1112:22090] Attempting to change event horizon while disengage
note: i tried Xcode 7.0 and 7.0.1 and 7.1 and the error still occur , i tried also with Appium 1.4.13 , 1.4.8 and 1.4.0 also with same error , this error occur on both simulators and real devices while everything was working fine before.
same code was working good before nothing changed on the code as i tried another project working fine on another pc and give same error.