美文网首页Appium
Robotframework + Appium 发送回车

Robotframework + Appium 发送回车

作者: Lacia | 来源:发表于2019-10-23 17:11 被阅读0次

这个问题困扰了我好久(:з」∠)

做Android UI自动化的时候,有时候需要输入回车,用send key 66不好使,这次终于解决了这个问题

OperatingSystem .Run And Return Rc And Output   adb shell ime set com.sohu.inputmethod.sogou/.SogouIME      
OperatingSystem .Run And Return Rc And Output   adb shell input keyevent 66 

adb shell ime set com.sohu.inputmethod.sogou/.SogouIME将输入法用appium输入法变为搜狗输入法,然后通过adb shell输入回车即可啦!

Problem solved!

相关文章

网友评论

    本文标题:Robotframework + Appium 发送回车

    本文链接:https://www.haomeiwen.com/subject/jkikvctx.html