测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
版主
Lihuazhang (恒温)
第 110 位会员 / 2013-10-21
阿里巴巴 @ 上海
405 篇帖子 • 7860 条回帖
2537 关注者
33 正在关注
33 收藏
人生很多事情你也已经经历了。从我们35岁开始,到60岁、70岁,也就是经历一些生老病死的日常事情。加油!
打赏支持
GitHub Public Repos
  • ai-agents-with-llama3 12

  • lihuazhang.github.com 9

    my blog

  • juit5-json-params 7

    juit5-json-params

  • MediaCrawler 1

    小红书笔记 | 评论爬虫、抖音视频 | 评论爬虫、快手视频 | 评论爬虫、B 站视频 | 评论爬虫、微博帖子 | 评论爬虫

  • javascript-algorithms 1

    Algorithms and data structures implemented in JavaScript with explanations and links to further r...

  • ahchoo 1

    test for cloudfoundry

  • AutoClick 1

    基于Robotium的自动遍历方案

  • UI-Testing-Cheat-Sheet 1

    How do I test this with UI Testing?

  • revolt-fx 0

  • letsmove 0

More on GitHub
  • 個人信息
  • 個人專欄
  • 帖子
  • 回帖
  • 收藏
  • 正在關注
  • 關注者
  • 深度学习基础 (二十三)-- 科普:深度学习业务场景与原理概览 (三) at 2018年05月29日

    上传社区的图片会打水印

  • 寻觅参加 MTSC 的小伙伴,一起团票~~ at 2018年05月28日

    你是哪个地区的?

  • UCloud 正式成为 TesterHome 的赞助商 at 2018年05月28日

    是啊 怀着感恩的心

  • 求软件测试或项目管理相关工作,坐标 西安 at 2018年05月27日

    给出你的简历

  • 每日一题之 http 和 https 有社么区别,测试关注的点是啥? at 2018年05月27日

    回答的太赞了

  • VM Centos7 根目录如何扩容 at 2018年05月25日

    看你怎么分区了。这个百度帖子一大把。我记得如果是 lvm 的话,非常方便。

  • appium 新人报错 at 2018年05月25日

    看来你对 android 了解很少。找你们的开发看下吧。

  • appium 新人报错 at 2018年05月25日

    手动执行 '/Users/zhangyang/Library/Android/sdk/platform-tools/adb -P 5037 -s 95d2e08b shell pm clear com.lianjia.home' 看看

  • AirtestIDE 支持 Web 测试! at 2018年05月23日

    是的

  • 为啥 testerhome 记事本创建第一个标题是居中的? at 2018年05月22日

    有空修改下

  • 关于大学应届生准备进入测试行业的一些困惑 at 2018年05月22日

    我和你的想法一样,年轻人要做更加有创新的东西。当然不是说测试行业没有创新,只是当前的测试行业相对缺乏创新。

  • 为啥 testerhome 记事本创建第一个标题是居中的? at 2018年05月22日
    #notes .markdown h2:first-child {
        text-align: center;
    }
    

    可以说 by design 不?

  • 成都首届测试沙龙 TesterHome & 客如云合办 [ChengDu Tester Salon] at 2018年05月21日

    加油

  • appium 连接不上服务 ~求助,非常感谢 at 2018年05月20日

    telnet 看看通不通

  • 深度学习基础 (二十三)-- 科普:深度学习业务场景与原理概览 (三) at 2018年05月20日

    高飞总,最近社区被广告贴 flood,能不能一起来设计个模型,来自动识别广告贴?用特征建模或者离群点,都可以

  • 要不然出个举报功能把。。那些刷广告的。。。 at 2018年05月19日

    正在想办法如何防止,关键这些家伙遵守了规则。。

  • iOS 真机未实现 push_file?& 如何通过 libimobiledevice or ios-deploy 关闭指定 app at 2018年05月19日
    
    /**
     * Save the given base64 data chunk as a binary file on the device under test.
     * ifuse/osxfuse should be installed and configured on the target machine in order
     * for this function to work properly. Read https://github.com/libimobiledevice/ifuse
     * and https://github.com/osxfuse/osxfuse/wiki/FAQ for more details.
     *
     * @param {Object} device - The device object, which represents the device under test.
     *                          This object is expected to have the `udid` property containing the
     *                          valid device ID.
     * @param {string} remotePath - The remote path on the device. This variable can be prefixed with
     *                              bundle id, so then the file will be uploaded to the corresponding
     *                              application container instead of the default media folder, for example
     *                              '@com.myapp.bla/RelativePathInContainer/111.png'. The '@' character at the
     *                              beginning of the argument is mandatory in such case.
     * @param {string} base64Data - Base-64 encoded content of the file to be uploaded.
     */
    async function pushFileToRealDevice (device, remotePath, base64Data) {
      await verifyIFusePresence();
      const mntRoot = await tempDir.openDir();
      let isUnmountSuccessful = true;
      try {
        let dstPath = path.resolve(mntRoot, remotePath);
        let ifuseArgs = ['-u', device.udid, mntRoot];
        if (remotePath.startsWith(CONTAINER_PATH_MARKER)) {
          const [bundleId, pathInContainer] = await parseContainerPath(remotePath, mntRoot);
          dstPath = pathInContainer;
          log.info(`Parsed bundle identifier '${bundleId}' from '${remotePath}'. ` +
                   `Will put the data into '${dstPath}'`);
          ifuseArgs = ['-u', device.udid, '--container', bundleId, mntRoot];
        } else {
          verifyIsSubPath(dstPath, mntRoot);
        }
        await mountDevice(device, ifuseArgs);
        isUnmountSuccessful = false;
        try {
          if (!await fs.exists(path.dirname(dstPath))) {
            log.debug(`The destination folder '${path.dirname(dstPath)}' does not exist. Creating...`);
            await mkdirp(path.dirname(dstPath));
          }
          await fs.writeFile(dstPath, Buffer.from(base64Data, 'base64').toString('binary'), 'binary');
        } finally {
          await exec('umount', [mntRoot]);
          isUnmountSuccessful = true;
        }
      } finally {
        if (isUnmountSuccessful) {
          await fs.rimraf(mntRoot);
        } else {
          log.warn(`Umount has failed, so not removing '${mntRoot}'`);
        }
      }
    }
    
  • iOS 真机未实现 push_file?& 如何通过 libimobiledevice or ios-deploy 关闭指定 app at 2018年05月19日

    https://testerhome.com/topics/555

  • appium 无法切换到 webview,error: Chromedriver: Error: An unknown server-side error occurred while processing the command. (Original error: unknown error: Device d3099932 is not online at 2018年05月16日

    https://github.com/appium/appium/issues/7110

  • TesterHome -招聘-城市标签 ,分页显示错误 at 2018年05月16日

    by design

  • TesterHome -招聘-城市标签 ,分页显示错误 at 2018年05月15日

    啥问题?

  • Android Log.*陷阱 at 2018年05月15日

    666

  • 如何测试数据同步? at 2018年05月14日

    你得说明白同步机制是怎么做的

  • testerhome,点击上方导航栏的招聘,网页 title 显示的是 bug 曝光台 at 2018年05月11日

    😲 快来修复

  • Maven 下载太慢?看这里 at 2018年05月10日

    用阿里云的挺快的

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

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