Tagname 已废弃,换成 Classname
Android 还是 iOS?
我在 iOS 上 Clear 没有问题
Robotium 可以用 waitForText
#4 楼 @beerbox 恩,这样写也出现了和你一样的错误
debug: Appium request initiated at /wd/hub/session/8e50d968-8bae-47d6-aa07-dc48ea0102db/element/4/value
debug: Request received with params: {"sessionId":"8e50d968-8bae-47d6-aa07-dc48ea0102db","id":"4","value":["H","a","p","p","y"," ","W","e","e","k","e","n","d","!"," ","!","@","#","$","%","^","&","*","(",")","_","+","1"]}
debug: Pushing command to appium work queue: "au.getElement('4').setValueByType('Happy Weekend! !@#$%^&*()_+1')"
debug: Sending command to instruments: au.getElement('4').setValueByType('Happy Weekend! !@#$%^&*()_+1')
debug: Sending command to instruments: au.getElement('4').setValueByType('Happy Weekend! !@#$%^&*()_+1')
debug: [INST] 2014-08-18 06:25:46 +0000 Debug: Got new command 15 from instruments: au.getElement('4').setValueByType('Happy Weekend! !@#$%^&*()_+1')
debug: [INST] 2014-08-18 06:25:46 +0000 Debug: evaluating au.getElement('4').setValueByType('Happy Weekend! !@#$%^&*()_+1')
debug: [INST] 2014-08-18 06:25:46 +0000 Debug: target.frontMostApp().elements()[0].elements()[2].tap()
debug: [INST] 2014-08-18 06:25:47 +0000 Debug: target.frontMostApp().elements()[0].elements()[2].tap()
debug: [IOS_SYSLOG_ROW ] Aug 18 14:25:47 zhoude-iPhone MobileGestaltHelper[77] <Error>: libMobileGestalt MobileGestalt.c:267: server_access_check denied access to question UniqueDeviceID for pid 488
debug: [IOS_SYSLOG_ROW ] Aug 18 14:25:47 zhoude-iPhone ScriptAgent[488] <Error>: libMobileGestalt MobileGestaltSupport.m:167: pid 488 (ScriptAgent) does not have sandbox access for re6Zb+zwFKJNlkQTUeT+/w and IS NOT appropriately entitled
debug: [IOS_SYSLOG_ROW ] Aug 18 14:25:47 zhoude-iPhone ScriptAgent[488] <Error>: libMobileGestalt MobileGestalt.c:528: no access to UniqueDeviceID (see <rdar://problem/11744455>)
debug: [INST] 2014-08-18 06:25:47 +0000 Debug: Cannot perform action on invalid element: UIAElementNil from target.frontMostApp().keyboard()
我试了,没有问题,不会 Crash
我的写法是:
text = self.driver.find_element_by_xpath('//UIATextView[1]')
text.send_keys(u'早上大雾,这会暴晒啊 !@#$%^&*()_+')
用 XPath,Details 里拉到最下面就有
#2 楼 @wangcityboy 不能用 sudo 安装
试着运行一下 reset.sh,另外你安装 appium 的命令是?
#15 楼 @liu 有可能是 coordinates 和 duration 的问题,你可以看看我搜的这三个页面
https://groups.google.com/forum/#! topic/appium-discuss/isReHWFsZhs
https://groups.google.com/forum/#! msg/appium-discuss/cayM9HWI26E/qUXF8cFhtNcJ
https://github.com/appium/appium/issues/1006
问题 1:修改头像在页面右上角,点开昵称里有个个人资料设置,在个人资料设置页面有修改头像
问题 2:滚动操作可以参考这个帖子 http://testerhome.com/topics/1132
#13 楼 @gaozhenxi 一样的
刚开始做测试时,我也对此提示有疑惑,后来听别人解释说,是为了安全,今天再看到这个解释,确实这样提示是有道理的
没有
大西安排名第十啊