• #5 楼 @qzhang 我说的是 RobotFramework 版本,和 RIDE 版本不同的。

  • Appium - WebView 测试 (Android) at 2015年07月24日

    不错的分享,简洁明了。

    有点小建议:
    封装的函数名称最好不要叫 switchToWindow,因为 webdriver 本来也有 window 这样的概念(对应浏览器里的多个窗口或者 tab),应该叫 switchToContext。

  • 同被标题骗进来了。。。

  • 太正点了!感谢分享!

  • 国内公司对 SaaS 的接受度还不高啊,总是觉得数据交给第三方不靠谱。。。
    译文不错,感谢分享。

  • 从贴出来的代码上看,是 variables__init__.py 文件缺失了一部分内容,而这一部分内容刚好是 iOSLibrary 依赖的(需要 import),所以 iOSLibrary 无法初始化。

    PS:我刚刚用 pip 安装了一次 robotframework,里面的 __init__.py 内容是有 GLOBAL_VARIABLES 部分的。我的版本是 robotframework-2.8.7,你可以看看你的 robotframework 安装是否有问题或者是不是版本太低。

  • Appium IOS 键盘隐藏出错 at 2015年07月23日

    #9 楼 @diao2007

    info: [debug] [INST] 2015-07-15 07:58:55 +0000 Debug: No keyboard found. Tapping to make visible.
    

    跑到这一步时在屏幕上有出现键盘吗?

  • fir.im Weekly - 我回来了 at 2015年07月22日

    vhf/free-programming-books 这个很正点,很全面的程序员需要阅读的编程资料合集。

  • CrashMonkey4iOS 试用过程总结 at 2015年07月22日

    #34 楼 @happy_sola 那些 log 也没有报错信息?例如 uiautomation log 和 iOS log 。

  • CrashMonkey4iOS 试用过程总结 at 2015年07月22日

    #35 楼 @joker 请看:

    $ bin/smart_monkey -h
    Usage: smart_monkey [options]
        -a app_name                      Bundle ID of the desired target on device(Required)
        -w device                        Target Device UDID(Required)
        -n run_count                     How many times monkeys run(default: 1)
        -d result_dir                    Where to output result(default: ./smart_monkey_result)
        -t time_limit_sec                Time limit of running
        -s dsym_file                     Use .dSYM file to symbolicating crash logs
        -c custom_path                   Configuration custom.js Path
        -e extend_javascript_path        Extend Uiautomation Javascript for such Login scripts
            --compress-result compress_rate
                                         compress the screenshot images to save disk space!(example: 50%)
            --detail-count detail_event_count
                                         How many events to show in detail result page(default 50)
            --show-config                Show Current Configuration custom.js
            --drop-useless-img           Delete the un-displayed images of detial page.
            --list-app                   Show List of Installed Apps in iPhone/iPhone Simulator
            --list-devices               Show List of Devices
            --reset-iPhone-Simulator     Reset iPhone Simulator
            --version                    print smart monkey version
    

    留意 -n run_count 参数

  • Infer 工具 Docker image 发布 at 2015年07月22日

    #11 楼 @huchao2307 windows 下可以配合 boot2docker 来使用 docker 。

  • 赞!写得很详细!

  • 1、麻烦使用 md 语法排版
    2、麻烦添加头像

  • 赞同 Monkey 观点。就像恒温之前说的,要专注。不要想做好每一件事,先想做好其中一件事,然后抛开其他事。

    不过我也没资格说这个。。。我现在也处在做得事情太杂的状态。。。

  • 赞!

    组织一次活动真的很辛苦的,而且通过活动能收获多少不是取决于组织者,而是取决于参加者。组织者的责任是让参加者能更好地参加活动,让活动顺利进行。至于参加者能否从活动中收获到自己想收获的,那是参加者的事,由参加者决定。毕竟没有任何 topic 能让所有 level 的人都完全听懂并收获良多,但也不会有任何 topic 让你听完和没听没任何区别。

    觉得没有任何收获的同学,或者觉得只值 50 元 票价的同学,麻烦想一下:为什么其他人愿意花 500 元,甚至 3000 元(我来回交通、住宿加大会票价接近 3k)过来参加?为什么其他人能收获不少,而你却没收获到多少?

  • appium 启动 问题 at 2015年07月18日
    1. 直接在浏览器打开 http://127.0.0.1:4723/wd/hub 看下是否提示 That URL did not map to a valid JSONWP resource。如果显示无法打开,那就是 appium server 没有成功监听到 4723 端口。
    2. 把 appium server 的地址改成 0.0.0.0:4723 再试试。
  • Infer 工具 Docker image 发布 at 2015年07月17日

    赞!Dockerfile 搞定后可以直接发个 PR 给 infer 官方了。

  • Appium IOS 键盘隐藏出错 at 2015年07月16日

    请看官方文档:
    https://github.com/appium/python-client#hiding-the-keyboard-in-ios

    最后提醒一次,请使用 md,把日志改为代码块:

    代码块
    

    不懂 md 的麻烦花几分钟看看 排版说明

  • Appium IOS 键盘隐藏出错 at 2015年07月16日

    #4 楼 @diao2007 另外,你这是 python 的语法吗?错误信息说得很明显了:

    hide_keyboard() got multiple values for keyword argument 'key_name'
    

    你调用 hide_keyboard() 的写法有问题。

  • Appium IOS 键盘隐藏出错 at 2015年07月16日

    #4 楼 @diao2007 不要以后。。。现在改不行吗?就几分钟的事情。

  • #23 楼 @monkey 擦。。。Monkey 阿姨别捣乱!

  • #19 楼 @laiyuncong8404 我是男生啊。。。那是他们起的绰号。。。
    #21 楼 @anikikun 你看,搞出误会了。。。

  • #11 楼 @diao2007 额,那就是你的解决方案是按照 github 那个 Issue 最后一个评论所说,把 send_keys 改成 type ?
    评论那么多,而且还有那么多日志,怎么找。。。直接把你的解决方案附到正文不是更清晰嘛。而且有些人看不懂英文的。。。

  • #9 楼 @honeybadger 。。。appiumForWindows 也可以通过命令行来控制的。。。
    例如你的 AppiumForWindows 放在 C:\appium 下,那么可以在命令行里敲下面的命令来启动 appium server:

    C:\Appium\node.exe C:\Appium\node_modules\appium\bin\appium.js
    

    效果和你用 npm 安装后使用 appium 命令启动是一样的。

    AppiumForWindows 只是把你原本要跑的命令用 GUI 来触发,并不是封杀了这条路。