How to run multiple script at once in Espresso?


In Espresso if we are having multiple scripts then instead of running every script individually, we can run all the script at once and we can get the saved results for individual scripts.


  1. In Android studio at the right end click on gradle“.
  2. After opening Gradle “run configuration” select the project you have to run multiple connected scripts.

3. After clicking on that project it will start running the multiple scripts like:-


4.  After the running the script it will stop after completing the execution.

5. To see the end results of the scripts go to project file directory.

Build  -> reports -> android test -> conected ->flavors.

In the above image its displaying the number of scripts results.

6. You can view individual results of the scripts and it will display the results in web browser.

Scripts having error will look like this :-


Thats all for this blog, I hope this will help and the main objective behind doing this is for saving the time because its very difficult to run the scripts individually and analyzing result every time.



. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.


The results provided were above our expectations both in deliverability timeline as well as operation. They are a top-notch company with many resources and a company we feel honoured to work with again!

Lee Seward

Lee Seward

Founder, Gro-Connect

Talk to Sales


Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home