通过ADB命令将数字作为文本发送到Android TV框
我正在为一个Android电视盒进行测试,其中需要键入某些VOD资产的名称。我正在使用adb shell输入文本< string>
为此工作,它运行良好。 当我尝试输入一个数字时,该设备会像我更改频道一样考虑它,并且每当我发送号码时都会退出搜索。有人知道如何解决吗?
编辑:产品所有者确认将整数作为文本发送而无需将其解释为通道更改的框,因此我应该关闭这个问题。
I am automating a test for an Android TV Box in which it is required to type out the name of certain VOD asset to watch. I am using adb shell input text <string>
for that and it's working beautifully.
The issue comes when I try to input a number, the device considers it as if I'm changing channels, and it exits my search whenever I send a number. Does anyone know how to go around that?
Edit: the product owner confirmed that sending integers as text without having the box interpreting them as channel change is inevitable, and so I should close this question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论