This is an example showing how to use GSAutomation.
- Open gsaexample.xcodeproj with Xcode, build it, and run it on a device.
- Stop the running process on Xcode.
- Open instruments.app, choose Automation
- Inside "Choose Target", select the device first, then click "Choose Target" again and select "Choose Target"->gsaexample
- Under "Scripts" in the left panel, click "Add"->"Import" and select test.js in example folder.
- Press command+r to start running the test.
- When the test finished, press command+r again to stop the automation process.