Enhancements for UI Automation

Originator:henrycerner
Number:rdar://14096753 Date Originated:07-Jun-2013 05:26 PM
Status:Open Resolved:No
Product:Developer Tools Product Version:4.6.2
Classification:Feature Request Reproducible:N/A
 
Here are some ideas:

* There could be a method that waits until an element is in the tree.
* There could be a method that searches the tree for an element with the given name, value, class or a combination thereof.
* All visual components should adhere to the accessibility identifier protocol.  Example: UIBarItem does not inherit from UIView therefore it does not have the accessibility identifier property.  Another example is action sheet items/buttons.
* Debugger.
* Test assertion functionality.
* More robust javascript runtime.  Example: jQuery can't be loaded because its too large for the current runtime.
* Is there a way to simulate running multiple devices (like 500) at one time for load testing the services (assuming the app is networked).
* Provide various log level control e.g. info, debug, warning, error, etc...
* There could be many methods on UIAElement and descendants such as:
    A method on UIAElement to tap the element based on coordinates.  You'd want this because some elements
    may not be tappable, but you might want to tap them.
    Add a method to select the enter and delete keys on a keyboard.

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!