Accept System Alert on iOS real device using Appium - ios

I'm trying to automate testing of a mobile application. I am stuck at a point where in the application redirects you to settings and you have to enable "Full Access" for the keyboard. I was able to successfully navigate throughout using "TouchActions" but the issue arose as soon as the system alert pops up. The command simply never stops executing.
I have tried using AutoAcceptAlert, adding a wait for script to wait for the alert to load but it only accepts the app sided alerts and not the system alerts.
The appium inspector is unable to detect the alert and neither am i able to execute the TouchAction using coordinates on the screen. (I know this as the command never stops executing, as seen in debug mode in eclipse).
Command telling us to enable full access gets executed but any "DRIVER" command that follows doesn't stop executing. Soo even if I was using incorrect tap coordinates the command should atleast execute and move over to the next line.
Example: The command System.out.println("message") successfully logs the message to the console but the driver.tap command doesn't stop executing.
Is there any way to accept the system alert on a real device?
Is this occurring because changing an App's settings refreshes the application in the background causing the driver to suspend/crash? But shouldn't that happen AFTER accepting the system alert?
Alternatively if there is a way to install messages inside the simulator, that will also provide a workaround for the issue i'm facing.
Here is the appium log for just after
action.tap(x, y).perform();
Appium-
info: --> POST /wd/hub/session/56d883be-f0b2-4a9a-8818-6744f5d2d199/touch/perform {"actions":[{"action":"tap","options":{"x":192,"y":473}}]}
info: [debug] Pushing command to appium work queue: "UIATarget.localTarget().frontMostApp().rect()"
info: [debug] Sending command to instruments: UIATarget.localTarget().frontMostApp().rect()
info: [debug] [INST] 2016-01-07 03:59:05 +0000 Debug: evaluation finished
info: [debug] [INST] 2016-01-07 03:59:05 +0000 Debug: responding with:
info: [debug] [INST] 2016-01-07 03:59:05 +0000 Debug: Running system command #53: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":""}...
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.795 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.729 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.646 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.636 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.745 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.947 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.632 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 1.024 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.546 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 1.075 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.629 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 1.528 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: [IOS_SYSLOG_ROW ] Jan 7 09:29:57 Apps-iPhone Test App[2010] <Warning>: Device is connected to the internet
info: [IOS_SYSLOG_ROW ] Jan 7 09:29:58 Apps-iPhone syncdefaultsd[2013] <Notice>: (Note ) SYDAlwaysOnAccount: no account (null)
info: [IOS_SYSLOG_ROW ] Jan 7 09:29:58 Apps-iPhone syncdefaultsd[2013] <Notice>: (Note ) SYDAccount: no account
info: [IOS_SYSLOG_ROW ] Jan 7 09:29:58 Apps-iPhone syncdefaultsd[2013] <Notice>: (Note ) SYDPIMAccount: no account (null)
info: [IOS_SYSLOG_ROW ] Jan 7 09:29:59 Apps-iPhone Test App[2010] <Warning>: Success Response: success
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.827 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.627 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.614 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.765 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.859 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.917 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.538 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.545 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.531 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.645 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 0.745 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: <-- GET /wd/hub/status 200 1.080 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"56d883be-f0b2-4a9a-8818-6744f5d2d199"}
info: [IOS_SYSLOG_ROW ] Jan 7 09:30:57 Apps-iPhone Test App[2010] <Warning>: Device is connected to the internet
info: [IOS_SYSLOG_ROW ] Jan 7 09:30:58 Apps-iPhone Test App[2010] <Warning>: Success Response: success

Related

Appium Inspector not able to load image

