测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
新手
264768502 (阳光下的草)
第 10582 位会员 / 2016-07-22
2 篇帖子 • 137 条回帖
4 关注者
0 正在关注
4 收藏
打赏支持
GitHub Public Repos
  • adb_wrapper 41

    A Python wrapper for adb command (Windows/Linux) based on subprocess

  • NetBooter_Control 2

    This a python script which can control NetBooter NP-05B

  • qiandao 1

    kanzhun/haodou/u-share 自动签到

  • zapif 0

    Algebraically remove C preprocessor conditionals

  • xmltojson 0

    Cli tool and Python module to convert XML to JSON

  • LogView 0

  • goproxy 0

    🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server i...

  • DeepLearningExamples 0

    Deep Learning Examples

  • demjson 0

    Python module for JSON data encoding, including jsonlint. See the project Wiki here on Github. ...

  • git-commit-plugin 0

    Automatically generate git commit

More on GitHub
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • python 小项目实践 at 2017年02月10日

    把拿到的网页转换成 unicode,再用正则去匹配.
    其实推荐还是用 requests 的库,交给它去猜网页的编码,然后直接拿 response.text 就可以获得 unicode 的网页.
    正则是支持中文的

  • UiAutomator 2.0 中文输入问题 at 2017年01月20日

    按 back 键隐藏吧

  • python 中如何实现字符串传递 kwargs 的变量呢 at 2017年01月17日

    把 a=11;b=22 变成字典,比如叫 conf_dict,(可以用字典的 update 方法来自己定义 key(a) 和 value(11)
    然后 A(userid, **conf_dict)

  • 脚本执行过程中重复 quit () 该怎么解决呢? at 2017年01月17日

    你用标准的 python unittest 还是用什么?
    正常来说,一般的 unittest 框架
    setup -> case -> teardown
    基本无论 case 发生什么情况,都会执行 teardown 的.
    就算 case 有异常,也会抛出来,继续测别的 case,不会因此中断

  • 脚本执行过程中重复 quit () 该怎么解决呢? at 2017年01月17日

    你既然在 teardown 里有 quit 了,什么在 case 里还要 quit?

  • 基于 python+adb 的部分自动化测试代码 at 2017年01月13日

    小小的建议
    没缩进不能看,不如贴 gist
    单纯的 adb 的封装有很多人写了
    比如我 (# 厚脸皮) https://github.com/264768502/adb_wrapper
    比如这贴: https://testerhome.com/topics/6938

    如果要处理 UI 的话,其实有现成的,比如 pyuiautomator 或者 Appium

  • 使用 python 版本的 uiautomator 编写好了测试用例,如何连接真机进行调试 at 2017年01月09日

    这个 https://github.com/xiaocong/uiautomator ?
    直接先用 adb 连上真机,然后通过 adb devices 获得 SN
    如果是 USB 的话,SN 就是 XXXXXXXX
    如果是网络的话,SN 就是 XXX.XXX.XXX.XXX:5555
    然后
    from uiautomator import Device
    d = Device(SN)

  • 分享一个常用 Adb 命令 at 2016年12月30日

    共勉
    https://github.com/264768502/adb_wrapper

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

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