title: Using Xcode7's UI tests to create app screenshots for the App Store
body: <p>Every time we change something in the UI, we have to manually prepare and take 375 (= 5 screenshots * 5 device types * 15 languages) screenshots for iTunes Connect's listing.</p>
  
  <p>I'm trying to "exploit" iOS 9's new UI testing to automatically prepare and take these screenshots for each language. This should save a huge amount of time and provide a better experience to our users, because we didn't update the screenshots frequently due to the hard work involved.</p>
  
  <p>I couldn't find much help on the internet, probably because this feature is too fresh. So here are two essential questions, hopefully we can find a way to make it happen.</p>
  
  <ol>
  <li><p>Is it possible to save a screenshot to disk through the UI testing API?</p></li>
  <li><p>Is it possible to have a clean install for a XCTestCase?</p></li>
  </ol>