???????iOS?豸

???????????????????????????????????????????????????????豸?????????????????????????????????????????iPhone 3GS??iPad??iOS > 4.0???豸?????????????iPhone 3G?????汾??????????????

????????????β?????

????1?????USB????????????iPhone??

????2????? “TestAutomation > iOS Device”????

????3?????Developper profile???ó?Release??????????Ad-Hoc Distribution profile???????????£?profiling?????ó?Release??????????б????profile???ó?Debug??????

????4????????? (?I)

????5????????????ο??????????????

????2??????UIAElement????????????Accessibility??

????UIAElement??ν?

????Accessibility??UIAutomation?????е?????????????????Accessibility????????????????????ú?????????????????????????????????Accessibility????????????а????automation????????

????????????Interface Builder????????????????????isAccessibilityElement?????????????????????Accessibility?????????????????????container view??????????????????????UIKit??????accessibility???????????????????????View??accessibility????“????”???????????accessibility?????磺?????????У??????outlet??????ó????????????????е????????????????????????κ????logElementTree???????????????????????????????п?????????????????????

??????????????????UIKit??????????????Javascript???????????????????UIAElement??UIAElement?м????????name?? value?? elements?? parent??????????????????????????????UIKit??ε???????????ЩUIKit??ν????????UIAElement???????????磺???????????У????????logElementTree????????????????????????????

????+- UIATarget: name:iPhone Simulator rect:{{0??0}??{320??480}}
????| +- UIAApplication: name:TestAutomation rect:{{0??20}??{320??460}}
????| | +- UIAWindow: rect:{{0??0}??{320??480}}
????| | | +- UIAStaticText: name:First View value:First View rect:{{54??52}??{212??43}}
????| | | +- UIATextField: name:User Text value:Tap Some Text Here ! rect:{{20??179}??{280??31}}
????| | | +- UIAStaticText: name:The text is: value:The text is: rect:{{20??231}??{112??21}}
????| | | +- UIAStaticText: value: rect:{{145??231}??{155??21}}
????| | | +- UIATabBar: rect:{{0??431}??{320??49}}
????| | | | +- UIAImage: rect:{{0??431}??{320??49}}
????| | | | +- UIAButton: name:First value:1 rect:{{2??432}??{156??48}}
????| | | | +- UIAButton: name:Second rect:{{162??432}??{156??48}}