测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
新手
huang053117 (洒大目)
第 9874 位会员 / 2016-06-21
0 篇帖子 • 37 条回帖
1 关注者
5 正在关注
19 收藏
未设置 GitHub 信息.
  • 個人信息
  • 個人專欄
  • 帖子
  • 回帖
  • 收藏
  • 正在關注
  • 關注者
  • 扩展 Python 的 unittest 框架 at 2017年11月02日

    棒

  • python+monkey+ 监控 crash,性能统计 at 2017年08月01日
    multiprocessing.pool.RemoteTraceback: 
    """
    Traceback (most recent call last):
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/pool.py", line 119, in worker
        result = (True, func(*args, **kwds))
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
        return list(map(*args))
      File "/Users/a/自动化相关/monkeyTest-master/monkeyTest.py", line 100, in start
        mkdirInit(devices, app, num)
      File "/Users/a/自动化相关/monkeyTest-master/monkeyTest.py", line 67, in mkdirInit
        app[devices] = {"cpu": cpu, "men": men, "flow": flow, "battery": battery, "fps": fps, "header": get_phome(devices)}
      File "/Users/a/自动化相关/monkeyTest-master/monkeyTest.py", line 41, in get_phome
        bg = BasePhoneMsg.get_phone_Kernel(devices)
      File "/Users/a/自动化相关/monkeyTest-master/Base/BasePhoneMsg.py", line 43, in get_phone_Kernel
        pix = get_app_pix(devices)
      File "/Users/a/自动化相关/monkeyTest-master/Base/BasePhoneMsg.py", line 39, in get_app_pix
        return  subprocess.check_output(cmd).split()[2].decode()
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 336, in check_output
        **kwargs).stdout
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 403, in run
        with Popen(*popenargs, **kwargs) as process:
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 707, in __init__
        restore_signals, start_new_session)
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1326, in _execute_child
        raise child_exception_type(errno_num, err_msg)
    FileNotFoundError: [Errno 2] No such file or directory: 'adb -s 5ae50462 shell wm size'
    """
    

    报这个错是什么原因

  • 微信朋友圈列表评论的样式错乱 at 2017年03月27日

    阿拉伯文是从右往左的人应该跟这个有关

  • [授客] 基于 python+Testlink+Jenkins 实现的接口自动化测试框架 V3.0 at 2017年03月22日

    有最新的代码吗?

  • 腾讯 WeTest & TesterHome 手游测试沙龙 at 2017年03月17日

    好谢谢 期待

  • 用 ATX 进行简单的功能冒烟 at 2017年03月17日

    嗯嗯 向你学习

  • 用 ATX 进行简单的功能冒烟 at 2017年03月17日

    关键是加入出现了问题 是不是发现不了

  • 用 ATX 进行简单的功能冒烟 at 2017年03月17日

    你写的这个用例如何判断结果?验证对不对

  • 用 ATX 进行简单的功能冒烟 at 2017年03月17日

    3q

  • ATX 系列 - 如何测试网易游戏阴阳师 (Android 篇) at 2017年03月17日

    unity 游戏支持吗?有什么办法

  • 用 ATX 进行简单的功能冒烟 at 2017年03月17日

    unity3d 游戏可以用吗

  • 腾讯 WeTest & TesterHome 手游测试沙龙 at 2017年03月17日

    演讲会有录像吗?课件会公开吗?

  • TesterHome 新秀培养计划 at 2017年02月06日

    hi 我叫大目,qq:541480386,目前正在换工作,工作不到 6 年,兴趣方向:移动自动化、测试开发

  • [北京-国贸] 罗辑思维得到-大数据测试、移动端测试开发和服务端测试岗位招聘 at 2016年12月22日

    还在招吗

  • (08-21) TesterHome 杭州首届线下测试沙龙活动的那些翩翩思绪 at 2016年08月24日

    有个提议,可不可以现场通过直播播一下

  • [基于 Node.js 的自动化测试-Macaca] - Macaca 支持 Node.js, Java 和 Python at 2016年08月22日

    #12 楼 @xdf 已提

  • [基于 Node.js 的自动化测试-Macaca] - Macaca 支持 Node.js, Java 和 Python at 2016年08月22日

    #10 楼 @xdf 可以帮忙看下这个问题吗

    Traceback (most recent call last):
      File "/Users/huangzhigang/Documents/macaca-test-sample-python/macaca-desktop-sample.test.py", line 3, in <module>
        from macaca import WebDriver
      File "/Library/Python/2.7/site-packages/macaca/__init__.py", line 25, in <module>
        from .webdriver import WebDriver
      File "/Library/Python/2.7/site-packages/macaca/webdriver.py", line 697
        *, asserter=lambda x: x):
         ^
    SyntaxError: invalid syntax
    
  • [基于 Node.js 的自动化测试-Macaca] - Macaca 支持 Node.js, Java 和 Python at 2016年08月19日

    #7 楼 @huang053117 7 楼的问题解决了,但是 py 运行出错

    Traceback (most recent call last):
      File "/Users/huangzhigang/Documents/macaca-test-sample-python/macaca-desktop-sample.test.py", line 3, in <module>
        from macaca import WebDriver
      File "/Library/Python/2.7/site-packages/macaca/__init__.py", line 25, in <module>
        from .webdriver import WebDriver
      File "/Library/Python/2.7/site-packages/macaca/webdriver.py", line 697
        *, asserter=lambda x: x):
         ^
    SyntaxError: invalid syntax
    
    
  • [基于 Node.js 的自动化测试-Macaca] - Macaca 支持 Node.js, Java 和 Python at 2016年08月19日
    Collecting wd (from -r requirements.txt (line 1))
      Downloading wd-0.1.1.zip
    Requirement already satisfied (use --upgrade to upgrade): requests in /Library/Python/2.7/site-packages/requests-2.10.0-py2.7.egg (from wd->-r requirements.txt (line 1))
    Collecting retrying (from wd->-r requirements.txt (line 1))
      Downloading retrying-1.3.3.tar.gz
    Collecting six>=1.7.0 (from retrying->wd->-r requirements.txt (line 1))
      Downloading six-1.10.0-py2.py3-none-any.whl
    Installing collected packages: six, retrying, wd
      Found existing installation: six 1.4.1
        DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
        Uninstalling six-1.4.1:
    Exception:
    Traceback (most recent call last):
      File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/basecommand.py", line 215, in main
        status = self.run(options, args)
      File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/commands/install.py", line 317, in run
        prefix=options.prefix_path,
      File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_set.py", line 736, in install
        requirement.uninstall(auto_confirm=True)
      File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_install.py", line 742, in uninstall
        paths_to_remove.remove(auto_confirm)
      File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
        renames(path, new_path)
      File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/utils/__init__.py", line 267, in renames
        shutil.move(old, new)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
        copy2(src, real_dst)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
        copystat(src, dst)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
        os.chflags(dst, st.st_flags)
    OSError: [Errno 1] Operation not permitted: '/tmp/pip-rPKRKF-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'
    
    

    pip install -r requirements.txt 这步报错,请问是什么情况

  • [北京] 今日头条招聘高级测试工程师与测试 Leader at 2016年08月15日

    还在招吗?

  • 分享一个自用的 Android 自动化 Monkey 工具 (更新 2016-08-16:支持 windows) at 2016年08月12日

    #32 楼 @michael_wang python /Users/huangzhigang/Documents/monkey_android/performance/monkey/monkey_server.py
    这样执行的

  • 分享一个自用的 Android 自动化 Monkey 工具 (更新 2016-08-16:支持 windows) at 2016年08月12日

    #29 楼 @qinqin 先 control+z 结束,我这里过了一小会就结束了

  • 分享一个自用的 Android 自动化 Monkey 工具 (更新 2016-08-16:支持 windows) at 2016年08月12日

    #26 楼 @qinqin 客气啦

  • 分享一个自用的 Android 自动化 Monkey 工具 (更新 2016-08-16:支持 windows) at 2016年08月12日

    #25 楼 @michael_wang 我更新了以后有个问题,输入命令执行后,只输出了一句日志,不动了就

    2016-08-12 12:24:39,894 INFO | start --[monkey_server.py:20]

  • 分享一个自用的 Android 自动化 Monkey 工具 (更新 2016-08-16:支持 windows) at 2016年08月12日

    #21 楼 @qinqin 更新一下 github,看我楼上的几条就知道了

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

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