测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
新手
ljzhangi (莫白)
第 9630 位会员 / 2016-06-08
ISoftStone -> iHealth -> 小米 @ 北京
1 篇帖子 • 4 条回帖
0 关注者
10 正在关注
15 收藏
GitHub Public Repos
  • LaunchTimeTest 5

    借用appium实现对app的启动时间的自动化测试

  • CS-Notes 0

    :books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计、Java、Python、C++

  • system-design-primer 0

    Learn how to design large-scale systems. Prep for the system design interview. Includes Anki fla...

  • intelligent-test-platform 0

    intelligent-test-platform

  • JsonCompare 0

    The Python JSON Comparison package

  • ResumeSample 0

    Resume template for Chinese programmers . 程序员简历模板系列。包括PHP程序员简历模板、iOS程序员简历模板、Android程序员简历模板、Web前端程...

  • interview_python 0

    关于Python的面试题

  • eoLinker-AMS-Lite-For-... 0

    中国最大的API接口管理平台,3.x开源发行版,支持多国语言[英语、简体中文、繁体中文]

  • HttpRunner 0

    One-stop solution for HTTP(S) testing.

  • awesome-python 0

    A curated list of awesome Python frameworks, libraries, software and resources

More on GitHub
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
Leorx_
  • 热门话题
  • 最近回帖
  • 移动性能测试 请问有什么 jar 包可以用于解析 Har 文件,生成 H5 的 html 格式的性能结果
    0 个赞 / 2 条回复
  • appium 找 toast 提示 报错 selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: read ECONNRESET at 2018年04月23日

    你把 io.appium.uiautomator2.server, io.appium.uiautomator2.server.test 这两个 apk 重新安装一下试试

  • 请问有什么 jar 包可以用于解析 Har 文件,生成 H5 的 html 格式的性能结果 at 2018年04月17日

    自己写了一个简单的 HTML😂

  • APPIUM+python 用 excel 自动读取数据的总是重复读取好几行,有大佬来看看吗 at 2018年04月16日
    for rownum in range(1, nrows):
        row = table.row_values(rownum)
        print row
        if row:
            app = {}
            for i in range(len(colnames)):
                app[colnames[i]] = row[i]
                print app
            # 这里从for移出来,不然重复添加了
            list.append(app)
    

    这么写的不费劲吗?直接用 zip() 就可以生成带 Excel title 的字典。

    for rownum in range(1, nrows):
        row = table.row_values(rownum)
        print row
        if row:
            app = dict(zip(colnames, row))
            # 这里从for移出来,不然重复添加了
            list.append(app)
    
  • # 每日一道面试题 # 写一个方法,把字符串转为数字,比如 str="1234",变成 int 1234。 at 2018年03月16日

    我遇到过同样的面试题😂

    import re
    
    def string2int01(string):
        result = 0
        sign = 0
        temp = 0
        if string[0] == '-':
            sign = 1
        for str in string[::-1]:
            if str in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']:
                result += int(str) * (10 ** temp)
                temp += 1
        if sign == 1:
            result = 0 - result
        return result
    
    def string2int02(string):
        result = 0
        aim = re.findall('[0-9]+', string)
        size = len(aim) - 1
        for i in range(size, -1, -1):
            result += int(aim[i]) * (10 ** (size - i))
        if string[0] == '-':
            result = 0 - result
        return result
    
关于 / 活跃用户 / 中国移动互联网测试技术大会 / 反馈 / Github / API / 帮助推广
TesterHome社区,测试之家,由众多测试工程师组织和维护的技术社区,致力于帮助新人成长,提高测试地位,推进质量发展。Inspired by RubyChina
友情链接 WeTest腾讯质量开放平台 / InfoQ / 掘金 / SegmentFault / 测试窝 / 百度测试吧 / IT大咖说
简体中文 / 正體中文 / English

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