???????д??????????????????????????????????£??????Щ?????????????????????????????????????????????????????в????????????????????????????????????????μ????????縴?????????iOS??????????????
???????????????????ú?UI???????????????????????μ?·?????????????????????£???????????iOS APP?????????Web???????Щ??????????????iOS???????????????????????????????????????Ч?????????????л????????????????汾macOS?????Xcode???????ɡ?
?????????????????????????????????????????????????????????????????????
????1. ????????????????2????????????
????????????????????????????????????????????Appium??Calabash???????????????????????????????????
????????Xcode 7???iOS Simulator?????????????iOS?????????????????????????????iOS 10??Xcode 8???Apple??????UIAutomation?????′?????Ч???????API?????á?
????????????????Appium??????iOS 10?????????????汾??lib??APP???????Щ?????????inspector??λ???????ARC????????????????????鯔??XPath????????λ?????е??????????ò???????????????iOS????????Apple???????????????????????????????????Instrument????
??????Щ???????????iOS??????????????????????????????iOS?豸?????????????????????????????????????????????????ζ??????????

????2. ??????????????????????в???
?????????????????????????????????????п??????????????????????????????????????????л?????????????APP?????????????????????Щ???????????????iOS????????????м??????????
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????в???????λ???????????????????????????????????????????Appium???????????????

????3. ???????????л????APP
??????????APP????????????????????????????????????????????y??н?????????????????APP?????????????????????notification?????????????????????л??????繃???????????APP?????????
????????Щ?????????????????????????iOS?????????????????ù???????????????????????????Щ????
??????????????Instrument??????????
????????????????????????????????????????????????????????ο???Uber??Showcase?????????????????5??6?????????ò?????????????????????????????????????????????????????????????iOS?????????????????????????????????????????????Instrument?????????
?????????????????Apple???API???????????????????????????????Simulator????????????????????????????á?????????е????:

????????????????????????????iOS????????????
????xcodebuild?????????????WebDriverAgent????????????????豸???????????Apple???????????????????豸???????У??????е????豸???????????????????????е?destination????????8100???????????豸??
???????????????????????????????й?????????κ???????????????????????????Apple????????????????豸???????????????м?????
?????????????????curl????launch???????????в????APP???????????????????????APP??session:
curl -X POST '-H "Content-Type: application/json"' -d "{"desiredCapabilities":{"bundleId":"com.apple.Preferences"}}" http://localhost:8101/session
response??
{
"value" : {
"sessionId" : "94A6580F-1F0F-4411-AC64-3E2525BBA5E1"??
"capabilities" : {
"device" : "iphone"??
"browserName" : "Settings"??
"sdkVersion" : "10.1"??
"CFBundleIdentifier" : "com.apple.Preferences"
}
}??
"sessionId" : "94A6580F-1F0F-4411-AC64-3E2525BBA5E1"??
"status" : 0
}
?????????????????豸????????????HTTP server???inspector?????????????APP?е?????λ?????????????

????????????????????????????APP???л?
???????????????????????????????????curl????????????????APP????????sessionId.

????????????Appium???
???????Uber??Octopus??????Appium????????WebDriverAgent?? ????????????????????????????????????????ò??curl?????????Simulator???APP????query??tap??typing???touch id???????????Appium??????Щ?????????API???????????????????????Appium API ?????????WebDriverAgent???????н???????ò????????????в??????????????????????????????????????????????????в???????????????????????????????????curl??????з??????????APP??????????????????ɡ?
??????????????
??????????????????????????????????????????????????д??????UI?仯???????????????????????????????????????????????QA??????μ?????????д???????????APP??????????????HTTP????????????????????????JSON??????????????????κ???????????д??????????????????iOS????????????
???????????????ThoughtWorks??StartKit??????????????????Demo??
???????:
?????????????????????????????????????????????????????????????????·????????ò???????????????????????????????????????????????????????????????????????????