androidandroid-testingfirebase-test-labandroid-unit-testing

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?

The way to run Robo Scripts locally one at a time is the following:

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? (e.g. 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.


Solution

  • You can add

    {
      "eventType": "TERMINATE_CRAWL"
    }
    

    as the last action in your Roboscript. It will stop Robo when Roboscript finishes.