???????5?路????????????iOS????????????????iOS UI???????????????????????????????????????????????????????????????

???????????????????????????????????????????????婊�?????????????UI???????????????????iOS4????UI Automation?????????????????????小?

????1??iOS4??UI Automation

??????JavaScript????????????????????????Instruments??Automation??????小?????????慰??????????iOS 4 ?????UI????????????????????写??????????Javascript???????Automation????????????????????????target?????????????????????????Record???????????煤????????????????????????Selenium???????js???????????????????????????????????????????????

????API??????SDK Developer Document??????????????UIAElement??UIAElementArray??UIALogger??????????API????????????????????????elementTree???????UIATarget.localTarget().logElementTree()????????????API???????械?Element?????Element?????????????????????????????????????????????

window.tableViews()[0].cells()[1].buttons()[2].tap();


??????????????button??name?????????button????写????????

window.tableViews()[0].cells()[1].buttons().firstWithName("search");


????????????????????????????view??????锌???????????????????

?????????????????????Working with UIAutomation?????????????tuneup_js???????????????梅?????????????before after?????????????????????????????????case???????????锌????????????????????????????????????慰???

????2????????????????????

???????渭??路??????????????target????applicationDidFinishLaunching?????????????????????????????????校??????????target?????+??????渭??????????????????????????????????????????????????小?

?????????????????????????????芯???????????????????????

????FoneMonkey??????????????iOS??????????????????????????????????????????????????????????UI Recorder???????????

????Bromine?????????????????????????????Plist???????testcase???????????????????????????????????????????????????????????????????????C/S???????????server????蟹???????????????小?

????Google Toolbox for Mac (GTM)??Google?????????????GTM + TestMerge.app = UI testing bliss????????????路??

?????????????????????????????????

????iOS4??UI Automation???????????4.0????iOS??????????????????????????????????Instruments????????????????????????????????????leak??????泄?????????UI Recorder?????????????????姹�??iOS?璞�?????????????????????????

???????????????Javascript??????????????Objective C???????????些??

?????????????????校???????crash??????????????????crash???????????case?????????case???????????????????app?写??芯???

??????????????????????????????????????????????????????build app??run app & testcase??generate testresult???????????????Automation??????????????????妫琁nstruments????Shell???校??????谢?????芯???????胁??????????????Apple Script???校?????????????????????????妫�?????????log????????????????????????????????C/S?????????????????server???????????????

????PS????????????????????web???????Selenium2??????iOS??android???????慰?Selenium IphoneDriver??