Android??????????????
???????????? ???????[ 2013/1/5 10:50:14 ] ????????
????Bug???λ?????????????????????????????????????????Android??Log???????????е?????????????IDE?д?????????TMTS?У???TmtsLog?????????????????????????????SD?????????????????е?????λ?????????????????????????????????????????????????????????????TmtsLog????????????????н????TmtsLog???????????????????????????????????????????????????????????????????????????????????????
???????????????????н????????????????仰??·???????????
????????????????????У?
????1.???????????testapp??app???????????????????У????????????
????2.?????????????????к?????????Thread.sleep()???????View???????????????View???в???????????????view????set????????????????????ò?????Ч????????????????????????????
????????Robotium????API?????????????????????????
??????????????????????????WebView???в????????????????????????TMTS(Taobao Mobile Test Studio)????
????TMTS???????????????????????????Instrumentation?????testapp??app??????????????? ??app crash????testapp???crash??????????????о???Instrumentation??Activity??????????????????о????dalvik????ν???Manifest????????????????????????????????android??????Щ??????????????????????????????
???????????????????? Robotium?в??????actionMethod(View?? arg)??????TMTS?в???getView(id).actionMethod(arg)?????????????java????????TMTS?????????д?????????????View??????View???????action???????????
????TMTS????????????????????????Android????API??????Activity??????View????????????????????View?????????View???Instrumentation????Щ??View???????????????????TmtsView????????
????????????????????????????android.View??????????????????????????????????????????????TmtsView????
???????????????????????View????????????????id???????????????????д??????????app??????????????????????view??id???????????id????????п???д????????????????????????Щ????????SDK?????hierarchyviewer??????view??id;???????????????н???????java????????л??????????????????е????д?id??view?????????????view??????????????????е?view???й???
???????????????getView(id).actionMethod(arg)??????Layout(layout.class).ViewType().view().actionMethod(arg)??????????????????????????????????????
????Bug???λ?????????????????????????????????????????Android??Log???????????е?????????????IDE?д?????????TMTS?У???TmtsLog?????????????????????????????SD?????????????????е?????λ?????????????????????????????????????????????????????????????TmtsLog????????????????н????TmtsLog???????????????????????????????????????????????????????????????????????????????????????
???????????????????н????????????????仰??·???????????
????????????????????У?
????1.???????????testapp??app???????????????????У????????????
????2.?????????????????к?????????Thread.sleep()???????View???????????????View???в???????????????view????set????????????????????ò?????Ч????????????????????????????
????3.?跨????Toast???
?????????????о?????????????java?????????android??????????Android????????ASE(Android Scripting Environment)?????????????????phyton??lua??perl??????????????????????????о?????飬????ASE???Android?????????????????
???????????????????????????“???????????????;???????????????????????????ī?????;?????????????????”??“????????????????”????仰????????????????????????????????????????????????仰?????????????????????????????????????????????????????????????????????????????????????????????????????
??????
???·???
??????????????????
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