更新了
感谢楼主的分享,配置完代码就能跑了。
运行 monkey test.py 获取数据

但是再运行 BaseReqport.py,无法生成相应的 excel 数据

请问楼主,performance_report.xlsx 该如何才能生成成功?
运行报错了
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "D:\Anaconda3\lib\multiprocessing\pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "D:\Anaconda3\lib\multiprocessing\pool.py", line 44, in mapstar
return list(map(*args))
File "D:\monkeyTest\monkeyTest.py", line 99, in start
pid = BaseMonitor.get_pid(mc["package_name"], devices)
File "D:\monkeyTest\Base\BaseMonitor.py", line 114, in get_pid
if item.split()[8].decode() == pkg_name:
IndexError: list index out of range
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:/monkeyTest/monkeyTest.py", line 153, in
runnerPool()
File "D:/monkeyTest/monkeyTest.py", line 77, in runnerPool
pool.map(start, devices_Pool)
File "D:\Anaconda3\lib\multiprocessing\pool.py", line 266, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "D:\Anaconda3\lib\multiprocessing\pool.py", line 644, in get
raise self._value
IndexError: list index out of range

Invalid Version: android-4.4.2 版本太老,应该是不支持了
推荐我用的这个


运行 python -m uiautomator2 init,不成功,这是什么原因导致的?
摆摊卖烧烤
转行要趁早,越到后面,成本越大,不过转行也要慎重啊。
一针见血,说的太对了
路径下的 apk 找不到,对着错误看下路径是否有问题
穷
苏州地区,还有@lion
楼主很赞,刚开始的时候,我也是有同样的疑惑,然后我是采用的第二种方法来执行的。
保密性是最重要的
所有文章,都是基于本人实际工作实践总结而来,能对你工作有所帮助就最好了
https://testerhome.com/topics/10512
https://testerhome.com/topics/10513
The error message says:
Error during SonarQube Scanner execution org.sonar.squidbridge.api.AnalysisException:
Please provide compiled classes of your project with sonar.java.binaries property
It seems like the java sensor requires the .class files, in addition to the .java files.
You could:
谢谢支持,我还发了其他类型的文章,工作上有需要用到的,可以去看看。

如果你希望社区更多的人可以看到你写的帖子,你可以不勾选圈子,取消关联即可。
不是哦,我没写过。
改好了
图文并茂,给个赞