SendKeys is not working Properly when i tried to pass some values to search bar in IPhone 6

Hi Guys,

I’m Struck with Problem sendKeys is not working properly when i tried to pass some values to searchbar in application,I tried all possible ways to overcome problem but no luck
Details of device
capabilities.setCapability(“platformName”, “iOS”);
capabilities.setCapability(“platformVersion”, “7.0.3”);

Appium version:
Version 1.4.8 (Draco)

Please find appium logs attached below
nfo: [debug] Socket data received (38 bytes)

info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:{“ELEMENT”:“1”}}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“1”},“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: <-- POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/element 200 1113.599 ms - 87 {“status”:0,“value”:{“ELEMENT”:“1”},“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}

info: --> POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/element/1/click {“id”:“1”}
info: [debug] Pushing command to appium work queue: “au.tapById(‘1’)”
info: [debug] Sending command to instruments: au.tapById(‘1’)

info: [debug] [INST] 2015-09-09 12:38:53 +0000 Debug: Got new command 9 from instruments: au.tapById(‘1’)

info: [debug] [INST] 2015-09-09 12:38:53 +0000 Debug: evaluating au.tapById(‘1’)

info: [debug] [INST] 2015-09-09 12:38:53 +0000 Debug: UIAButton.tap()

info: [debug] [INST] 2015-09-09 12:38:53 +0000 Debug: evaluation finished

info: [debug] [INST] 2015-09-09 12:38:53 +0000 Debug: responding with:

info: [debug] [INST] 2015-09-09 12:38:53 +0000 Debug: Running system command #10: /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] Socket data received (25 bytes)

