????uiautomator??shell??????????????
???????????? ???????[ 2015/11/26 13:54:49 ] ?????????????????? ?????????
????????
?????????????????????д??????????????????????????????????????????μ????????????????????????????????????
????????????????????Щ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?????????????????????????檔
??????
???·???
??????????????????
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