????????
?????????????????????д??????????????????????????????????????????μ????????????????????????????????????
????????????????????Щjava?????????????????????????????python???????python??????????????python??GUI???飬????????????飬?????????????????????????????java??????????е?????????????ü?????java??GUI???飬??????У?????Java??????????Eclipse SWT/Jface??????á???????????????????
?????????
???????????????????????NO????????????????????uiautomator???д?????shell?????????????????Shell+sendevent??????????????uiautomator??shell???????????д????????????????????shell???????java????????д??????????????????????????????????????????????
??????????
???????uiautomator??????????????uiautomator????????Щ?????????д????????shell????????????????????eclipse?У?д???ClickByText???????????shell?е????uiautomator runtest FileName.jar -c PackageName.ClassName -e text Phone???????text?????Phone??????

???????????
???????uiautomator dump????xml????????shell???????xml?????????????[https://testerhome.com/topics/2806]
?????????д???????????????shell???????д?????Template.sh??????????????е???ò?????????Click??ClickByText??PinchIn???????????????????????????????????????????????????????Щ??????????????????????豸?????Щ??????????????????memory?????procrank?????????С???浽?xls????У???

??????????????????????????????????????????????uiautomatorviewer??????????????????????????????о????а???????eclipse????uiautomatorд???????????????????uiautomatorviewer???????????????????????????????????ù???????????????????????uiautomatorviewer???????????????????????????????????????á?
???????
???????uiautomator????????????????????У?????debug????????????????eclipse????uiautomatorд????????????????????push?????????
???????
???????????????????Shell???????????????????????????sleep??????sleep????shell?????????????????run
????????
??????????????testerhome?????? @cpfeng0124??????[https://testerhome.com/topics/2632] ???????????????????????????????????uiautomatorviewer????????????????????????????uiautomatorviewer????????????????????????????????uiautomatorviewer???????????λ?????????????????£??????uiautomatorviewer???????????????uiautomatorviewer???????????1????

??????????????У????????????bug???????????2?????????????????????????????????????????????????
???????????Щ????????????????????????????
????????????????????????????instance?????
????????????????instance?1?????????????????????????????????????????????????????????У?????????????е????????text?????Phone????????????????Attribution operation > Click > text?????????text?????Phone????????????????μ???????????????????????????????????uiautomatorviewer?????uiautomatorviewer.java?м???????У????????text??resource-id??content-desc???????????????ж?text?????????????????????

?????????uiautomator dump?????з???????????uiaumator?????????????????????????????????????У??????????shell?ж?????2??????????????????????

??????л
????????????л?????????????????????????????????????????????????????????????????????????????????????????????????лTesterHome?????????????????????????????????????л???????2??????£??????????????
????δ??
????????????????????????????????????????????shell?????????????????????Ч?????????ddms????????????????????
?????????????????
????????uiautomator2.0??????????espresso?????html+css+javascript?????????????????????????檔