Details : Appium 1.4.13 ; Mac OSX
While this feature was working fine until some time back before the 1.4.13 was released but ever since then I am unable to refresh the view of the Appium Inspector for my application. The hierarchy is loaded but the IMAGE is not displayed. Even on clicking Refresh the following logs are generated :
2015-11-20 06:16:33:244 - info: --> GET
/wd/hub/session/95abc888-6917-45c7-b004-155de500244e/source {}
2015-11-20 06:16:33:244 - info: [debug] Pushing command to appium work
queue: ["source",{}]
2015-11-20 06:16:33:248 - info: [debug] [BOOTSTRAP] [debug] Got data
from client: {"cmd":"action","action":"source","params":{}} 2015-11-20
06:16:33:248 - info: [debug] [BOOTSTRAP] [debug] Got command of type
ACTION 2015-11-20 06:16:33:248 - info: [debug] [BOOTSTRAP] [debug] Got
command action: source
2015-11-20 06:16:33:259 - info: [debug] [UIAUTOMATOR STDOUT]
[APPIUM-UIAUTO] [debug] Returning result: {"status":0,"value":" esc=\"\" checkable=\"false\"
checked=\"false\" clickable=\"false\" enabled=\ 2015-11-20
06:16:33:260 - info: [debug] [UIAUTOMATOR STDOUT] "true\"
focusable=\"false\" focused=\"false\" scrollable=\"false\"
long-clickable=\"false\" password=\"false\" selected=\"false\"
bounds=\"[15,169][753,188]\" resource-id=\"\"
instance=\"0\"/></android.widget.RelativeLayout></android.widget.LinearLayout>
content-desc=\"\" checkable=\"false\" checked=\"false\"
clickable=\"true\" enabled=\"true\" focusable=\"false\"
focused=\"false\" scrollable=\"false\" long-c 2015-11-20 06:16:33:262
- info: [debug] Stream still not complete, waiting 2015-11-20 06:16:33:262 - info: [debug] [UIAUTOMATOR STDOUT] lickable=\"false\"
password=\"false\" selected=\"false\" bounds=\"[15,326][753,366]\"
resource-id=\"com.flipkart.android:id/btn_mlogin\"
instance=\"3\"/></android.widget.LinearLayout></android.widget.ScrollView></android.widget.RelativeLayout></android.widget.LinearLayout></android.widget.ViewSwitcher></android.widget.FrameLayout></android.widget.LinearLayout></android.widget.FrameLayout></hierarchy>"}[/APPIUM-UIAUTO]
2015-11-20 06:16:33:265 - info: [debug] Stream still not complete,
waiting 2015-11-20 06:16:33:266 - info: [debug] Responding to client
with success: {"status":0,"value":" 2015-11-20 06:16:33:267 - info: <-- GET
/wd/hub/session/95abc888-6917-45c7-b004-155de500244e/source 200 23.308
ms - 9023 {"status":0,"value":" 2015-11-20 06:16:33:269 - info: -->
GET /wd/hub/session/95abc888-6917-45c7-b004-155de500244e/orientation
{} 2015-11-20 06:16:33:270 - info: [debug] Pushing command to appium
work queue: ["orientation",{}] 2015-11-20 06:16:33:273 - info: [debug]
[BOOTSTRAP] [debug] Got data from client:
{"cmd":"action","action":"orientation","params":{}} 2015-11-20
06:16:33:273 - info: [debug] [BOOTSTRAP] [debug] Got command of type
ACTION 2015-11-20 06:16:33:274 - info: [debug] [BOOTSTRAP] [debug] Got
command action: orientation 2015-11-20 06:16:33:274 - info: [debug]
[BOOTSTRAP] [debug] Current rotation: ROTATION_0 2015-11-20
06:16:33:274 - info: [debug] [BOOTSTRAP] [debug] Returning result:
{"status":0,"value":"PORTRAIT"} 2015-11-20 06:16:33:274 - info:
[debug] Responding to client with success:
{"status":0,"value":"PORTRAIT","sessionId":"95abc888-6917-45c7-b004-155de500244e"}
2015-11-20 06:16:33:275 - info: <-- GET
/wd/hub/session/95abc888-6917-45c7-b004-155de500244e/orientation 200
5.853 ms - 82 {"status":0,"value":"PORTRAIT","sessionId":"95abc888-6917-45c7-b004-155de500244e"}
2015-11-20 06:16:33:277 - info: --> GET
/wd/hub/session/95abc888-6917-45c7-b004-155de500244e/screenshot {}
2015-11-20 06:16:33:278 - info: [debug] executing cmd:
/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -s
192.168.56.101:5555 shell "/system/bin/rm /data/local/tmp/screenshot.png; /system/bin/screencap -p
/data/local/tmp/screenshot.png "
2015-11-20 06:16:33:354 - info: [debug] executing cmd:
/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -s
192.168.56.101:5555 pull /data/local/tmp/screenshot.png "/var/folders/9_/zhwc774n3kx8k1g7s_n3q9n15by3jh/T/appium1151020-1782-57al17.png"
2015-11-20 06:16:33:394 - info: [debug] Responding to client with
success:
{"status":0,"value":"","sessionId":"95abc888-6917-45c7-b004-155de500244e"}
2015-11-20 06:16:33:395 - info: <-- GET
/wd/hub/session/95abc888-6917-45c7-b004-155de500244e/screenshot 200
118.561 ms - 74 {"status":0,"value":"","sessionId":"95abc888-6917-45c7-b004-155de500244e"}
2015-11-20 06:16:33:398 - info: --> GET
/wd/hub/session/95abc888-6917-45c7-b004-155de500244e/contexts {}
2015-11-20 06:16:33:398 - info: [debug] Getting a list of available
webviews 2015-11-20 06:16:33:398 - info: [debug] executing cmd:
/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -s
192.168.56.101:5555 shell "cat /proc/net/unix"
2015-11-20 06:16:33:442 - info: [debug] WEBVIEW_3598 mapped to pid
3598
2015-11-20 06:16:33:442 - info: [debug] Getting process name for
webview 2015-11-20 06:16:33:443 - info: [debug] executing cmd:
/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -s
192.168.56.101:5555 shell "ps"
2015-11-20 06:16:33:485 - info: [debug] Parsed pid: 3598 pkg:
com.flipkart.android
2015-11-20 06:16:33:486 - info: [debug] from:
u0_a67,3598,465,1106360,97644,ffffffff,b7577d05,S,com.flipkart.android
2015-11-20 06:16:33:486 - info: [debug] returning process name:
com.flipkart.android 2015-11-20 06:16:33:486 - info: [debug] Available
contexts: NATIVE_APP,WEBVIEW_com.flipkart.android 2015-11-20
06:16:33:486 - info: [debug] ["WEBVIEW_com.flipkart.android"]
2015-11-20 06:16:33:486 - info: [debug] Available contexts:
NATIVE_APP,WEBVIEW_com.flipkart.android 2015-11-20 06:16:33:487 -
info: [debug] Responding to client with success:
{"status":0,"value":["NATIVE_APP","WEBVIEW_com.flipkart.android"],"sessionId":"95abc888-6917-45c7-b004-155de500244e"}
2015-11-20 06:16:33:488 - info: <-- GET
/wd/hub/session/95abc888-6917-45c7-b004-155de500244e/contexts 200
90.058 ms - 117 {"status":0,"value":["NATIVE_APP","WEBVIEW_com.flipkart.android"],"sessionId":"95abc888-6917-45c7-b004-155de500244e"}
The issue was with the installation of the Appium itself. Tried to upgrade the app from 1.4.8 to 1.4.13 instead of installing the app from a .dmg for 1.4.13.

error: Failed to start an Appium session, err was: Error: Command failed: /bin/sh -c ideviceinstaller]

info: Welcome to Appium v1.4.8 (REV c8179bd8352d3c62d98fa58b324491230df9342a)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {"app":"in.bsb.wynkmusic.inhouse","udid":"EDF98902-FB17-4B7F-AFA4-070A017AA238","nativeInstrumentsLib":true,"deviceName":"iPhone 6","platformName":"iOS","platformVersion":"8.4","showIOSLog":true,"defaultCommandTimeout":7200,"debugLogSpacing":true}
info: Console LogLevel: debug
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 8.472 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 3.534 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 1.082 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: --> GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {"status":0,"value":[]}
info: <-- GET /wd/hub/sessions 200 1.173 ms - 23 {"status":0,"value":[]}
info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"8.4","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone 6"}}
info: Client User-Agent string: Appium (unknown version) CFNetwork/720.5.7 Darwin/14.5.0 (x86_64)
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] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session f7286fd0-e68c-473f-8879-d82feff73cec
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
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 /Applications/Appium.app/Contents/Resources/node_modules/appium/in.bsb.wynkmusic.inhouse/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/in.bsb.wynkmusic.inhouse/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/admin/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":"grouped"}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...
info: [debug] Dynamic bootstrap path: /Users/admin/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js
info: [debug] Reusing dynamic bootstrap: /Users/admin/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js
info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog
info: [debug] Creating iDevice object with udid EDF98902-FB17-4B7F-AFA4-070A017AA238
info: [debug] App is not installed. Will try to install the app.
info: [debug] Cleaning up appium session
info: [debug] Error: Command failed: /bin/sh -c ideviceinstaller -u EDF98902-FB17-4B7F-AFA4-070A017AA238 -i in.bsb.wynkmusic.inhouse
at ChildProcess.exithandler (child_process.js:751:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Socket.<anonymous> (child_process.js:1183:11)
at Socket.emit (events.js:107:17)
at Pipe.close (net.js:485:12)
error: Failed to start an Appium session, err was: Error: Command failed: /bin/sh -c ideviceinstaller -u EDF98902-FB17-4B7F-AFA4-070A017AA238 -i in.bsb.wynkmusic.inhouse
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Command failed: /bin/sh -c ideviceinstaller -u EDF98902-FB17-4B7F-AFA4-070A017AA238 -i in.bsb.wynkmusic.inhouse\n)","killed":false,"code":2,"signal":null,"cmd":"/bin/sh -c ideviceinstaller -u EDF98902-FB17-4B7F-AFA4-070A017AA238 -i in.bsb.wynkmusic.inhouse","origValue":"Command failed: /bin/sh -c ideviceinstaller -u EDF98902-FB17-4B7F-AFA4-070A017AA238 -i in.bsb.wynkmusic.inhouse\n"},"sessionId":null}
info: <-- POST /wd/hub/session 500 714.811 ms - 490
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 0.896 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 0.992 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 1.258 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 0.867 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: [IOS_SYSLOG_ROW ] Oct 10 15:37:06 Bsbs-iPhone syncdefaultsd[203] : (Note ) SYDAlwaysOnAccount: no account (null)
info: [IOS_SYSLOG_ROW ] Oct 10 15:37:06 Bsbs-iPhone syncdefaultsd[203] : (Note ) SYDAccount: no account
info: [IOS_SYSLOG_ROW ] Oct 10 15:37:06 Bsbs-iPhone syncdefaultsd[203] : (Note ) SYDPIMAccount: no account (null)
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 1.840 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: [IOS_SYSLOG_ROW ] Oct 10 15:37:12 Bsbs-iPhone locationd[64] : PLClientLogging: log locationd withContent {
info: [IOS_SYSLOG_ROW ] } cannot continue due to nils!
info: [IOS_SYSLOG_ROW ] Oct 10 15:37:12 Bsbs-iPhone locationd[64] : PLClientLogging: log locationd withContent {
info: [IOS_SYSLOG_ROW ] } cannot continue due to nils!
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 0.743 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 0.739 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: [IOS_SYSLOG_ROW ] Oct 10 15:38:15 Bsbs-iPhone kernel[0] : AppleARMPMUCharger: limiting USB input current to 600 mA (measured 538 mA)
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 0.774 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: [IOS_SYSLOG_ROW ] Oct 10 15:39:06 Bsbs-iPhone syncdefaultsd[204] : (Note ) SYDAlwaysOnAccount: no account (null)
info: [IOS_SYSLOG_ROW ] Oct 10 15:39:06 Bsbs-iPhone syncdefaultsd[204] : (Note ) SYDAccount: no account
info: [IOS_SYSLOG_ROW ] Oct 10 15:39:06 Bsbs-iPhone syncdefaultsd[204] : (Note ) SYDPIMAccount: no account (null)
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}
info: <-- GET /wd/hub/status 200 2.166 ms - 104 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"}}}

