测试之家
  • Topics
  • QA
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • Sign Up
  • Sign In
版主
Lihuazhang (恒温)
第 110 位Users / 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
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • appium mac 下面安装问题 at December 05, 2013

    https 你访问不了

  • Appium Android 如何截图?求 java 代码 at December 05, 2013
    @Test(enabled = false)
    public void testScreenshot() {
        //make screenshot and get is as base64
        WebDriver augmentedDriver = new Augmenter().augment(driver);
        String screenshot = ((TakesScreenshot) augmentedDriver).getScreenshotAs(OutputType.BASE64);
    
        assertNotNull(screenshot);
        //make screenshot and save it to the local filesystem
        File file = ((TakesScreenshot) augmentedDriver).getScreenshotAs(OutputType.FILE);
        assertNotNull(file);
    }
    

    试试看。

  • 发起维护 appium.cn 的活动 at December 04, 2013

    本地调试方法:

    ➜  appium.io git:(master) jekyll serve
    Configuration file: none
                Source: /Users/Apple/code/appium.io
           Destination: /Users/Apple/code/appium.io/_site
          Generating... done.
        Server address: http://0.0.0.0:4000
      Server running... press ctrl-c to stop.
    
  • appium windows 环境测试 Android 程序,脚本该怎么写才能让程序调用手机里已经安装好的应用,而不是调用新的应用? at December 03, 2013

    同学们,加个头像吧

  • [已解决]在 Appium 自动化测试时如何输入中文? at December 03, 2013

    #3 楼 @spikeshen 哦 这个问题 我一开始也发现了。 特别是在国内的各种机器上,默认输入法不同,会造成各式各样的问题。

  • [已解决]在 Appium 自动化测试时如何输入中文? at December 03, 2013

    有需要输入中文的代码片段么? 看看?

  • 求 Objective C 代码写的 Appium 自动化测试 Demo!!! at December 03, 2013

    #4 楼 @xrj277427509 的确 appium 还在发展中,很多案列都缺少。

  • Android Activity 测试指南 at December 02, 2013

    #1 楼 @monkey 不是就是官网的测试文章

  • 求 Objective C 代码写的 Appium 自动化测试 Demo!!! at December 02, 2013

    http://blog.appium.io/selenium-obj-c/ 看下这个。 其实就是 webdriver 不同的实现而已。你可以找一个 OC 实现的 webdriver bingding,然后进行 sample 代码的改造。 如果有所收获,欢迎向我们或者官方代码库 提出 merge request

  • 百度 MTCClient 的录制回放初步研究 at December 02, 2013

    #1 楼 @seveniruby 邀请他加入论坛吧

  • 菜鸟提问,关于安装 appium 和如何进行测试 at November 29, 2013

    先看下文档吧?然后精华帖里面有很多 windows 下如何使用 appium 的帖子。

  • mac 下面针对于一个 app 里面的元素的 xpath 需要使用什么工具才能看到呢? at November 29, 2013

    Appium 支持一个 Webdriver 元素定位方法的子集

    find by "tag name" (i.e., 通过 UI 的控件类型)
    find by "name" (i.e., 通过元素的文本, 标签, 或者开发同学添加的 id 标示, 比如 accessibilityIdentifier)
    find by "xpath" (i.e., 具有一定约束的路径抽象标示, 基于 XPath 方式)

  • mac 下面针对于一个 app 里面的元素的 xpath 需要使用什么工具才能看到呢? at November 29, 2013

    建议通读,https://github.com/appium/appium/blob/master/docs/cn/finding-elements.cn.md。不过其实就是普通的 xpath。和 网页的差不多。
    和https://github.com/appium/appium/tree/master/docs/cn这里的文档。

  • Appium 文档翻译 at November 29, 2013

    还有 10 篇~

  • mac 下面,node your-appium-test.js 中的这个 js 是个什么文件? at November 29, 2013

    就是 用 nodejs 写的测试用例。 你可以用别的语言来写。 比如你的测试用例使用 python 写的,那就是python your-appium-test.py

  • iOS Automated Testing in the BDD with Cucumber, Appium and SauceLabs at November 28, 2013

    #2 楼 @whuiscool 没啥不同吧,本质是一样的。

  • 如何模拟安卓手机上的返回键呢? at November 27, 2013

    #2 楼 @shery_zhang2012 了解,谢谢。appium 封装的东西还是不太多。

  • Appium 怎么知道被测的程序是不是崩溃退出了? at November 27, 2013

    #2 楼 @guo initial conditions test 是 Android 测试里面用的,就是 check 一些最基本的应用对象,来确保之后的测试是否有意义。

    其实可以去 appium 的 Google group 问下,我估计没有什么好的解决方法。 @seveniruby

  • Appium 怎么知道被测的程序是不是崩溃退出了? at November 27, 2013

    I feel like we see this message for other reasons too, like the app isn't compiled correctly. Also, restarting the app doesn't necessarily put it into a state where the test can continue. If the app crashes or dies, I think we should end the session and 500 the currently request.

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

  • Appium 怎么知道被测的程序是不是崩溃退出了? at November 27, 2013

    用 initial conditions test?
    报错的时候,先捕获异常,然后看下被测程序是否已经异常退出了,如果退出了,就自定义自己的异常,否则就抛出捕获的异常?

  • 如何模拟安卓手机上的返回键呢? at November 27, 2013

    看这个 cl, https://github.com/appium/appium/pull/309, 应该已经有 back 的方法了。
    不过,应该可以发送事件,

    看这个帖子,https://groups.google.com/forum/#! topic/appium-discuss/qqNSerBYLrY

    具体的事件对应的 code 可以看:
    http://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_HOME

    driver.execute_script("mobile: keyevent", {"keycode":4})
    

    估计是这样,我没实践过, 你看看? 有结果和我们说下~

  • appium 运行 python 脚本 bug at November 26, 2013

    #6 楼 @leopold https://github.com/testerhome/appium/blob/master/docs/cn/running-on-windows.cn.md 文档里说了要用 ANDROID_HOME 诶,建议还是按照文档设置环境变量, appium 里面可能会用到。

  • 目前最全的 appium 中文教程 at November 25, 2013

    @seveniruby 可以放出去了吧?

  • appium 入门疑问 at November 22, 2013

    建议看看 http://testerhome.com/topics/185,论坛里其实有很多帖子了。

  • 目前最全的 appium 中文教程 at November 22, 2013

    期待能按照找个提纲出一个视频。

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

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