测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • 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 2014年01月21日

    测试产品遇见网络中断时应该怎么处理 我之前做的一个产品有这种异常的捕获的用例。我们是通过拔网线,然后测试会不会弹出提示框提示用户网络不好的这种类似的用例。然后校验点,是重新接通网络后,数据能不能正常上传,上传的数据是不是损坏的,断网前上传的数据是否正确等等。

    你们可以用正式环境测啊,一次一分钱。。。

  • 求助:1.多指手势:touchCount 的设置;2.方向:ruby 里如何设置 app 的方向 at 2014年01月20日

    #13 楼 @twh_eastasia 我看了下,因为 remote.rb 把 Bridge 下面的代码都 private 了。 只有 rotatable.rb 才暴露了出来。

    require 'uri'
    
    require 'selenium/webdriver/remote/capabilities'
    require 'selenium/webdriver/remote/bridge'
    require 'selenium/webdriver/remote/server_error'
    require 'selenium/webdriver/remote/response'
    require 'selenium/webdriver/remote/commands'
    require 'selenium/webdriver/remote/http/common'
    require 'selenium/webdriver/remote/http/default'
    
    module Selenium
      module WebDriver
    
        # @api private
        module Remote
    
        end
      end
    end
    
    
    
    
    
  • 求助:1.多指手势:touchCount 的设置;2.方向:ruby 里如何设置 app 的方向 at 2014年01月20日

    #11 楼 @twh_eastasia 顶,我看了源码,好像是传 symbol 的。ruby 好像是实现了。但是 开放出来的 api

    在 bridge.rb 里面

    def setScreenOrientation(orientation)
             execute :setScreenOrientation, {}, :orientation => orientation
           end
    
           def getScreenOrientation
             execute :getScreenOrientation
           end
    
    

    这两个方法,感觉没用。

    rotation 方法是在 rotatable.rb 里面的

    def rotation=(orientation)
         unless ORIENTATIONS.include?(orientation)
           raise ArgumentError, "expected #{ORIENTATIONS.inspect}, got #{orientation.inspect}"
         end
    
         bridge.setScreenOrientation(orientation.to_s.upcase)
       end
       alias_method :rotate, :rotation=
    
  • 求助:1.多指手势:touchCount 的设置;2.方向:ruby 里如何设置 app 的方向 at 2014年01月20日

    @twh_eastasia

    When /^I set the orentation$/ do
        selenium.rotation = "PORTRAIT"
    end
    

    可以试试看这个么?

  • 如果你遇到 private method `capabilities' called for #<Hash:0x007fd6cd82bb48> (NoMethodError) at 2014年01月20日

    #1 楼 @twh_eastasia 哈哈 这个是我今天帮你看 orientation 的时候 发现的。坑爹。

  • 求助:1.多指手势:touchCount 的设置;2.方向:ruby 里如何设置 app 的方向 at 2014年01月20日

    #7 楼 @twh_eastasia 可以曲线救国,

    selenium.execute_script("target.setDeviceOrientation(UIA_DEVICE_ORIENTATION_LANDSCAPELEFT);");

    直接传 UIAutomation 的脚本过去。

    第一个问题,我没试过。等别人来回答吧。

  • 求助:1.多指手势:touchCount 的设置;2.方向:ruby 里如何设置 app 的方向 at 2014年01月20日

    #5 楼 @twh_eastasia 看了下,应该是 rubybinding 的 webdriver 还没做这些方法。

  • 求助:1.多指手势:touchCount 的设置;2.方向:ruby 里如何设置 app 的方向 at 2014年01月20日

    #2 楼 @twh_eastasia 你要实时改的话, setOrientation 方法应该可以啊

  • 求助:1.多指手势:touchCount 的设置;2.方向:ruby 里如何设置 app 的方向 at 2014年01月20日

    首先 Orientation 应该都支持的,可以在 caps 里面设置。你可以试试看,
    第二,确保你的 app 支持 Orientation

    
    def capabilities
      {
        'browserName' => '',
        'platform' => 'Mac',
        'device' => 'iPhone Simulator',
        'version' => '6.0',
        'app' => absolute_app_path,
         'deviceOrientation'=> 'LANDSCAPE'
      }
    end
    
    
  • 求助:1.多指手势:touchCount 的设置;2.方向:ruby 里如何设置 app 的方向 at 2014年01月20日

    贴代码呗,别截图。

  • [已解决] 运行范例,提示 could not make strings from apk at 2014年01月20日

    @roro 你可以用 4.2.2 的 模拟器 试试看么?

  • [已解决] 运行范例,提示 could not make strings from apk at 2014年01月20日

    但我看你的日志,没有去运行手机上的 apk 啊。。。 你看代码里是这样的:

    desired_caps['app'] = PATH('../../../sample-code/apps/ContactManager/ContactManager.apk')

    你确定你运行的时候,能找到这个 apk 么?

  • [已解决] 运行范例,提示 could not make strings from apk at 2014年01月20日

    你是怎么运行的?能描述下么

  • 大众点评网开发测试招聘信息 at 2014年01月16日

    目前为止,写的最有诚意的面试贴了,加精~

  • 有什么可以抓取 iOS 模拟器网络数据的方法没? at 2014年01月16日

    #14 楼 @seveniruby 只支持 chrome 这类浏览器吧

  • 有什么可以抓取 iOS 模拟器网络数据的方法没? at 2014年01月16日

    #12 楼 @guo 有两种提醒 关注贴提醒和 @ 回帖。 我回头看看。

  • 有什么可以抓取 iOS 模拟器网络数据的方法没? at 2014年01月16日

    #10 楼 @guo 回帖提醒应该有的啊

  • UiAutomator 中文输入实现 at 2014年01月15日

    #5 楼 @xiscoxu 可以在公开课上关于录制工具能做些分享么?

  • UiAutomator 中文输入实现 at 2014年01月15日

    赞,加个头像吧~

  • 征集 TesterHome T-shirt Logo at 2014年01月15日

    Yeah, go for it! Also, can you make sure to send me any links to the events you are going to speak at? Then I can tweet them out from the main Appium account.

    Thanks,
    Jonathan

    On Jan 14, 2014, at 4:57 PM, "TesterHome in China" testerhome@126.com wrote:

    Hello jipps,

    We are testerhome.com. We'd like to customize some T-shirts to give people as a present when we have some talks about Appium in China.
    We'd like to know if we can use the appium logo ? Like the picture below:

  • Appium 不能成功测试 release 版本的 app 么,mobile automation 小白求助? at 2014年01月15日

    #6 楼 @xiscoxu UIAutomation 吧

  • 有什么可以抓取 iOS 模拟器网络数据的方法没? at 2014年01月15日

    http://blog.csdn.net/horkychen/article/details/11822657 这个讲的蛮细的。
    不过我觉得如果不能越狱的话或者 root 的话,还是 fiddler 或者 使用 pc 机器做热点代理,监控 pc 流量比较好。

  • 征集 TesterHome T-shirt Logo at 2014年01月15日

    已经联系 jipps,争取能拿到授权。

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

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