如何在Robo脚本中发送KeyEvent?

huangapple go评论70阅读模式
英文:

How to send the KeyEvent in Robo Script?

问题

我正在使用Firebase测试实验室中的Android Studio的Robo测试录制器。

我试图记录发送按键代码的操作。例如,KeyEvent.KeyCode.DPAD_UP

有没有任何方法可以记录它?

如果您知道的话,请给我建议。

谢谢您的帮助。

英文:

I was using the Android Studio's Robo Test Recorder of Firebase Test Lab.

I was trying to record the action of send keyCode. ex. KeyEvent.KeyCode.DPAD_UP.

Is there any way to record it?

Please advice me, if you know.

Thank you for your help.

答案1

得分: 0

Recording of specific key codes is not implemented in Roboscript Recorder yet, but there is a recent feature request for that.

英文:

Recording of specific key codes is not implemented in Roboscript Recorder yet, but there is a recent feature request for that.

huangapple
  • 本文由 发表于 2020年1月6日 17:36:09
  • 转载请务必保留本文链接:https://go.coder-hub.com/59609685.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定