????????????target.logDevice()?????????

Dump Device:
model: iPhone Simulator
rect: {"origin":{"x":0??"y":0}??"size":{"width":320??"height":480}}
name: iPhone Simulator

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

?????????????????????????????????????????????????#import???????????????????????????????????????????????????????????????????

#import "Test1.js"
#import "Test2.js"
#import "Test3.js"
#import "Test4.js"
#import "Test5.js"

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

???????????????????????????????????????????????????????????????????????????????????????????Instruments????ν???????????Instruments????ν???????????????????????????????????????????????????????????????????????в????????????????????????????????

???????????????????????????????????????????豸??UDID???????

instruments -w your_ios_udid -t
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/
Library/Instruments/PlugIns/AutomationInstrument.bundle/
Contents/Resources/Automation.tracetemplate
name_of_your_app -e UIASCRIPT absolute_path_to_the_test_file

???????磬?????????????????д???

instruments -w a2de620d4fc33e91f1f2f8a8cb0841d2xxxxxxxx -t
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/
Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/
Resources/Automation.tracetemplate
TestAutomation -e UIASCRIPT
/Users/jc/Documents/Dev/TestAutomation/TestAutomation/TestUI/Test-2.js

?????????????Xcode?汾????4.3??????????????д??

instruments -w your_ios_device_udid -t /Developer/Platforms/iPhoneOS.platform/Developer/
Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/
Automation.tracetemplate TestAutomation -e UIASCRIPT /Users/jc/Documents/
Dev/TestAutomation/TestAutomation/TestUI/Test-2.js

???????С?????????????????豸???????????????????????????????????remote exception encountered : ’device locked : Failed to launch process with bundle identifier ’com.manbolo.testautomation’. ????????UIAutomation??????????????????

?????????????????????????????????????????????????ó???????????е?·?????????????~/Library/Application Support/iPhone Simulator/5.1/ “???”?????豸?????????????????£?????????????????????????????????ó??????е?Applications????С???λ??TestAutomation????????????

instruments -t /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/
Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources
/Automation.tracetemplate "/Users/jc/Library/Application Support/iPhone Simulator
/5.1/Applications/C28DDC1B-810E-43BD-A0E7-C16A680D8E15/TestAutomation.app" -e UIASCRIPT /Users/jc/Documents/Dev/TestAutomation/TestAutomation/TestUI/Test-2.js

????????????????????????????????????????????????????е???????????????????????????????? -e UIARESULTSPATH results_path ????????????????????

????????г?????????????????????????????????????????????????????????????????????????????????????????????????“???????????”??????????ó????????