Android:按键盘上的完成按钮 [英] Android: Press Done Button on Keyboard

查看:27
本文介绍了Android:按键盘上的完成按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 appium 实现安卓应用自动化.无法单击电话键盘上显示的完成"按钮.有人可以帮助我们有什么方法可以使用 ADB Shell 命令单击 Android 手机完成按钮吗?

Using appium for android app automation. Not able to click on the "Done" button displayed on the phone keyboard. Can someone help is there any way we can click on the Android phone done button using ADB Shell commands?

推荐答案

似乎没有建设性的方法可以单击设备键盘上的完成"或下一步"按钮.因此,作为临时解决方案,我在完成"按钮坐标上用 2 根手指轻敲,但这不是执行此操作的可行解决方案.将等到 appium 在下一个版本中对此进行修复.

Looks like there is no constructive way to click on the Done or Next button on the device keyboard. So as a temporary solution I'm tapping with 2 fingers on the Done button coordinates, However this is not a viable solution to do this. Will wait until appium comes with fix for this in next version.

这篇关于Android:按键盘上的完成按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