三星:http://samsung.smarterapps.cn/index.php?app=home&mod=Public&act=login
vivo:https://id.vivo.com.cn/
huawei:https://deveco.huawei.com/console/testservice/remote
testin:https://www.testin.cn/realmachine/index.htm
wetest:https://wetest.qq.com/cloud/n/remotedevicelist?test=remote
360:http://opentest.360.cn/phonerenter
现在用了 atx-server2
脑子是个好工具
是的
一个是 server1 的 一个是 server2 的
atx-agent

页面右上角点一下进去就能看到
你的脚本写的有些不正确的地方
我只是搬运工
是你给我打赏的微信吗???
多进程的并行
server2 目前还没支持 wifi 链接啊
大多数模拟器不支持 minicap
真机试试
可能是你电脑网络的问题吧
atxserver 已经不维护了 建议使用 https://github.com/openatx/atxserver2
包名错了吧 或者没安装这个 app
换成 py3 试试
就知道睡觉
无 不过我那个帖子下面好像有人有讨论
嘻嘻
你可以注释掉 drivers.py 下 check_alive 方法下的 d.healthcheck() 的方法,但是 你运行的时候 要保证手机是不再锁屏状态的
执行 cases 前会 check_alive 里面有一个 d.healthcheck() 的方法。
def healthcheck(self):
"""
Reset device into health state
Raises:
RuntimeError
"""
sh = self.ash
if not sh.is_screen_on():
print(time.strftime("[%Y-%m-%d %H:%M:%S]"), "wakeup screen")
sh.keyevent("WAKEUP")
sh.keyevent("HOME")
sh.swipe(0.1, 0.9, 0.9, 0.1) # swipe to unlock
sh.keyevent("HOME")
sh.keyevent("BACK")
self.reset_uiautomator()