How to run multiple script at once in Espresso?

Save

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.

Steps:-

  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.

css.php

It was a successful collaboration. The Mobikul team provided the client everything they needed in a timely and high-quality manner. They were very professional, reliable, and accessible during the entire process. The client also saw no room for any improvements in the vendor's performance.

Vincenzo Carrano

Vincenzo Carrano

Administrator, Segshop

Talk to Sales

Global

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