# python_tk_adb **Repository Path**: liwanlei/python_tk_adb ## Basic Information - **Project Name**: python_tk_adb - **Description**: 安卓性能测试工具 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2020-08-16 - **Last Updated**: 2022-06-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # python_tk_adb   (python3 + tkinter +adb 实现,必须添加adb环境变量) ## 这是我自己写的一个adb小工具,可以取cpu,内存,流量,测启动时间,monkey测试 ## 在采集cpu占有率,上传下载流量,内存,启动app耗时的时候采用了线程的方式,不启用线程的话tkinter的界面会有卡死现象! ## 如果测试的过程中没有测试界面,那么不会出现上面的情况,统计的时候会增加部分日志, ## 增加java版本实现包 # 友情推荐本人其他开源代码: # 1.python app自动化测试平台版本:(https://github.com/liwanlei/UFATestPlan) # 2.python接口测试框架:(https://github.com/liwanlei/jiekou-python3) # 3.python接口测试平台版本(https://github.com/liwanlei/FXTest) # 4.python+flask 做后台,实现微信小程序:(https://github.com/liwanlei/webchat_app) ## 个人公众号,欢迎关注 ![Alt text](https://github.com/liwanlei/jiekou-python3/blob/master/img/%E5%85%AC%E4%BC%97%E5%8F%B7%E6%B5%B7%E6%8A%A5.jpeg) ## 整体的目录结构如下 ![Alt text](https://github.com/liwanlei/python_tk_adb/blob/master/img/%E6%95%B4%E4%BD%93%E7%BB%93%E6%9E%84.png) ## 效果如图展示 ![Alt text](https://github.com/liwanlei/python_tk_adb/blob/master/img/11.png) ## 生成的Excel测试报告 ![Alt text](https://github.com/liwanlei/python_tk_adb/blob/master/img/baogao.png) ![Alt text](https://github.com/liwanlei/python_tk_adb/blob/master/img/baogao%20(2).png) ![Alt text](https://github.com/liwanlei/python_tk_adb/blob/master/img/E.png) ![Alt text](https://github.com/liwanlei/python_tk_adb/blob/master/img/5.png) ## 新增加的log带ui界面日志如图 ![Alt text](https://github.com/liwanlei/python_tk_adb/blob/master/img/log%E6%97%A5%E5%BF%97.png) ## 不带ui界面的log日志展示 ![Alt text](https://github.com/liwanlei/python_tk_adb/blob/master/img/%E4%B8%8D%E4%BD%BF%E7%94%A8ui%E7%95%8C%E9%9D%A2%EF%BC%8C%E4%B8%8D%E7%94%A8%E7%BA%BF%E7%A8%8B%E6%B5%8B%E8%AF%95%E6%97%A5%E5%BF%97.png)