info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:""}
info: [debug] Responding to client with success: {“status”:0,“value”:"",“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: <-- POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/element/1/click 200 1295.583 ms - 74 {“status”:0,“value”:"",“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: --> POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/timeouts/implicit_wait {“ms”:60000}
info: [debug] Set iOS implicit wait to 60000ms
info: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: <-- POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/timeouts/implicit_wait 200 0.865 ms - 76 {“status”:0,“value”:null,“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: --> POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/execute {“script”:“mobile: tap”,“args”:[{“x”:200,“y”:100}]}
info: [debug] Pushing command to appium work queue: “au.complexTap({“tapCount”:1,“touchCount”:1,“duration”:0.1,“x”:200,“y”:100})”
info: [debug] Sending command to instruments: au.complexTap({“tapCount”:1,“touchCount”:1,“duration”:0.1,“x”:200,“y”:100})

info: [debug] [INST] 2015-09-09 12:38:54 +0000 Debug: Got new command 10 from instruments: au.complexTap({“tapCount”:1,“touchCount”:1,“duration”:0.1,“x”:200,“y”:100})

info: [debug] [INST] 2015-09-09 12:38:54 +0000 Debug: evaluating au.complexTap({“tapCount”:1,“touchCount”:1,“duration”:0.1,“x”:200,“y”:100})

info: [debug] [INST] 2015-09-09 12:38:54 +0000 Debug: target.tapWithOptions({x:“200”, y:“100”}, {touchCount:“1”, tapCount:“1”, duration:“0.1”})

info: [debug] Socket data received (25 bytes)

info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:""}
info: [debug] Responding to client with success: {“status”:0,“value”:"",“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: <-- POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/execute 200 1132.984 ms - 74 {“status”:0,“value”:"",“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}

info: --> POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/timeouts/implicit_wait {“ms”:120000}
info: [debug] Set iOS implicit wait to 120000ms
info: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: <-- POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/timeouts/implicit_wait 200 0.944 ms - 76 {“status”:0,“value”:null,“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: --> POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/element {“using”:“xpath”,“value”:"//UIAApplication[1]/UIAWindow[1]/UIACollectionView[1]/UIASearchBar[1]"}
info: [debug] Waiting up to 120000ms for condition
info: [debug] Pushing command to appium work queue: “au.mainApp().getTreeForXML()”
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-09-09 12:38:54 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-09-09 12:38:54 +0000 Debug: responding with:
info: [debug] [INST] 2015-09-09 12:38:54 +0000 Debug: Running system command #11: /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] [INST] 2015-09-09 12:38:55 +0000 Debug: Got new command 11 from instruments: au.mainApp().getTreeForXML()

info: [debug] [INST] 2015-09-09 12:38:55 +0000 Debug: evaluating au.mainApp().getTreeForXML()

info: [debug] [INST] 2015-09-09 12:38:56 +0000 Debug: evaluation finished

info: [debug] [INST] 2015-09-09 12:38:56 +0000 Debug: responding with:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0",“x”:0,“y”:0,“width”:320,“height”:568},">":[{“UIATableView”:{"@":{“name”:“Empty list”,“label”:“Empty list”,“value”:“rows 1 to 10 of 10”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0",“x”:0,“y”:20,“width”:320,“height”:568},">":[{“UIATableCell”:{"@":{“name”:“Home”,“label”:“Home”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/0",“x”:0,“y”:20,“width”:320,“height”:50},">":[{“UIAStaticText”:{"@":{“name”:“Home”,“label”:“Home”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/0/0",“x”:0,“y”:20,“width”:320,“height”:50},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“Photos”,“label”:“Photos”,“value”:1,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/1",“x”:0,“y”:70,“width”:320,“height”:50},">":[{“UIAStaticText”:{"@":{“name”:“Photos”,“label”:“Photos”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/1/0",“x”:0,“y”:70,“width”:320,“height”:50},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“Music”,“label”:“Music”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/2",“x”:0,“y”:120,“width”:320,“height”:50},">":[{“UIAStaticText”:{"@":{“name”:“Music”,“label”:“Music”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/2/0",“x”:0,“y”:120,“width”:320,“height”:50},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“Documents”,“label”:“Documents”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/3",“x”:0,“y”:170,“width”:320,“height”:50},">":[{“UIAStaticText”:{"@":{“name”:“Documents”,“label”:“Documents”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/3/0",“x”:0,“y”:170,“width”:320,“height”:50},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“All Files”,“label”:“All Files”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/4",“x”:0,“y”:220,“width”:320,“height”:50},">":[{“UIAStaticText”:{"@":{“name”:“All Files”,“label”:“All Files”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/4/0",“x”:0,“y”:220,“width”:320,“height”:50},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“Tools “,“label”:“Tools “,“value”:””,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:”/0/0/0/5”,“x”:0,“y”:270,“width”:320,“height”:50},">":[{“UIAStaticText”:{"@":{“name”:“Tools “,“label”:“Tools “,“value”:””,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:”/0/0/0/5/0”,“x”:0,“y”:270,“width”:320,“height”:50},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“Shares”,“label”:“Shares”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/6",“x”:0,“y”:320,“width”:320,“height”:50},">":[{“UIAStaticText”:{"@":{“name”:“Shares”,“label”:“Shares”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/6/0",“x”:0,“y”:320,“width”:320,“height”:50},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“Settings”,“label”:“Settings”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/7",“x”:0,“y”:370,“width”:320,“height”:50},">":[{“UIAStaticText”:{"@":{“name”:“Settings”,“label”:“Settings”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/7/0",“x”:0,“y”:370,“width”:320,“height”:50},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“Help”,“label”:“Help”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/8",“x”:0,“y”:420,“width”:320,“height”:50},">":[{“UIAStaticText”:{"@":{“name”:“Help”,“label”:“Help”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/8/0",“x”:0,“y”:420,“width”:320,“height”:50},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“Log out”,“label”:“Log out”,“value”:"",“dom”:null,“ena
bled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/9",“x”:0,“y”:470,“width”:320,“height”:50},">":[{“UIAStaticText”:{"@":{“name”:“Log out”,“label”:“Log out”,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/0/9/0",“x”:0,“y”:470,“width”:320,“height”:50},">":[]}}]}}]}},{“UIANavigationBar”:{"@":{“name”:“Photos”,“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”:44},">":[{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/1/0",“x”:0,“y”:0,“width”:320,“height”:64},">":[{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/1/0/0",“x”:0,“y”:64,“width”:320,“height”:0.5},">":[]}}]}},{“UIAImage”:{"@":{“name”:“ic_action_nav_menu_white.png”,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/1/1",“x”:16,“y”:29,“width”:32,“height”:25},">":[]}},{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/1/2",“x”:39,“y”:27,“width”:16,“height”:16},">":[]}},{“UIAStaticText”:{"@":{“name”:“17”,“label”:“17”,“value”:“17”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/1/3",“x”:41,“y”:29,“width”:12,“height”:12},">":[]}},{“UIAStaticText”:{"@":{“name”:“Photos”,“label”:“Photos”,“value”:“Photos”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/1/4",“x”:132,“y”:28,“width”:56,“height”:27},">":[]}},{“UIAButton”:{"@":{“name”:“ic action overflow white”,“label”:“ic action overflow white”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/1/5",“x”:270,“y”:27,“width”:44,“height”:30},">":[]}}]}},{“UIACollectionView”:{"@":{“name”:null,“label”:null,“value”:“page 1 of 1”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/2",“x”:0,“y”:64,“width”:320,“height”:455},">":[{“UIACollectionCell”:{"@":{“name”:“Video 0”,“label”:“Video 0”,“value”:0,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/2/0",“x”:2,“y”:110,“width”:104,“height”:104},">":[]}},{“UIACollectionCell”:{"@":{“name”:“Video 1”,“label”:“Video 1”,“value”:0,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/2/1",“x”:108,“y”:110,“width”:104,“height”:104},">":[]}},{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/2/2",“x”:0,“y”:64,“width”:320,“height”:44},">":[]}},{“UIASearchBar”:{"@":{“name”:null,“label”:null,“value”:“Search”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/2/3",“x”:8,“y”:72,“width”:239,“height”:28},">":[]}},{“UIAButton”:{"@":{“name”:“Cancel”,“label”:“Cancel”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/2/4",“x”:258,“y”:70,“width”:54,“height”:30},">":[]}}]}},{“UIATabBar”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/3",“x”:0,“y”:519,“width”:320,“height”:49},">":[{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/3/0",“x”:0,“y”:518.5,“width”:320,“height”:0.5},">":[]}},{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/3/1",“x”:0,“y”:519,“width”:320,“height”:49},">":[]}},{“UIAButton”:{"@":{“name”:“All Photos”,“label”:“All Photos”,“value”:1,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/3/2",“x”:2,“y”:520,“width”:76,“height”:48},">":[]}},{“UIAButton”:{"@":{“name”:“Timeline”,“label”:“Timeline”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/3/3",“x”:82,“y”:520,“width”:76,“height”:48},">":[]}}
,{“UIAButton”:{"@":{“name”:“Albums”,
info: [debug] [INST] “label”:“Albums”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/3/4",“x”:162,“y”:520,“width”:76,“height”:48},">":[]}},{“UIAButton”:{"@":{“name”:“Favorites”,“label”:“Favorites”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/3/5",“x”:242,“y”:520,“width”:76,“height”:48},">":[]}}]}}]}},{“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},">":[{“UIAKeyboard”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0",“x”:0,“y”:352,“width”:320,“height”:216},">":[{“UIAKey”:{"@":{“name”:“Q”,“label”:“Q”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/0",“x”:0,“y”:363,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“W”,“label”:“W”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/1",“x”:32,“y”:363,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“E”,“label”:“E”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/2",“x”:64,“y”:363,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“R”,“label”:“R”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/3",“x”:96,“y”:363,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“T”,“label”:“T”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/4",“x”:128,“y”:363,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“Y”,“label”:“Y”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/5",“x”:160,“y”:363,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“U”,“label”:“U”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/6",“x”:192,“y”:363,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“I”,“label”:“I”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/7",“x”:224,“y”:363,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“O”,“label”:“O”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/8",“x”:256,“y”:363,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“P”,“label”:“P”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/9",“x”:288,“y”:363,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“A”,“label”:“A”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/10",“x”:16,“y”:417,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“S”,“label”:“S”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/11",“x”:48,“y”:417,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“D”,“label”:“D”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/12",“x”:80,“y”:417,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“F”,“label”:“F”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/13",“x”:112,“y”:417,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“G”,“label”:“G”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/14",“x”:144,“y”:417,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“H”,“label”:“H”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/15",“x”:176,“y”:417,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“J”,“label”:“J”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/16",“x”:208,“y”:417,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“K”,“label”:“K”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/
17",“x”:240,“y”:417,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“L”,“label”:“L”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/18",“x”:272,“y”:417,“width”:32,“height”:42},">":[]}},{“UIAButton”:{"@":{“name”:“shift”,“label”:“shift”,“value”:1,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Triple-tap to enter caps lock”,“path”:"/0/1/0/19",“x”:0,“y”:471,“width”:42,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“Z”,“label”:“Z”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/20",“x”:48,“y”:471,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“X”,“label”:“X”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/21",“x”:80,“y”:471,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“C”,“label”:“C”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/22",“x”:112,“y”:471,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“V”,“label”:“V”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/23",“x”:144,“y”:471,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“B”,“label”:“B”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/24",“x”:176,“y”:471,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“N”,“label”:“N”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/25",“x”:208,“y”:471,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“M”,“label”:“M”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/26",“x”:240,“y”:471,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“Delete”,“label”:“Delete”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/27",“x”:278,“y”:471,“width”:42,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“more, numbers”,“label”:“more, numbers”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/28",“x”:0,“y”:525,“width”:40,“height”:42},">":[]}},{“UIAButton”:{"@":{“name”:“Next keyboard”,“label”:“Next keyboard”,“value”:“हिन्दी”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“Double-tap and hold, then drag up to select another keyboard”,“path”:"/0/1/0/29",“x”:40,“y”:525,“width”:40,“height”:42},">":[]}},{“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/30",“x”:80,“y”:525,“width”:32,“height”:42},">":[]}},{“UIAKey”:{"@":{“name”:“space”,“label”:“space”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/31",“x”:80,“y”:525,“width”:160,“height”:42},">":[]}},{“UIAButton”:{"@":{“name”:“Search”,“label”:“SEARCH”,“value”:null,“dom”:null,“enabled”:false,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/1/0/32",“x”:240,“y”:525,“width”:80,“height”:42},">":[]}}]}}]}},{“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”:320,“height”:568},">":[{“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”:320,“height”:20},">":[{“UIAElement”:{"@":{“name”:“No SIM”,“label”:“No SIM”,“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”:42,“height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“3 of 3 Wi-Fi bars”,“label”:“3 of 3 Wi-Fi bars”,“value”:“SNCR-CORP”,“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 c
enter, Double-tap to scroll to top”,“path”:"/0/2/0/1",“x”:53,“y”:0,“width”:13,
info: [debug] [INST] “height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“Network connection in progress”,“label”:“Network connection in progress”,“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”:72,“y”:0,“width”:10,“height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“6:08 pm”,“label”:“6:08 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/3",“x”:137,“y”:0,“width”:46,“height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“Network connection in progress”,“label”:“Network connection in progress”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“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/4",“x”:266,“y”:0,“width”:10,“height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“100% battery power, On AC Power”,“label”:“100% battery power, On AC 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/5",“x”:282,“y”:0,“width”:33,“height”:20},">":[]}}]}}]}}]}}}
info: [debug] [INST] 2015-09-09 12:38:56 +0000 Debug: Running system command #12: /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”:“AT&T Locker”,“label”:“AT&T Locker”,“value”:null…
info: [debug] Socket data received (8192 bytes)
info: [debug] Socket data received (8180 bytes)
info: [debug] Socket data received (1816 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:{“UIAApplication”:{"@":{“name”:“AT&T Locker”,“label”:“AT&T Locker”,“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”:
info: [debug] Pushing command to appium work queue: “au.getElementByIndexPath(’/0/0/2/3’)”
info: [debug] Sending command to instruments: au.getElementByIndexPath(’/0/0/2/3’)

info: [debug] [INST] 2015-09-09 12:38:57 +0000 Debug: Got new command 12 from instruments: au.getElementByIndexPath(’/0/0/2/3’)

info: [debug] [INST] 2015-09-09 12:38:57 +0000 Debug: evaluating au.getElementByIndexPath(’/0/0/2/3’)
info: [debug] [INST] 2015-09-09 12:38:57 +0000 Debug: evaluation finished

info: [debug] Socket data received (38 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:{“ELEMENT”:“2”}}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“2”},“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: <-- POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/element 200 2396.158 ms - 87 {“status”:0,“value”:{“ELEMENT”:“2”},“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: --> POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/appium/element/2/value {“id”:“2”,“value”:".jpg"}
info: [debug] Pushing command to appium work queue: “au.getElement(‘2’).setValue(’.jpg’)”
info: [debug] Sending command to instruments: au.getElement(‘2’).setValue(’.jpg’)

info: [debug] [INST] 2015-09-09 12:38:57 +0000 Debug: responding with:
info: [debug] [INST] 2015-09-09 12:38:57 +0000 Debug: Running system command #13: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“ELEMENT”:“2”}}…

info: [debug] [INST] 2015-09-09 12:38:58 +0000 Debug: Got new command 13 from instruments: au.getElement(‘2’).setValue(’.jpg’)

info: [debug] [INST] 2015-09-09 12:38:58 +0000 Debug: evaluating au.getElement(‘2’).setValue(’.jpg’)
info: [debug] [INST] 2015-09-09 12:38:58 +0000 Debug: target.frontMostApp().elements()[0].elements()[2].elements()[3].tap()
info: [debug] [INST] 2015-09-09 12:38:58 +0000 Debug: target.frontMostApp().elements()[0].elements()[2].elements()[3] could not be tapped
info: [debug] [INST] 2015-09-09 12:38:58 +0000 Debug: target.frontMostApp().elements()[0].elements()[2].elements()[3] could not be tapped
info: [debug] [INST] 2015-09-09 12:38:58 +0000 Debug: Cannot set value on invalid element: UIASearchBar from target.frontMostApp().elements()[0].elements()[2].elements()[3]

info: [debug] [INST] 2015-09-09 12:38:58 +0000 Error: VerboseError: Cannot set value on invalid element: UIASearchBar from target.frontMostApp().elements()[0].elements()[2].elements()[3]

info: [debug] Socket data received (144 bytes)

info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:17,“value”:“Cannot set value on invalid element: UIASearchBar from target.frontMostApp().elements()[0].elements()[2].elements()[3]”}
info: [debug] Responding to client with error: {“status”:17,“value”:{“message”:“An error occurred while executing user supplied JavaScript.”,“origValue”:“Cannot set value on invalid element: UIASearchBar from target.frontMostApp().elements()[0].elements()[2].elements()[3]”},“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: <-- POST /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c/appium/element/2/value 500 1348.537 ms - 279
info: --> DELETE /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c {}
info: Shutting down appium session
info: [debug] Stopping ios
info: [debug] Destroying instruments client socket.
info: [debug] Closing socket server.
info: [debug] Instruments socket server was closed
info: [debug] Sending sigterm to instruments

info: [debug] [INST] 2015-09-09 12:39:42 +0000 Stopped: Script was stopped by the user
info: [debug] [INST] 2015-09-09 12:38:58 +0000 Error: Error during eval: setValue@[native code]
eval code
eval@[native code]
startProcessing@file:///Applications/Appium.app/Contents/Resources/node_modules/appium/CAE4D841-3293-4161-836E-3FA5EAC4A91E/bootstrap-6745615c424bb0c0.js:2702:30
bootstrap@file:///Applications/Appium.app/Contents/Resources/node_modules/appium/CAE4D841-3293-4161-836E-3FA5EAC4A91E/bootstrap-6745615c424bb0c0.js:2770:31
global code@file:///Applications/Appium.app/Contents/Resources/node_modules/appium/CAE4D841-3293-4161-836E-3FA5EAC4A91E/bootstrap-6745615c424bb0c0.js:2779:10
info: [debug] [INST] 2015-09-09 12:38:58 +0000 Debug: responding with:
2015-09-09 12:38:58 +0000 Debug: Running system command #14: /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”:17,“value”:"Cannot set value on invalid element: UIASearchBar from target.frontMostApp()…

info: [debug] [INST] Instruments Trace Complete (Duration : 35.521477s; 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] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] Killall iOS Simulator

info: [debug] On a real device; cannot clean device state
info: [debug] Cleaning up appium session
info: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}
info: <-- DELETE /wd/hub/session/41ade318-0442-4fd5-ae41-6b6a4f0e256c 200 391.037 ms - 76 {“status”:0,“value”:null,“sessionId”:“41ade318-0442-4fd5-ae41-6b6a4f0e256c”}

info: --> GET /wd/hub/status {}

Thanks in advance

1 Like