Let me introduce you to UIAHost. More specifically, it’s method
performTaskWithPathArgumentsTimeout. What this allows you to do is execute a script in the flow of your tests.
Say we want to execute the ruby script:
All we have to do in our UIAutomation script is this:
That’s a pretty simple ruby script, and will fail to find the pusher gem on any of our machines at Bendyworks because we use ...continue reading