Updated on 2013/04/08: Added command-line for Xcode >= 4.5, how to take screenshots and launch local scripts. Quick introduction Automated tests are very useful to test your app “while you sleep”. It enables you to quickly track regressions and performance issues, and also develop new features without worrying to break your app. Since iOS 4.0, Apple has released a framework called UIAutomation, wh