ui-auto-monkey
ui-auto-monkey copied to clipboard
Xcode 6 compatibility?
Hi Jonathan,
Thanks for this great tool :) I could get it to work some time ago but failing to do so now and I can't figure out why. I always get "An error occurred while trying to run the script." error in the log messages. I did everything just like you in the tutorial, as far as I can tell at least.
Do you know what I could be doing wrong? Or is this not working with the current Xcode version?
Thanks in advance :)
I've experienced the same with Version 6.0 (6A313) on more machines.
Guys if you are testing on device against iOS 8, make sure you have UI Automation enabled in the Developer settings. Settings -> Developer -> Enable UI Automation.
On 27 Oct 2014, at 18:24, Csaba Szabo [email protected] wrote:
I've experienced the same with Version 6.0 (6A313) on more machines.
— Reply to this email directly or view it on GitHub https://github.com/jonathanpenn/ui-auto-monkey/issues/10#issuecomment-60632433.
Oh right, thank you! However, I still can't get the script to fully work. I'm developing a keyboard so monkey testing is super helpful. I've tried the script with the embedding app now where it works great. However, when I use it on the keyboard and set the frame accordingly, nothing happens. There is nothing simulated nor written into the console. The script is never executed as it seems. Do you know what I could be doing wrong? Do I have to adjust the script to get this to work?
Hmm. I suspect that because your keyboard is running in a different process than the embedding application that UIAutomation scripts can't reach the UI. Unfortunately, there's nothing we can do about that yet. The Instruments team needs to update UIAutomation so it supports interacting with UI layers outside of the front most application. Please file a bug with Apple about this and post the radar number you are given here so we can dupe it.
Here you go. Thanks for you help :)
I am trying to run monkey test on iOS 8.1 simulator (Xcode 6.1) but the script auto stops without doing anything. Need help, anybody !!
Hi, I am new to ios app testing. My question may be stupid one but please reply back. Is it possible to test any .ipa installed on ipad / iphone using UI auto monkey? I have only Xcode in my system but no project / source code to corresponding that .ipa file.
If possible then please guide me.