iOS???????????
???????????? ???????[ 2012/3/31 13:28:49 ] ????????
???????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??????????????????棬Instruments????Shell???У??????л?????о???????в??????????????Apple Script???У?????????????????????????棬?????????log????????????????????????????????C/S?????????????????server???????????????
????PS????????????????????web???????Selenium2??????iOS??android???????ο?Selenium IphoneDriver??
??????

???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11