Able to start appium inspector and run the app over simulator using a .app file, but unable to do the same through a .ipa file over a real device

I have no idea what went wrong, we were able to install the application on the iOS device before, but I changed my mac, and the error started appearing.
So I have no problems with running appium and the inspector over simulators using the .app file. The issue is only with trying to have appium run over real devices.
I tried with a ipa that is of ad-hoc build, and .app files that were done with developer provisioning.
Im able to install the app over X-Code, but if I Run the same over appium, it gives either a fruitstrap crash error, and if the app is already installed on to the device and appium is run, it gives a "error: Failed to start an Appium session, err was: Error: Instruments crashed on startup". and the app starts up and closes instantly.
I have read almost all stack overflow pages on the error, and none of the solutions seem to help me solve this. :(
Error if app is already installed on the device :-
![Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --command-timeout "7200" --platform-version "8.3" --platform-name "iOS" --app "com.indecomm.literaturelibrary" --udid "5fcdd3078c081abb666330066681c5f0c55d2a08" --device-name "Rohan"
info: Welcome to Appium v1.3.7 (REV 72fbfaa116d3d9f6a862600ee99cf02f6d0e2182)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: \[debug\] Non-default server args: {"app":"com.indecomm.literaturelibrary","udid":"5fcdd3078c081abb666330066681c5f0c55d2a08","deviceName":"Rohan","platformName":"iOS","platformVersion":"8.3","defaultCommandTimeout":7200}
info: Console LogLevel: debug
info: --> GET /wd/hub/status {}
info: \[debug\] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 10.052 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/status {}
info: \[debug\] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 5.375 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/sessions {}
info: \[debug\] Responding to client with success: {"status":0,"value":\[\]}
info: <-- GET /wd/hub/sessions 200 1.032 ms - 23 {"status":0,"value":\[\]}
info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"8.3","newCommandTimeout":"999999","automationName":"Appium","deviceName":"Rohan"}}
info: Client User-Agent string: Appium (unknown version) CFNetwork/720.3.13 Darwin/14.3.0 (x86_64)
info: \[debug\] App is an iOS bundle, will attempt to run as pre-existing
info: \[debug\] Creating new appium session 371dbdd4-3129-40ee-b102-4048d0ee998f
info: \[debug\] Removing any remaining instruments sockets
info: \[debug\] Cleaned up instruments socket /tmp/instruments_sock
info: \[debug\] Setting Xcode folder
info: \[debug\] Setting Xcode version
info: \[debug\] Setting iOS SDK Version
info: \[debug\] Getting sdk version from xcrun with a timeout
info: \[debug\] iOS SDK Version set to 8.3
info: \[debug\] Not checking whether simulator is available since we're on a real device
info: \[debug\] Detecting automation tracetemplate
info: \[debug\] Not auto-detecting udid, running on sim
info: \[debug\] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.indecomm.literaturelibrary/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: \[debug\] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.indecomm.literaturelibrary/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
info: \[debug\] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: \[debug\] Preparing uiauto bootstrap
info: \[debug\] Dynamic bootstrap dir: /Users/rohanganapathy/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":"grouped"}
info: \[debug\] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...
info: \[debug\] Dynamic bootstrap path: /Users/rohanganapathy/Library/Application Support/appium/bootstrap/bootstrap-d5a0fb924946d8d3.js
info: \[debug\] Reusing dynamic bootstrap: /Users/rohanganapathy/Library/Application Support/appium/bootstrap/bootstrap-d5a0fb924946d8d3.js
info: \[debug\] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.3.1","iOSSDKVersion":"8.3","deviceName":"Rohan","platformVersion":"8.3"}
info: \[debug\] fixDevice is on
info: \[debug\] Final device string is: 'Rohan (8.3 Simulator)'
info: \[debug\] Not setting device type since we're on a real device
info: \[debug\] Checking whether we need to set app preferences
info: \[debug\] Not setting iOS and app preferences since we're on a real device
info: \[debug\] Running ios sim reset flow
info: \[debug\] Killing the simulator process
info: \[debug\] Killall iOS Simulator
info: \[debug\] Killing any other simulator daemons
info: \[debug\] On a real device; cannot clean device state
info: \[debug\] Not setting locale because we're using a real device
info: \[debug\] No iOS / app preferences to set
info: \[debug\] Starting iOS device log capture via deviceconsole
info: \[debug\] Not pre-launching simulator
info: \[debug\] Creating iDevice object with udid 5fcdd3078c081abb666330066681c5f0c55d2a08
info: \[debug\] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 5fcdd3078c081abb666330066681c5f0c55d2a08 --bundle com.indecomm.literaturelibrary
info: \[debug\] App is installed.
info: \[debug\] fullReset not requested. No need to install.
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 real device with UDID 5fcdd3078c081abb666330066681c5f0c55d2a08
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 5fcdd3078c081abb666330066681c5f0c55d2a08 com.indecomm.literaturelibrary -e UIASCRIPT "/Users/rohanganapathy/Library/Application Support/appium/bootstrap/bootstrap-d5a0fb924946d8d3.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 STDERR\] 2015-05-13 12:35:32.683 instruments\[10692:1844813\] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: \[debug\] \[INST STDERR\] Instruments Trace Error : Target failed to run: Permission to debug com.indecomm.literaturelibrary was denied. The app must be signed with a development identity (e.g. iOS Developer).
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\] Killall iOS Simulator
info: --> GET /wd/hub/status {}
info: \[debug\] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"},"isShuttingDown":false},"sessionId":"371dbdd4-3129-40ee-b102-4048d0ee998f"}
info: <-- GET /wd/hub/status 200 1.113 ms - 178 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"},"isShuttingDown":false},"sessionId":"371dbdd4-3129-40ee-b102-4048d0ee998f"}
info: Launching instruments
info: \[debug\] Attempting to run app on real device with UDID 5fcdd3078c081abb666330066681c5f0c55d2a08
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 5fcdd3078c081abb666330066681c5f0c55d2a08 com.indecomm.literaturelibrary -e UIASCRIPT "/Users/rohanganapathy/Library/Application Support/appium/bootstrap/bootstrap-d5a0fb924946d8d3.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 STDERR\] 2015-05-13 12:35:38.992 instruments\[10695:1844869\] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: \[debug\] \[INST STDERR\] Instruments Trace Error : Target failed to run: Permission to debug com.indecomm.literaturelibrary was denied. The app must be signed with a development identity (e.g. iOS Developer).
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 #2
info: \[debug\] Killall iOS Simulator
info: Launching instruments
info: \[debug\] Attempting to run app on real device with UDID 5fcdd3078c081abb666330066681c5f0c55d2a08
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 5fcdd3078c081abb666330066681c5f0c55d2a08 com.indecomm.literaturelibrary -e UIASCRIPT "/Users/rohanganapathy/Library/Application Support/appium/bootstrap/bootstrap-d5a0fb924946d8d3.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 STDERR\] 2015-05-13 12:35:44.997 instruments\[10698:1844942\] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: \[debug\] \[INST STDERR\] Instruments Trace Error : Target failed to run: Permission to debug com.indecomm.literaturelibrary was denied. The app must be signed with a development identity (e.g. iOS Developer).
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 #3
info: \[debug\] Killall iOS Simulator
info: Launching instruments
info: \[debug\] Attempting to run app on real device with UDID 5fcdd3078c081abb666330066681c5f0c55d2a08
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 5fcdd3078c081abb666330066681c5f0c55d2a08 com.indecomm.literaturelibrary -e UIASCRIPT "/Users/rohanganapathy/Library/Application Support/appium/bootstrap/bootstrap-d5a0fb924946d8d3.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 STDERR\] 2015-05-13 12:35:51.316 instruments\[10701:1845063\] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: \[debug\] \[INST STDERR\] Instruments Trace Error : Target failed to run: Permission to debug com.indecomm.literaturelibrary was denied. The app must be signed with a development identity (e.g. iOS Developer).
info: \[debug\] \[INSTSERVER\] Instruments exited with code 253
info: \[debug\] Killall instruments
info: \[debug\] Instruments crashed on startup
info: \[debug\] We exceeded the number of retries allowed for instruments to successfully start; failing launch
info: \[debug\] Stopping iOS log capture
info: \[debug\] Running ios sim reset flow
info: \[debug\] Killing the simulator process
info: \[debug\] Killall iOS Simulator
info: \[debug\] Killing any other simulator daemons
info: \[debug\] On a real device; cannot clean device state
info: \[debug\] Cleaning up appium session
info: \[debug\] Error: Instruments crashed on startup
at Instruments.onInstrumentsExit (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:389:31)
at null.<anonymous> (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:308:12)
at ChildProcess.emit (events.js:110:17)
at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
info: \[debug\] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Instruments crashed on startup)","origValue":"Instruments crashed on startup"},"sessionId":null}
error: Failed to start an Appium session, err was: Error: Instruments crashed on startup
info: <-- POST /wd/hub/session 500 21928.427 ms - 182
info: --> GET /wd/hub/status {}
info: \[debug\] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 1.723 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/status {}
info: \[debug\] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 1.344 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/status {}
info: \[debug\] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 1.144 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/status {}
info: \[debug\] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 1.039 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/status {}
info: \[debug\] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 1.202 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/status {}
info: \[debug\] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 1.082 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
`][1]
Error if app is not installed in the device:-
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --command-timeout "7200" --platform-version "8.3" --platform-name "iOS" --app "com.indecomm.literaturelibrary" --udid "5fcdd3078c081abb666330066681c5f0c55d2a08" --device-name "Rohan"
info: Welcome to Appium v1.3.7 (REV 72fbfaa116d3d9f6a862600ee99cf02f6d0e2182)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {"app":"com.indecomm.literaturelibrary","udid":"5fcdd3078c081abb666330066681c5f0c55d2a08","deviceName":"Rohan","platformName":"iOS","platformVersion":"8.3","defaultCommandTimeout":7200}
info: Console LogLevel: debug
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 11.393 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 3.277 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {"status":0,"value":[]}
info: <-- GET /wd/hub/sessions 200 1.075 ms - 23 {"status":0,"value":[]}
info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"8.3","newCommandTimeout":"999999","automationName":"Appium","deviceName":"Rohan"}}
info: Client User-Agent string: Appium (unknown version) CFNetwork/720.3.13 Darwin/14.3.0 (x86_64)
info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session 9fd1be4f-aaeb-41c9-afd2-6947fa91babf
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.3
info: [debug] Not checking whether simulator is available since we're on a real device
info: [debug] Detecting automation tracetemplate
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.indecomm.literaturelibrary/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.indecomm.literaturelibrary/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
info: [debug] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/rohanganapathy/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":"grouped"}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...
info: [debug] Dynamic bootstrap path: /Users/rohanganapathy/Library/Application Support/appium/bootstrap/bootstrap-d5a0fb924946d8d3.js
info: [debug] Reusing dynamic bootstrap: /Users/rohanganapathy/Library/Application Support/appium/bootstrap/bootstrap-d5a0fb924946d8d3.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.3.1","iOSSDKVersion":"8.3","deviceName":"Rohan","platformVersion":"8.3"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'Rohan (8.3 Simulator)'
info: [debug] Not setting device type since we're on a real device
info: [debug] Checking whether we need to set app preferences
info: [debug] Not setting iOS and app preferences since we're on a real device
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iOS Simulator
info: [debug] Killing any other simulator daemons
info: [debug] On a real device; cannot clean device state
info: [debug] Not setting locale because we're using a real device
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS device log capture via deviceconsole
info: [debug] Not pre-launching simulator
info: [debug] Creating iDevice object with udid 5fcdd3078c081abb666330066681c5f0c55d2a08
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 5fcdd3078c081abb666330066681c5f0c55d2a08 --bundle com.indecomm.literaturelibrary
info: [debug] App is not installed. Will try to install the app.
info: [debug] Installing app using cmd: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 5fcdd3078c081abb666330066681c5f0c55d2a08 --bundle "com.indecomm.literaturelibrary"
info: [debug] Cleaning up appium session
info: [debug] Error: Unable to install [com.indecomm.literaturelibrary] to device with id [5fcdd3078c081abb666330066681c5f0c55d2a08]. Error [Error: Command failed: /bin/sh -c /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 5fcdd3078c081abb666330066681c5f0c55d2a08 --bundle "com.indecomm.literaturelibrary"
Assertion failed: (access(app_path, F_OK) == 0), function main, file fruitstrap.c, line 718.
]
at /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/common.js:147:10
at ChildProcess.exithandler (child_process.js:751:5)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1008:16)
at Socket.<anonymous> (child_process.js:1176:11)
at Socket.emit (events.js:107:17)
at Pipe.close (net.js:476:12)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Unable to install [com.indecomm.literaturelibrary] to device with id [5fcdd3078c081abb666330066681c5f0c55d2a08]. Error [Error: Command failed: /bin/sh -c /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 5fcdd3078c081abb666330066681c5f0c55d2a08 --bundle \"com.indecomm.literaturelibrary\"\nAssertion failed: (access(app_path, F_OK) == 0), function main, file fruitstrap.c, line 718.\n])","origValue":"Unable to install [com.indecomm.literaturelibrary] to device with id [5fcdd3078c081abb666330066681c5f0c55d2a08]. Error [Error: Command failed: /bin/sh -c /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 5fcdd3078c081abb666330066681c5f0c55d2a08 --bundle \"com.indecomm.literaturelibrary\"\nAssertion failed: (access(app_path, F_OK) == 0), function main, file fruitstrap.c, line 718.\n]"},"sessionId":null}
error: Failed to start an Appium session, err was: Error: Unable to install [com.indecomm.literaturelibrary] to device with id [5fcdd3078c081abb666330066681c5f0c55d2a08]. Error [Error: Command failed: /bin/sh -c /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 5fcdd3078c081abb666330066681c5f0c55d2a08 --bundle "com.indecomm.literaturelibrary"
Assertion failed: (access(app_path, F_OK) == 0), function main, file fruitstrap.c, line 718.
]
info: <-- POST /wd/hub/session 500 2729.320 ms - 1002
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 1.394 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/status {}
The issue is that the app must be signed with a developer profile for it to work on real ios devices.I had faced the same issue and it works after signing it with a development profile(u can get one from apple dev site for $99).
info: \[debug\] \[INST STDERR\] Instruments Trace Error : Target failed to run: Permission to debug com.indecomm.literaturelibrary was denied. The app must be signed with a development identity (e.g. iOS Developer).
pls refer to this for further details https://discuss.appium.io/t/the-app-must-be-signed-with-a-development-identity/2653

Appium sendKeys doesn't work for iPhone 6

I setup the Appium for UI iOS testing. But I failed to get the sendKeys work at all. My testing environment:
OSX 10.10.2
Appium 1.3.6
Xcode 6.2
iPhone 6 (8.1) simulator, the softkey is default to be shown
I tried to "Send Keys" in Appium. But nothing happened. The log in Appium shows no error at all.
Here is the script: (Objective-C)
[[wd findElementBy:[SEBy xPath:#"//UIAApplication[1]/UIAWindow[1]/UIATextField[1]/UIATextField[1]"]] sendKeys:#"username"];
Here is the log file: (Any idea? Thanks.)
info: --> POST /wd/hub/session/5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111/element {"using":"name"}
info: [debug] Missing params for request: ["selector"] info: <-- POST /wd/hub/session/5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111/element 400 0.761 ms - 32
info: --> GET /wd/hub/session/5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111/source {} info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()" info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] Socket data received (8192 bytes)
info: [debug] Socket data received (3184 bytes) info: [debug] Socket data being routed. info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"#":{"name":"TestDemo","label":"TestDemo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":375,"height":647},">":[{"UIAWindow":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestDemo\" label=\"TestDemo\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"375\" height=\"647\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <UIAStaticText name=\"Login\" label=\"Login\" value=\"Login\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"156.5\" y=\"108\" width=\"62\" height=\"29\">\n </UIAStaticText>\n <UIATextField name=\"\" label=\"\" value=\"User name\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"107.5\" y=\"174\" width=\"161\" height=\"30\">\n <UIATextField name=\"\" label=\"\" value=\"User name\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1/0\" x=\"107.5\" y=\"174\" width=\"161\" height=\"30\">\n </UIATextField>\n </UIATextField...","sessionId":"5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111"}
info: <-- GET /wd/hub/session/5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111/source 200
229.958 ms - 13364 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestDemo\" label=\"TestDemo\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"375\" height=\"647\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <UIAStaticText name=\"Login\" label=\"Login\" value=\"Login\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"156.5\" y=\"108\" width=\"62\" height=\"29\">\n </UIAStaticText>\n <UIATextField name=\"\" label=\"\" value=\"User name\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"107.5\" y=\"174\" width=\"161\" height=\"30\">\n <UIATextField name=\"\" label=\"\" value=\"User name\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1/0\" x=\"107.5\" y=\"174\" width=\"161\" height=\"30\">\n </UIATextField>\n </UIATextField...","sessionId":"5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111"}
info: --> GET /wd/hub/session/5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111/orientation {} info: [debug] Pushing command to appium work queue: "au.getScreenOrientation()" info: [debug] Sending command to instruments: au.getScreenOrientation()
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] Setting internal orientation to PORTRAIT info: [debug] Responding to client with success: {"status":0,"value":"PORTRAIT","sessionId":"5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111"}
info: <-- GET /wd/hub/session/5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111/orientation 200
117.559 ms - 82 {"status":0,"value":"PORTRAIT","sessionId":"5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111"} info: --> GET /wd/hub/session/5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111/screenshot {} info: [debug] Pushing command to appium work queue: "au.getScreenOrientation()" info: [debug] Sending command to instruments: au.getScreenOrientation()
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] Setting internal orientation to PORTRAIT info: [debug] Pushing command to appium work queue: "au.capture('screenshot10e27e81-2e0c-4cb4-851d-d5fad89ba503')" info: [debug] Sending command to instruments: au.capture('screenshot10e27e81-2e0c-4cb4-851d-d5fad89ba503')
info: [debug] Socket data received (25 bytes)
info: [debug] Socket data being routed. info: [debug] Got result from instruments: {"status":0,"value":""} info: [debug] Waiting 10000 ms for screenshot to ge generated.
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: Got new command 47 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: responding with:valid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":375,"height":667},">":[{"UIAStaticText":{"#":{"name":"Login","label":"Login","value":"Login","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":156.5,"y":108,"width":62,"height":29},">":[]}},{"UIATextField":{"#":{"name":null,"label":null,"value":"User name","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":107.5,"y":174,"width":161,"height":30},">":[{"UIATextField":{"#":{"name":null,"label":null,"value":"User name","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1/0","x":107.5,"y":174,"width":161,"height":30},">":[]}}]}},{"UIAStaticText":{"#":{"name":"Label","label":"Label","value":"Label","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/2","x":117.5,"y":184,"width":42,"height":20.5},">":[]}},{"UIASecureTextField":{"#":{"name":null,"label":null,"value":"Password","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":107.5,"y":227.5,"width":161,"height":30},">":[{"UIASecureTextField":{"#":{"name":null,"label":null,"value":"Password","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3/0","x":107.5,"y":227.5,"width":161,"height":30},">":[]}}]}},{"UIAButton":{"#":{"name":"Login","label":"Login","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":130.5,"y":290,"width":114,"height":30},">":[]}}]}},{"UIAWindow":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":375,"height":667},">":[{"UIAKeyboard":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":409,"width":375,"height":258},">":[{"UIAImage":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/0","x":0,"y":409,"width":375,"height":42},">":[]}},{"UIAElement":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/0/1","x":6,"y":407,"width":112,"height":42},">":[]}},{"UIAElement":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/0/2","x":131,"y":407,"width":113,"height":42},">":[]}},{"UIAElement":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/0/3","x":257,"y":407,"width":112,"height":42},">":[]}},{"UIAKey":{"#":{"name":"q","label":"q","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/4","x":0,"y":460,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"w","label":"w","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/5","x":37.5,"y":460,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"e","label":"e","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/6","x":75,"y":460,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"r","label":"r","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/7","x":112.5,"y":460,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"t","label":"t","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/8","x":150,"y":460,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"y","label":"y","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/9","x":187.5,"y":460,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"u","label":"u","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/10","x":225,"y":460,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"i","label":"i","val ue":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/11","x":262.5,"y":460,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"o","label":"o","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/12","x":300,"y":460,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"p","label":"p","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/13","x":337.5,"y":460,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"a","label":"a","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/14","x":18.5,"y":514,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"s","label":"s","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/15","x":56,"y":514,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"d","label":"d","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/16","x":93.5,"y":514,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"f","label":"f","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/17","x":131,"y":514,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"g","label":"g","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/18","x":169,"y":514,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"h","label":"h","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/19","x":206.5,"y":514,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"j","label":"j","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/20","x":244,"y":514,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"k","label":"k","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/21","x":281.5,"y":514,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"l","label":"l","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/22","x":319,"y":514,"width":37.5,"height":46},">":[]}},{"UIAButton":{"#":{"name":"shift","label":"shift","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Triple-tap to enter caps lock","path":"/0/1/0/23","x":0,"y":568,"width":48,"height":46},">":[]}},{"UIAKey":{"#":{"name":"z","label":"z","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/24","x":56,"y":568,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"x","label":"x","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/25","x":93.5,"y":568,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"c","label":"c","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/26","x":131,"y":568,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"v","label":"v","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/27","x":169,"y":568,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"b","label":"b","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/28","x":206.5,"y":568,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"n","label":"n","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/29","x":244,"y":568,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"m","label":"m","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/30","x":281.5,"y":568,"width":37.5,"height":46},">":[]}},{"UIAKey":{"#":{"name":"Delete","label":"Delete","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/31","x":327,"y":568,"width":48,"height":46},">":[]}},{"UIAKey":{"#":{"name":"more, numbers","label":"more, numbers","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint" :null,"path":"/0/1/0/32","x":0,"y":6 info: [debug] [INST] 20,"width":46.5,"height":46},">":[]}},{"UIAButton":{"#":{"name":"Next keyboard","label":"Next keyboard","value":"Emoji","dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Double-tap and hold, then drag up to select another keyboard","path":"/0/1/0/33","x":46.5,"y":620,"width":47,"height":46},">":[]}},{"UIAKey":{"#":{"name":"space","label":"space","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/34","x":93,"y":620,"width":188.5,"height":46},">":[]}},{"UIAButton":{"#":{"name":"Dictate","label":"Dictate","value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":"Double tap to start dictation. Two finger double tap when finished","path":"/0/1/0/35","x":93.5,"y":620,"width":37.5,"height":46},">":[]}},{"UIAButton":{"#":{"name":"Return","label":"return","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0/36","x":281.5,"y":620,"width":93.5,"height":46},">":[]}}]}}]}},{"UIAWindow":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/2","x":0,"y":0,"width":375,"height":667},">":[{"UIAStatusBar":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/2/0","x":0,"y":0,"width":375,"height":20},">":[{"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/2/0/0","x":6,"y":0,"width":38,"height":20},">":[]}},{"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/2/0/1","x":49,"y":0,"width":13,"height":20},">":[]}},{"UIAElement":{"#":{"name":"3:59 PM","label":"3:59 PM","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/2/0/2","x":164,"y":0,"width":47,"height":20},">":[]}},{"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/2/0/3","x":345,"y":0,"width":25,"height":20},">":[]}}]}}]}}]}}} info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: Running system command #48: /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":"TestDemo","label":"TestDemo","value":null,"dom"... info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: Got new command 48 from instruments: au.getScreenOrientation()
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: evaluating au.getScreenOrientation() info: [debug] [INST] 2015-03-24 07:59:21
+0000 Debug: evaluation finished
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: responding with: info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: Running system command #49: /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] [INST] 2015-03-24 07:59:21 +0000 Debug: Got new command 49 from instruments: au.getScreenOrientation() info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: evaluating au.getScreenOrientation()
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: responding with: info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: Running system command #50: /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] [INST] 2015-03-24 07:59:21 +0000 Debug: Got new command 50 from instruments: au.capture('screenshot10e27e81-2e0c-4cb4-851d-d5fad89ba503')
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: evaluating au.capture('screenshot10e27e81-2e0c-4cb4-851d-d5fad89ba503') info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:667.00,width:375.00}}", UIScreen, "screenshot10e27e81-2e0c-4cb4-851d-d5fad89ba503")
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Screenshot captured.
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: responding with:
info: [debug] [INST] 2015-03-24 07:59:21 +0000 Debug: Running system command #51: /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":""}...
info: [debug] Responding to client with success: {"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAAQABJREFUeAHs3QmYHFd5KOyjXdZuy9ZqW4t3C2xDApjNQCAhEELYg4EkJGENYU+ACyRAuFzITyAQIJgtkBC4XCBwgbAkIXAhLGYPtoV3LV60WZJl7Xv/9ZWoUU9P9UyN1DPV0/Oe52l1d9WpOqfe0lR/derUqQmNLCWJAAECBAgQIECAAIGuFpjY1bVTOQIECBAgQIAAAQIEcgGBu/8IBAgQIECAAAECBMaAgMB9DOwkVSRAgAABAgQIECAgcPd/gAABAgQIECBAgMAYEBC4j4GdpIoECBAgQIAAAQIEBO7+DxAgQIAAAQIECBAYAwIC9zGwk1SRAAECBAgQIECAgMDd/wECBAgQIECAAAECY0BA4D4GdpIqEiBAgAABAgQIEBC4+z9AgAABAgQIECBAYAwITO5UHQ8ePJiuueaa9OMf/zht3bo1nXPOOemiiy5Kl112WaeK6Nh67rjjjnTo0KF05plnpilTpnRsvSOxosOHD6dvfOMb6Zvf/Gb6yU9+km6++eZ09913p507d6Y5c+akU089NZ133nnpV37lV9IjHvGI9Gu/9mtp8uSO7daR2CTrJDDmBbZs2ZLmz5+fJk2aVPu2xPH29NNPP+F6bNy4Me3fv7/t8kuWLEnTpk1rO791+Tguhc1gae/evWnz5s39sqxYsaLfd18IECBQVeB//+//nd75znfmcVLVZUY7X8Rpr3jFK9KVV155ckU3TjJt27at8cQnPrExderUxoQJEwa8Lr/88sa//du/nWQpnV38wgsvzOv505/+tLMr7uDa1q9f38h2cCP7QR5gGs7ZXi+dHvljuVheIkCgcwLXXXdd47GPfWwjC0rzv73spL9xn/vcp/HP//zPjSNHjpxQQS9/+csbv/qrvzroK2toGLDuL37xi42HPOQhjblz5+Z1WbhwYeNJT3pSI/vx...","sessionId":"5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111"}
info: <-- GET /wd/hub/session/5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111/screenshot 200
884.141 ms - 97822 {"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAAQABJREFUeAHs3QmYHFd5KOyjXdZuy9ZqW4t3C2xDApjNQCAhEELYg4EkJGENYU+ACyRAuFzITyAQIJgtkBC4XCBwgbAkIXAhLGYPtoV3LV60WZJl7Xv/9ZWoUU9P9UyN1DPV0/Oe52l1d9WpOqfe0lR/derUqQmNLCWJAAECBAgQIECAAIGuFpjY1bVTOQIECBAgQIAAAQIEcgGBu/8IBAgQIECAAAECBMaAgMB9DOwkVSRAgAABAgQIECAgcPd/gAABAgQIECBAgMAYEBC4j4GdpIoECBAgQIAAAQIEBO7+DxAgQIAAAQIECBAYAwIC9zGwk1SRAAECBAgQIECAgMDd/wECBAgQIECAAAECY0BA4D4GdpIqEiBAgAABAgQIEBC4+z9AgAABAgQIECBAYAwITO5UHQ8ePJiuueaa9OMf/zht3bo1nXPOOemiiy5Kl112WaeK6Nh67rjjjnTo0KF05plnpilTpnRsvSOxosOHD6dvfOMb6Zvf/Gb6yU9+km6++eZ09913p507d6Y5c+akU089NZ133nnpV37lV9IjHvGI9Gu/9mtp8uSO7daR2CTrJDDmBbZs2ZLmz5+fJk2aVPu2xPH29NNPP+F6bNy4Me3fv7/t8kuWLEnTpk1rO791+Tguhc1gae/evWnz5s39sqxYsaLfd18IECBQVeB//+//nd75znfmcVLVZUY7X8Rpr3jFK9KVV155ckU3TjJt27at8cQnPrExderUxoQJEwa8Lr/88sa//du/nWQpnV38wgsvzOv505/+tLMr7uDa1q9f38h2cCP7QR5gGs7ZXi+dHvljuVheIkCgcwLXXXdd47GPfWwjC0rzv73spL9xn/vcp/HP//zPjSNHjpxQQS9/+csbv/qrvzroK2toGLDuL37xi42HPOQhjblz5+Z1WbhwYeNJT3pSI/vx...","sessionId":"5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111"}
info: --> GET /wd/hub/session/5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111/contexts {} info: [debug] [REMOTE] Debugger socket connected to ::1:27753 info: [debug] [REMOTE] Sending connection key info: [debug] [REMOTE] Sending
_rpc_reportIdentifier: message to remote debugger info: [debug] [REMOTE] {"__argument":{"WIRConnectionIdentifierKey":"c81f2b85-5108-449d-a70b-95aab0877f21"},"__selector":"_rpc_reportIdentifier:"}
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger info: [debug] [REMOTE] {"__argument":{"WIRSimulatorBuildKey":"12B411","WIRSimulatorProductVersionKey":"8.1","WIRSimulatorNameKey":"iPhone Simulator"},"__selector":"_rpc_reportSetup:"} info: [debug] [REMOTE] Sim name: iPhone Simulator info: [debug] [REMOTE] Sim build: 12B411 info: [debug] [REMOTE] {"__argument":{"WIRApplicationDictionaryKey":{}},"__selector":"_rpc_reportConnectedApplicationList:"} warn: Remote debugger did not list com.wowtv.TestDemo among its available apps info: [debug] [REMOTE] Disconnecting from remote debugger info: [debug] Responding to client with success: {"status":0,"value":["NATIVE_APP"],"sessionId":"5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111"}
info: <-- GET /wd/hub/session/5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111/contexts 200
80.879 ms - 86 {"status":0,"value":["NATIVE_APP"],"sessionId":"5e8073d7-8fa3-4bc1-8cfe-51f3b4d69111"} info: [debug] [REMOTE] Debugger socket disconnected
Make sure that you have disable the option to Connect Hardware Keyboard on your simulator keyboard setting. Hardware>Keyboard

iOS Hybrid App -Appium click() is not working

I just setup Appium 1.3.6 to test my hybrid cordova iOS app on iPhone Simulator. Able to find button element and its Text, width,Height.But click() is not working.But I am getting 200 success response for click. Please check the appium logs below.
Welcome to Appium v1.3.6 (REV 004f52f249d3513809e7d0734d9205d1fec19f8e)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
info: --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/rajesh.madaswamy/Fly dotREZ.app","platformVersion":"7.0","nativeWebTap":true,"platformName":"iOS","deviceName":"iPhone Simulator"}}
info: Client User-Agent string: Apache-HttpClient/4.3.6 (java 1.5)
info: [debug] Using local app from desired caps: /Users/rajesh.madaswamy/Fly dotREZ.app
info: [debug] Creating new appium session e385db7f-319a-4c0c-888b-1cc14c415879
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 7.0
info: [debug] Instruments v < 7.1, not checking device string support
info: [debug] Detecting automation tracetemplate
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Parsed app Localizable.strings
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/rajesh.madaswamy/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/usr/local/bin/node","commandProxyClientPath":"/Users/rajesh.madaswamy/.npm-packages/lib/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. D...ot manually modify!
info: [debug] Dynamic bootstrap path: /Users/rajesh.madaswamy/Library/Application Support/appium/bootstrap/bootstrap-13f238e80ecb92ad.js
info: [debug] Reusing dynamic bootstrap: /Users/rajesh.madaswamy/Library/Application Support/appium/bootstrap/bootstrap-13f238e80ecb92ad.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"5.0.2","iOSSDKVersion":"7.0","deviceName":"iPhone Simulator","platformVersion":"7.0"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone'
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] Killall iPhoneSimulator
info: [debug] Killing any other simulator daemons
info: [debug] Cleaning sim data files
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Library/TCC
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Library/Caches/locationd
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Library/BackBoard/applicationState.plist
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Media
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Library/Keychains
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3-64/Library/TCC
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3-64/Library/Caches/locationd
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3-64/Library/BackBoard/applicationState.plist
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3-64/Media
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3-64/Library/Keychains
info: [debug] Cleaning sim preferences
info: [debug] Cleaning app data files
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 7.* simulator log capture
info: [debug] Pre-launching simulator
info: [debug] Killing the simulator process
info: [debug] Killall iPhoneSimulator
info: [debug] Killing any other simulator daemons
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"5.0.2","iOSSDKVersion":"7.0","deviceName":"iPhone Simulator","platformVersion":"7.0"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone'
info: [debug] Launching device: iPhone
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"5.0.2","iOSSDKVersion":"7.0","deviceName":"iPhone Simulator","platformVersion":"7.0"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone'
info: [debug] Simulator is now ready.
info: [debug] No device id or app, not installing to real device.
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] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace "/Users/rajesh.madaswamy/Fly dotREZ.app" -e UIASCRIPT "/Users/rajesh.madaswamy/Library/Application Support/appium/bootstrap/bootstrap-13f238e80ecb92ad.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Users/rajesh.madaswamy/.npm-packages/lib/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd5/InstrumentsShim.dylib","LIB_PATH":"/Users/rajesh.madaswamy/.npm-packages/lib/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd5"}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST STDERR] 2015-03-13 17:57:19.701 ScriptAgent[30296:2d07] CLTilesManagerClient: initialize, sSharedTilesManagerClient
info: [debug] [INST STDERR] 2015-03-13 17:57:19.702 ScriptAgent[30296:2d07] CLTilesManagerClient: init
2015-03-13 17:57:19.703 ScriptAgent[30296:2d07] CLTilesManagerClient: reconnecting, 0x9472910
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] 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] 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] Socket data received (3339 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"#":{"name":"Fly dotREZ","label":"Fly dotREZ","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":548},">":[{"UIAWindow":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":tr
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId e385db7f-319a-4c0c-888b-1cc14c415879
info: <-- POST /wd/hub/session 303 8761.761 ms - 9
info: --> GET /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879 {}
info: [debug] Responding to client with success: {"status":0,"value":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"iOS","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"warnings":{},"desired":{"app":"/Users/rajesh.madaswamy/Fly dotREZ.app","platformVersion":"7.0","nativeWebTap":true,"platformName":"iOS","deviceName":"iPhone Simulator"},"app":"/Users/rajesh.madaswamy/Fly dotREZ.app","platformVersion":"7.0","nativeWebTap":true,"platformName":"iOS","deviceName":"iPhone Simulator"},"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: <-- GET /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879 200 4.339 ms - 586 {"status":0,"value":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"iOS","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"warnings":{},"desired":{"app":"/Users/rajesh.madaswamy/Fly dotREZ.app","platformVersion":"7.0","nativeWebTap":true,"platformName":"iOS","deviceName":"iPhone Simulator"},"app":"/Users/rajesh.madaswamy/Fly dotREZ.app","platformVersion":"7.0","nativeWebTap":true,"platformName":"iOS","deviceName":"iPhone Simulator"},"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: --> GET /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/contexts {}
info: [debug] [REMOTE] Debugger socket connected to ::1:27753
info: [debug] [REMOTE] Sending connection key
info: [debug] [REMOTE] Sending _rpc_reportIdentifier: message to remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRConnectionIdentifierKey":"40415480-7ff5-4c0f-a545-741769052f13"},"__selector":"_rpc_reportIdentifier:"}
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] {"__selector":"_rpc_reportSetup:","__argument":{"WIRSimulatorNameKey":"iPhone Simulator","WIRSimulatorProductVersionKey":"7.0.3","WIRSimulatorBuildKey":"11B508"}}
info: [debug] [REMOTE] Sim name: iPhone Simulator
info: [debug] [REMOTE] Sim build: 11B508
info: [debug] [REMOTE] {"__selector":"_rpc_reportConnectedApplicationList:","__argument":{"WIRApplicationDictionaryKey":{"com.accenture.londonVoyage-Extension":{"WIRApplicationIdentifierKey":"com.accenture.londonVoyage-Extension","WIRApplicationNameKey":"Fly dotREZ","WIRIsApplicationProxyKey":false}}}}
info: [debug] Using remote debugger app key: com.accenture.londonVoyage-Extension
info: [debug] [REMOTE] Selecting app com.accenture.londonVoyage-Extension (try #1)
info: [debug] [REMOTE] function () { [native code] }
info: [debug] [REMOTE] Sending _rpc_forwardGetListing: message to remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRConnectionIdentifierKey":"40415480-7ff5-4c0f-a545-741769052f13","WIRApplicationIdentifierKey":"com.accenture.londonVoyage-Extension"},"__selector":"_rpc_forwardGetListing:"}
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] {"__selector":"_rpc_applicationSentListing:","__argument":{"WIRApplicationIdentifierKey":"com.accenture.londonVoyage-Extension","WIRListingKey":{"1":{"WIRPageIdentifierKey":1,"WIRTitleKey":"NavAir","WIRURLKey":"file:///Users/rajesh.madaswamy/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/D0CB53D1-EB39-40F2-B8D4-C010C8EE691F/Fly%20dotREZ.app/www/index.html"}}}}
info: [debug] Responding to client with success: {"status":0,"value":["NATIVE_APP","WEBVIEW_1"],"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: <-- GET /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/contexts 200 14.960 ms - 98 {"status":0,"value":["NATIVE_APP","WEBVIEW_1"],"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: --> POST /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/context {"name":"WEBVIEW_1"}
info: [debug] Attempting to set context to 'WEBVIEW_1'
info: [debug] [REMOTE] Selecting page 1 and forwarding socket setup
info: [debug] [REMOTE] Sending _rpc_forwardSocketSetup: message to remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRApplicationIdentifierKey":"com.accenture.londonVoyage-Extension","WIRConnectionIdentifierKey":"40415480-7ff5-4c0f-a545-741769052f13","WIRSenderKey":"7f6f5954-242e-42aa-a96b-5686585201f0","WIRPageIdentifierKey":1},"__selector":"_rpc_forwardSocketSetup:"}
info: [debug] [REMOTE] Set sender key
info: [debug] [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] got applicationSentData response
info: [debug] [REMOTE] Enabled activity on page
info: [debug] [REMOTE] Checking document readyState
info: [debug] [REMOTE] Sending javascript command
info: [debug] [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] got applicationSentData response
info: [debug] [REMOTE] readyState was complete
info: [debug] Responding to client with success: {"status":0,"value":"","sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: <-- POST /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/context 200 23.866 ms - 74 {"status":0,"value":"","sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: --> POST /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/element {"using":"class name","value":"x-button-normal"}
info: [debug] Waiting up to 0ms for condition
info: [debug] [REMOTE] Executing 'find_element' atom in default context
info: [debug] [REMOTE] Sending javascript command
info: [debug] [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] got applicationSentData response
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"5000"},"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: <-- POST /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/element 200 13.041 ms - 90 {"status":0,"value":{"ELEMENT":"5000"},"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: --> GET /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/element/5000/displayed {}
info: [debug] [REMOTE] Executing 'is_displayed' atom in default context
info: [debug] [REMOTE] Sending javascript command
info: [debug] [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] got applicationSentData response
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: <-- GET /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/element/5000/displayed 200 17.283 ms - 76 {"status":0,"value":true,"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] {"__selector":"_rpc_applicationSentListing:","__argument":{"WIRApplicationIdentifierKey":"com.accenture.londonVoyage-Extension","WIRListingKey":{"1":{"WIRConnectionIdentifierKey":"40415480-7ff5-4c0f-a545-741769052f13","WIRURLKey":"file:///Users/rajesh.madaswamy/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/D0CB53D1-EB39-40F2-B8D4-C010C8EE691F/Fly%20dotREZ.app/www/index.html","WIRTitleKey":"NavAir","WIRPageIdentifierKey":1}}}}
info: [debug] Remote debugger notified us of a new page listing
info: [debug] New page listing is same as old, doing nothing
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] got applicationSentData response
info: [debug] [REMOTE] Got a blank data response from debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] got applicationSentData response
info: [debug] [REMOTE] Got a blank data response from debugger
info: [debug] [INST STDERR] 2015-03-13 17:57:25.264 ScriptAgent[30296:2d07] -[ScriptAgent handleAlert:]: script status is 2
info: [debug] [INST STDERR] 2015-03-13 17:57:25.264 ScriptAgent[30296:2d07] -[ScriptAgent handleAlert:]: Calling onAlert
info: [debug] [INST STDERR] 2015-03-13 17:57:25.266 ScriptAgent[30296:2d07] -[ScriptAgent handleAlert:]: Call to onAlert returned 'YES'
info: [debug] Emiting alert message...
info: --> POST /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/element {"using":"class name","value":"x-button-normal"}
info: [debug] Waiting up to 0ms for condition
info: [debug] [REMOTE] Executing 'find_element' atom in default context
info: [debug] [REMOTE] Sending javascript command
info: [debug] [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] got applicationSentData response
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"5001"},"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: <-- POST /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/element 200 8.367 ms - 90 {"status":0,"value":{"ELEMENT":"5001"},"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: --> POST /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/element/5001/click {"id":"5001"}
info: [debug] [REMOTE] Executing 'click' atom in default context
info: [debug] [REMOTE] Sending javascript command
info: [debug] [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] got applicationSentData response
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: <-- POST /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879/element/5001/click 200 24.389 ms - 76 {"status":0,"value":null,"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: --> DELETE /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879 {}
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] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] {"__selector":"_rpc_applicationDisconnected:","__argument":{"WIRApplicationIdentifierKey":"com.accenture.londonVoyage-Extension","WIRApplicationNameKey":"Fly dotREZ","WIRIsApplicationProxyKey":false}}
info: [debug] [INST] 2015-03-13 12:27:20 +0000 Debug: evaluation finished
2015-03-13 12:27:20 +0000 Debug: responding with:
2015-03-13 12:27:20 +0000 Debug: Running system command #1: /usr/local/bin/node /Users/rajesh.madaswamy/.npm-packages/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":true}...
2015-03-13 12:27:20 +0000 Debug: Got new command 1 from instruments: au.setScreenOrientation('PORTRAIT')
2015-03-13 12:27:20 +0000 Debug: evaluating au.setScreenOrientation('PORTRAIT')
2015-03-13 12:27:20 +0000 Debug: target.setDeviceOrientation("1")
2015-03-13 12:27:20 +0000 Debug: evaluation finished
2015-03-13 12:27:20 +0000 Debug: responding with:
2015-03-13 12:27:20 +0000 Debug: Running system command #2: /usr/local/bin/node /Users/rajesh.madaswamy/.npm-packages/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":"PORTRAIT"}...
2015-03-13 12:27:20 +0000 Debug: Got new command 2 from instruments: au.mainApp().getTreeForXML()
2015-03-13 12:27:20 +0000 Debug: evaluating au.mainApp().getTreeForXML()
2015-03-13 12:27:20 +0000 Debug: evaluation finished
2015-03-13 12:27:20 +0000 Debug: responding with:ue,"valid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAImage":{"#":{"name":"Default-568h","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/0","x":0,"y":0,"width":320,"height":568},">":[]}},{"UIAScrollView":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":0,"y":20,"width":320,"height":548},">":[{"UIAWebView":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/1/0","x":0,"y":20,"width":320,"height":548},">":[]}}]}},{"UIAImage":{"#":{"name":"loading_ani.png","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/2","x":125.5,"y":249,"width":69,"height":70},">":[]}},{"UIAImage":{"#":{"name":"loading_ani_plane.png","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/3","x":138.5,"y":275.5,"width":43,"height":17},">":[]}}]}},{"UIAWindow":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":568},">":[{"UIAStatusBar":{"#":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"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/1/0/0","x":6,"y":0,"width":38,"height":20},">":[]}},{"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/1/0/1","x":49,"y":0,"width":13,"height":20},">":[]}},{"UIAElement":{"#":{"name":"5:57 PM","label":"5:57 PM","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/1/0/2","x":137,"y":0,"width":47,"height":20},">":[]}},{"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/1/0/3","x":290,"y":0,"width":25,"height":20},">":[]}}]}}]}}]}}}
2015-03-13 12:27:20 +0000 Debug: Running system command #3: /usr/local/bin/node /Users/rajesh.madaswamy/.npm-packages/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"#":{"name":"Fly dotREZ","label":"Fly dotREZ","value":null,"dom":null,"enabled":true,"valid":true,"v...
2015-03-13 12:27:30 +0000 Stopped: Script was stopped by the user
Instruments Trace Complete (Duration : 15.250390s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: [debug] [INSTSERVER] Instruments exited with code 0
info: [debug] Cleaning up after instruments exit
info: [debug] Stopping iOS log capture
info: [debug] [REMOTE] Disconnecting from remote debugger
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] [REMOTE] Debugger socket disconnected
info: [debug] Cleaning sim data files
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Library/TCC
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Library/Caches/locationd
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Library/BackBoard/applicationState.plist
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Media
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Library/Keychains
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3-64/Library/TCC
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3-64/Library/Caches/locationd
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3-64/Library/BackBoard/applicationState.plist
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3-64/Media
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3-64/Library/Keychains
info: [debug] Cleaning sim preferences
info: [debug] Clearing key: SimulateDevice
info: [debug] Writing new preferences plist data
info: [debug] Cleaning app data files
info: [debug] Deleting /Users/rajesh.madaswamy/Library/Application Support/iPhone Simulator/7.0.3/Applications/D0CB53D1-EB39-40F2-B8D4-C010C8EE691F
info: [debug] Cleaning up appium session
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
info: <-- DELETE /wd/hub/session/e385db7f-319a-4c0c-888b-1cc14c415879 200 317.723 ms - 76 {"status":0,"value":null,"sessionId":"e385db7f-319a-4c0c-888b-1cc14c415879"}
Try next method:
Let driver be Selenium::WebDriver instance, and el your element:
On Ruby:
driver.action.move_to(el, 0, 30).click.perform

Resources