title: Taking Screen shot using espresso
body: <p>I am using Espresso for my UI Testing in my project. I want to take screen shot of each Activity(Screen). I am using ScreenShooter from GoogleCloudTestLab for taking screen shot.</p>
  
  <pre><code>   ScreenShotter.takeScreenshot("main_screen_2", getActivity());
  </code></pre>
  
  <p>But it only taking the screen shot of the 1st activity which i defined in my ActivityTestRule. How can I take other activity screen shot with in the same testcase.</p>