UIAutomation in Development
| Originator: | david.anderson | ||
| Number: | rdar://14303703 | Date Originated: | 28-Jun-2013 10:21 AM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 6.1 |
| Classification: | Enhancement | Reproducible: |
28-Jun-2013 10:21 AM David Anderson: Summary: Have recently begun using instruments + UIAutomation to perform functional testing of an iOS app. Given the complexity of the app, it would be FANTASTIC if I could specify a file of UIAutomation javascript that could be performed as a "post-run" action that would programmatically walk through the UI, setting up the app-condition needed for the current development task. That is, the UIAutomation script could define the setup condition necessary to facilitate development in a specific area of an app. This would simplify the tedium of tapping through multiple views, text entry, etc before having the app configured for the next debug session. Steps to Reproduce: Write UIAutomation javascript file to define the pre-conditions needed for the current development task, attempt to trigger that javascript to run as a post-run action in the Xcode Run scheme Expected Results: After running the app via Xcode, the javascript is executed bringing the app to the pre-condition specified and the developer may then enable breakpoints interact with the simulator/device and step through the code manually. Actual Results: Not possible Regression: Notes:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!