Have a way for Instruments to stop after automated tests are done
Originator: | apontious | ||
Number: | rdar://12745711 | Date Originated: | 11/24/2012 |
Status: | Closed | Resolved: | ? |
Product: | Developer Tools | Product Version: | 4.5 |
Classification: | Serious Bug | Reproducible: | Always |
Summary: Currently, when you "Record Trace" in Instruments with the Automation tool, the trace continues even when the tests are done. Steps to Reproduce: - Run a UI Automation test script on an iOS application, such as the "Automatic for the People UI Automation Script.js" script that comes with this project: http://github.com/apontious/Automatic-for-the-People - Wait for all tests to finish. Expected Results: - Now, Instruments stops. Actual Results: - Instruments keeps running forever, requiring you to stop it yourself manually each time. Tedious! Regression: - Not a regression. Notes: The documentation even mentions this issue, in the Automated UI Testing section of the Instruments User Guide. But just because it's documented, doesn't make it right! Perhaps there could be some special logging message that Instruments listens for, which, if it sees, makes it stop running. I dunno, you folks figure something good out, I'll be happy.
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!
Closed by Apple
Closed by Apple with no explanation.