Appium, Python client library: set_value() VS send_keys()

441 views
Skip to first unread message

liwa...@gmail.com

unread,
Jun 3, 2014, 1:14:49 PM6/3/14
to appium-...@googlegroups.com
Hi, I was trying to use send_keys() to input a value in an email recipient field, my app will get crashed. 

Log from appium server:
info: [INST] 2014-06-03 00:49:52 +0000 Fail: The target application appears to have died

Log from simulator system log:
<Error>: HID: The 'Rate Controlled' connection 'ScriptAgent' access to protected services is denied

When I looked at the Appium inspector, I could see if I manually type in the email, that filed's value attribute will get changed to the one I typed in. So I'm thinking maybe I should use the new method in Python client library - set_value()?

Can anyone tell me the difference between set_value() VS send_keys()? Thanks!

Isaac Murchie

unread,
Jun 3, 2014, 1:32:57 PM6/3/14
to Lillian Wang, appium-...@googlegroups.com
send_keys() uses the keyboard to input the text. set_value() only works on iOS and sets the value without using the keyboard. 


--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages