I want to be able to use UIAutomation to test an app. The problem I'm running into is, I need to download allot of data from the network. Is there a way to pause a UIAutomation script until a NSNotification is posted, or do I just need to delay()
longer than I think is necessary to download the data. Waiting a set amount of time isn't preferable because sometimes data doesn't need to be re-downlaoded.
Any help / links is greatly appreciated.