简体   繁体   English

我可以运行 Robo 脚本列表吗?

[英]Can I run a list of Robo Scripts?

Is there a way to run a list of Robo Scripts (locally or to Firebase Test Lab) instead of running them one by one?有没有办法运行 Robo 脚本列表(本地或到 Firebase 测试实验室)而不是一个一个地运行它们?

The way to run Robo Scripts locally one at a time is the following:一次在本地运行 Robo 脚本的方法如下:

java -jar crawl_launcher.jar --apk-file your_app.apk --app-package-name your.app.package.name --android-sdk path/to/android/sdk -—robo-script-file generated_script.json

Moreover, is it possible to stop the App Crawler when the Robo Script is completed?此外,是否可以在 Robo Script 完成后停止 App Crawler? (eg with a command in the script). (例如,使用脚本中的命令)。 Now, when the App Crawler completes the steps of the script proceeds to explore the app as usual with random actions.现在,当 App Crawler 完成脚本的步骤时,会像往常一样使用随机操作探索应用程序。

You can add你可以加

{
  "eventType": "TERMINATE_CRAWL"
}

as the last action in your Roboscript.作为 Roboscript 中的最后一个动作。 It will stop Robo when Roboscript finishes.当 Roboscript 完成时,它将停止 Robo。

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

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