UIATableCells combine all UILabels into 1 UIAStaticText.

Originator:henrycerner
Number:rdar://14096575 Date Originated:07-Jun-2013 04:53 PM
Status:Open Resolved:No
Product:Developer Tools Product Version:4.6.2
Classification:Series Bug Reproducible:Always
 
Summary:
The text of multiple UILabels is combined into 1 UIAStaticText when inside a UIATableCell from UI automation.

Steps to Reproduce:
Create a UITableCell.  Add multiple UILabels to it (each with text).  Log an element tree in Instruments UI Automation.  Observe that all UILabels are combined into 1 UIAStaticText instead of appear as multiple UIAStaticText.

Expected Results:
There should be a UIAStaticText for each UILabel.

Actual Results:
All text from the UILabels is combined into 1 piece of text in a UIAStaticText.

Notes:
Because the text of multiple labels is combined into one string (one UIAStaticText) it makes it impossible to test the string portion of each individual label by itself.  It also makes it impossible to perform tests that verify a label appears to the left/right top/bottom relative to another label.  It also makes it impossible to perform size and location tests of the labels.

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!