Hi Team,
Testing an iOS app with 6.1,7.1 on the real device, when trying to perform sendskey action on UIPicker Instruments died in 7.1, It’s working fine with 6.1.
Find Appium logs
info: --> POST /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/element {“using”:“name”,“value”:“Add % Item Tax Override. 1 of 12”}
warn: [DEPRECATED] The name locator strategy has been deprecated and will be removed. Please use the accessibility id locator strategy instead.
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: “au.getElementByName(‘Add % Item Tax Override. 1 of 12’)”
info: [debug] Sending command to instruments: au.getElementByName(‘Add % Item Tax Override. 1 of 12’)
info: [debug] [INST] 2015-05-22 11:39:42 +0000 Debug: Got new command 26 from instruments: au.getElementByName(‘Add % Item Tax Override. 1 of 12’)
info: [debug] [INST] 2015-05-22 11:39:42 +0000 Debug: evaluating au.getElementByName(‘Add % Item Tax Override. 1 of 12’)
info: [debug] [INST] 2015-05-22 11:39:42 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-05-22 11:39:42 +0000 Debug: Lookup returned [object UIAPickerWheel] with the name “Add % Item Tax Override. 1 of 12” (id: 0).
info: [debug] [INST] 2015-05-22 11:39:42 +0000 Debug: responding with:
info: [debug] [INST] 2015-05-22 11:39:42 +0000 Debug: Running system command #27: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“ELEMENT”:“0”}}…
info: [debug] Socket data received (38 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:{“ELEMENT”:“0”}}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“0”},“sessionId”:“35913ec2-af44-453b-a37d-fe988f104193”}
info: <-- POST /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/element 200 870.085 ms - 87 {“status”:0,“value”:{“ELEMENT”:“0”},“sessionId”:“35913ec2-af44-453b-a37d-fe988f104193”}
info: --> POST /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/element/0/value {“value”:[“I”,“t”,“e”,“m”," “,“A”,“s”,“s”,“o”,“c”,“i”,“a”,“t”,“e”,”."," “,“3”,” “,“o”,“f”,” ",“1”,“2”]}
info: [debug] Pushing command to appium work queue: “au.getElement(‘0’).setValueByType(‘Item Associate. 3 of 12’)”
info: [debug] Sending command to instruments: au.getElement(‘0’).setValueByType(‘Item Associate. 3 of 12’)
info: [debug] [INST] 2015-05-22 11:39:43 +0000 Debug: Got new command 27 from instruments: au.getElement(‘0’).setValueByType(‘Item Associate. 3 of 12’)
info: [debug] [INST] 2015-05-22 11:39:43 +0000 Debug: evaluating au.getElement(‘0’).setValueByType(‘Item Associate. 3 of 12’)
info: [debug] [INST] 2015-05-22 11:39:44 +0000 Fail: The target application appears to have died
info: [debug] [INST] 2015-05-22 11:39:44 +0000 Debug: - selectValue is not supported on a picker with undefined values
info: [debug] [INST] Instruments Trace Complete (Duration : 250.839081s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: [debug] [INSTSERVER] Instruments exited with code 0
info: [debug] Cleaning up after instruments exit
info: [debug] Instruments exited unexpectedly
info: [debug] Shutting down command proxy and ignoring any errors
info: [debug] Closing socket server.
info: [debug] Instruments socket server was closed
info: [debug] Stopping iOS log capture
info: [debug] Reset not set, not ending sim or cleaning up app state
info: [debug] We were in the middle of processing a command when instruments died; responding with a generic error
info: [debug] Cleaning up appium session
info: [debug] Responding to client with error: {“status”:13,“value”:{“message”:“Instruments died while responding to command, please check appium logs”,“name”:“UnknownError”,
“origValue”:“Instruments died while responding to command, please check appium logs”},“sessionId”:null}
info: <-- POST /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/element/0/value 500 2491.327 ms - 230
info: --> GET /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/source {}
info: <-- GET /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/source 404 1.061 ms - 40
info: --> GET /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/orientation {}
info: <-- GET /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/orientation 404 0.963 ms - 40
info: --> GET /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/screenshot {}
info: <-- GET /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/screenshot 404 0.996 ms - 40
info: --> GET /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/contexts {}
info: <-- GET /wd/hub/session/35913ec2-af44-453b-a37d-fe988f104193/contexts 404 0.928 ms - 40