简体   繁体   English

如何在android avd命令行中选择文本输入?

[英]How can i select text input in android avd command line?

I have to QA an inventory app that contains a number of forms . 我必须对包含许多表格的清单应用程序进行质量检查 But I don't want to do monkey testing ie fill the form each time etc. I want to automate that process. 但是我不想做猴子测试,即每次都填写表格等。我想使该过程自动化 So i auto select the field (input) and past text to that field and then select next filed in the form. 所以我自动选择字段 (输入)和该字段的过去文本,然后选择表单中的下一个字段。 I know that we can pass the text to selected input via adb shell input text 'your text goes here !!!' 我知道我们可以通过adb shell input text 'your text goes here !!!'传递给选定的输入adb shell input text 'your text goes here !!!'

在此处输入图片说明

AndroidViewClient/culebra simplifies the way you can create tests or scripts to achieve the automation you are looking for. AndroidViewClient / culebra简化了创建测试或脚本以实现所需自动化的方式。

Most of the methods will eventually generate the same commands you send via adb . 大多数方法最终都会生成与您通过adb发送的命令相同的命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM