• appium-flutter 元素定位问题 at 2024年09月03日
  • 游戏支付测试分享 at 2023年05月30日

    海外 app 被 google 莫名其妙下架过,想问下,测试中较高频的请求 google 支付相关的接口有风险吗?

  • httprunner 大佬讨论群 at 2022年05月07日
    仅楼主可见
  • `` > trace_xx.txt

  • tv 端 UI 自动化测试 at 2019年11月18日

    把 tv 系统当成安卓系统对待就可以, tv 一般打开调试模式默认会把 5555 端口,在同一局域网下用 adb 远程连接然后跑脚本

  • 代码报错:

    *** liyu 2015-01-15***

    *** v1.0.0 ***


    Checking adb port...
    成功: 已终止 PID 为 15828 的进程。
    adb devices
    cannot connect to daemon at tcp:5037: cannot connect to 127.0.0.1:5037: 由于目标计算机积极拒绝,无法连接。 (10061)

    • daemon not running; starting now at tcp:5037 adb -s 053260ec7d23 unauthorized shell wm size adb: usage: unknown command unauthorized multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\multiprocessing\pool.py", line 119, in worker result = (True, func(*args, **kwds)) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\multiprocessing\pool.py", line 44, in mapstar return list(map(*args)) File "F:\my_tools\monkeyTest\monkeyTest.py", line 88, in start mkdirInit(devices, app, num) File "F:\my_tools\monkeyTest\monkeyTest.py", line 54, in mkdirInit app[devices] = {"cpu": cpu, "men": men, "flow": flow, "battery": battery, "fps": fps, "header": get_phome(devices)} File "F:\my_tools\monkeyTest\monkeyTest.py", line 38, in get_phome bg = BasePhoneMsg.get_phone_Kernel(devices) File "F:\my_tools\monkeyTest\Base\BasePhoneMsg.py", line 66, in get_phone_Kernel pix = get_app_pix(devices) File "F:\my_tools\monkeyTest\Base\BasePhoneMsg.py", line 62, in get_app_pix return subprocess.check_output(cmd).split()[2].decode() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 336, in check_output **kwargs).stdout File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 418, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command 'adb -s 053260ec7d23 unauthorized shell wm size' returned non-zero exit status 1. """

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
    File "monkeyTest.py", line 153, in
    runnerPool()
    File "monkeyTest.py", line 77, in runnerPool
    pool.map(start, devices_Pool)
    File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\multiprocessing\pool.py", line 266, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
    File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\multiprocessing\pool.py", line 644, in get
    raise self._value
    subprocess.CalledProcessError: Command 'adb -s 053260ec7d23 unauthorized shell wm size' returned non-zero exit status 1.

  • ScreenToGif 了解下

  • pip 安装好 pytest 后报错。 at 2019年02月02日

    好, 感谢指点~要不这个报错要拖到明年了。 哈哈哈哈哈 新年快乐 😆

  • pip 安装好 pytest 后报错。 at 2019年02月02日

    是的,想要用虚拟环境的配置执行 pytest 怎么办?

  • pip 安装好 pytest 后报错。 at 2019年02月02日

    那个日志就是完整的,谢谢提示, 电脑的确安装了多个版本的 python 用 conda 在 pycharm 中明明指定的 app_test 环境却用的 root 环境。。。尝试在 root 环境里安装依赖包居然好了。。。😂