2020
09-27
09-27
通过python调用adb命令对App进行性能测试方式
1监听启动activity信息命令adbshelllogcat|grepSTART可以查看apk包名和Activity名字=========启动时间============2冷启动(第一次启动)热启动(没有退出,第二次打开)命令adbshellamstart-W-ncom.qihoo.appstore/.home.MainActivity3停止app命令(冷启动)adbshellamforce-stopcom.qihoo.appstore(热启动方式退出)adbshellinputkeyevent3python来实现方式1定义App类方法有startAppstopAppgetSt...
继续阅读 >