solution to my iphone uiautomation problem earlier. turns out you cannot capture screenshots on the simulator, only works on the device.