测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
会员
yoegg (甬力君)
第 9746 位会员 / 2016-06-15
VirtualBox @ 长沙,深圳
32 篇帖子 • 228 条回帖
22 关注者
9 正在关注
30 收藏
Less is more!
打赏支持
GitHub Public Repos
  • netcat-android 1

  • SIM800L 1

    SIM800L upper monitor

  • hex2dfu 1

    Simple command line tool to convert file format from Intel HEX to STM32 DFU.

  • hmscrcpy 0

    HarmonyNext Scrcpy

  • docker_image_pusher 0

    使用Github Action将国外的Docker镜像转存到阿里云私有仓库,供国内服务器使用,免费易用

  • Ysh 0

    Yong‘s Shell,a shell toolbox like busybox which implement by micropython.

  • MpyIDE 0

    A simple IDE for micropython.

  • iosDriverForWindows 0

    ios driver for windows 32 &64

  • CoolBatch 0

  • wanyor.github.io 0

    My Blog

More on GitHub
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • 关于如何量化及规范化网页的响应速度 at 2019年11月05日

    2.5.8.10 原则?

  • 有什么工具或框架可以对 Tcp 协议的接口进行新能测试的吗? at 2019年10月28日

    多线程和 socket

  • Linux 下连接了 9 台手机,只有 4 台手机 adb devices 能显示出来,其他手机开了 usb 调试等该做的都做了就是无法连接,然后拔了已连上的手机,之前未连上的可以连上,为什么连接数量都不到 10 台就有连接的问题? at 2019年10月25日

    供电的问题,之前我用的这个。一样的情况,建议用某东又一款叫西普莱的 USB2.0 的 hub,还不错,建议仅供参考。

  • Linux 下连接了 9 台手机,只有 4 台手机 adb devices 能显示出来,其他手机开了 usb 调试等该做的都做了就是无法连接,然后拔了已连上的手机,之前未连上的可以连上,为什么连接数量都不到 10 台就有连接的问题? at 2019年10月24日

    看上去像 hub 问题,发 hub 型号看下芯片方案

  • iOS 云真机实现原理 at 2019年10月18日

    AirPlay 协议呢?

  • Android 通过 VirtualXposed 进行 Charles https 抓包 at 2019年10月10日

    发现有款 OPPO A57 的机器不支持绕过,不知道啥原因

  • ca..原来 stf 还可以这么玩... at 2019年09月24日

    iOS 有个工具叫 ios_webkit_debug_proxy,可以转发 webkit 的 inspector 的 websocket,然后用 chrome 浏览器 devtools 连接调试。
    Android 可以用 adb forward 转发 webkit 的 inspector 的 websocket,然后用 chrome 浏览器 devtools 连接调试。
    不知道岩鼠是不是这个思路。

  • webview 研究踩到的坑 at 2019年09月11日

    Fat 也是 cdp 协议,走的 websocket

  • 对 Android 高中低端机型是如何界定的,想听听大家的想法~ at 2019年08月28日

    cpu 天梯图

  • Android SL4A 是不是已经停止维护了,目前项目的 github 地址看更新是 4年 前的 at 2019年08月28日

    早就不维护了

  • 执行 macaca 脚本时中断 scrcpy 的投屏解决方案 at 2019年08月18日

    adb 版本问题

  • 手机自动化测试集群的手机如何防止过充,有什么比较好的方案进行手机电池保护 at 2019年08月06日

    USB Hub 芯片最好的属 NEC,USB hub 2.0 的某宝有一款,芯片是 NEC μPD720114(已改名为瑞萨电子),配了 3A 的电源。

    某宝链接: https://item.taobao.com/item.htm?spm=a1z0d.6639537.1997196601.37.7e1674841AY5vA&id=548501983168

    3.0 的没找到,我之前买了一批 orico 3.0 的 hub(VIA 威盛电子),供电不足,7*24 压测 adb 老掉线,蛋疼死我了。

  • uiautomator 或者 android 要实现屏幕找图的功能,该怎么做啊 at 2019年07月02日

    opencv 模板匹配

  • 工具分享:自己写的移动 QA 小助手 at 2019年06月25日

    没看懂什么意思?没有用到 python

  • atxserver2 手机设备管理平台 重装上阵 at 2019年05月08日

    *#8011# 有问题,还不如,过 9 分钟调用下 adb shell echo online

  • 界面相似度比对算法实践 at 2019年03月20日

    链接在此:
    https://android.googlesource.com/platform/tools/swt/+/refs/heads/master/chimpchat/src/main/java/com/android/chimpchat/core/ChimpImageBase.java

    源码参考:

    @Override
        public boolean sameAs(IChimpImage other, double percent) {
            BufferedImage otherImage = other.getBufferedImage();
            BufferedImage myImage = getBufferedImage();
            // Easy size check
            if (otherImage.getWidth() != myImage.getWidth()) {
                return false;
            }
            if (otherImage.getHeight() != myImage.getHeight()) {
                return false;
            }
            int[] otherPixel = new int[1];
            int[] myPixel = new int[1];
            int width = myImage.getWidth();
            int height = myImage.getHeight();
            int numDiffPixels = 0;
            // Now, go through pixel-by-pixel and check that the images are the same;
            for (int y = 0; y < height; y++) {
                for (int x = 0; x < width; x++) {
                    if (myImage.getRGB(x, y) != otherImage.getRGB(x, y)) {
                        numDiffPixels++;
                    }
                }
            }
            double numberPixels = (height * width);
            double diffPercent = numDiffPixels / numberPixels;
            return percent <= 1.0 - diffPercent;
        }
    

    之前我写了个 Python 版本:

    依赖 pillow 模块,img_base 是旧图片路径,img_pre 是新图片路径

    def pic_diff(img_base, img_pre):
        im_base = Image.open(img_base, 'r')  
        # print im.size
        im_base = im_base.resize((8, 8), Image.ANTIALIAS).convert('L') 
        width = im_base.size[0]  
        height = im_base.size[1] 
        data_base = []  
        for h in range(0, height):  
            for w in range(0, width):  
                pixel = im_base.getpixel((w, h)) 
                data_base.append(pixel)
    
        im_pre = Image.open(img_pre, 'r')  
        # print im.size
        im_pre = im_pre.resize((8, 8), Image.ANTIALIAS).convert('L') 
        width = im_pre.size[0]  
        height = im_pre.size[1] 
        data_pre = []  
        for h in range(0, height):  
            for w in range(0, width):  
                pixel = im_pre.getpixel((w, h)) 
                data_pre.append(pixel)
        count = 0
        for x in xrange(0,64):
            if data_base[x] == data_pre[x]:
                    count = count + 1
        return count/(64.0)
    
  • 界面相似度比对算法实践 at 2019年03月16日

    谷歌 monkeyrunner 源码有个使用 RGB 值占比的算法,可以研究下😁

  • 求指教!! 爬取天眼查数据的时候,脚本运行一段时间,就会被天眼查的反爬取搞出来。怎么能躲过这个检测 at 2019年03月01日

    使用 http 代理可以完美搞定,之前爬过携程、艺龙等网站

  • 无障碍安装求解 at 2019年02月25日

    有个好处就是,不影响无障碍服务相关的东西

  • 无障碍安装求解 at 2019年02月23日
    仅楼主可见
  • 您有一份来自社区的礼物请查收 at 2019年01月09日

    已提交

  • 对测试而言,考什么证书含金量比较高 at 2019年01月04日

    PMP

  • [OPPO 深圳] 客官快来,海量职位,绝对有一款如你所需 [以下岗位长期有效] at 2018年11月13日

    已入职 OPPO?

  • 利用图像识别与 OCR 进行速度类测试 at 2018年11月13日

    手机公司注重体验,我们是 10 毫秒这样的颗粒度慢慢减少,能减就减

  • 做页面打开速度的自动化测试,为何最终获得的时间差距很大,新手求解 at 2018年11月13日

    录制屏幕,借用图像识别来实现

  • 上一页
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 下一页
  • 关于 / 活跃用户 / 中国移动互联网测试技术大会 / 反馈 / Github / API / 帮助推广
    TesterHome社区,测试之家,由众多测试工程师组织和维护的技术社区,致力于帮助新人成长,提高测试地位,推进质量发展。Inspired by RubyChina
    友情链接 WeTest腾讯质量开放平台 / InfoQ / 掘金 / SegmentFault / 测试窝 / 百度测试吧 / IT大咖说
    简体中文 / 正體中文 / English

    ©testerhome.com 测试之家   渝ICP备2022001292号
      渝公网安备 50022202000435号    版权所有 © 重庆年云聚力信息技术有限公司