测试之家
  • Topics
  • QA
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • Sign Up
  • Sign In
版主
Lihuazhang (恒温)
第 110 位Users / 2013-10-21
阿里巴巴 @ 上海
405 篇帖子 • 7845 条回帖
2532 关注者
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
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • 征集 TesterHome T-shirt Logo at January 23, 2014

  • 征集 TesterHome T-shirt Logo at January 23, 2014

  • 【已解决】请问哪位大神解答下在 windows 下怎么启动真机运行测试脚本 at January 23, 2014

    #22 楼 @hwm831002 哦,忘记和你说,只支持 mac 的。。。

  • 【已解决】请问哪位大神解答下在 windows 下怎么启动真机运行测试脚本 at January 23, 2014

    #19 楼 @hwm831002 你要在模拟器或者机器上启动应用先

  • 【已解决】请问哪位大神解答下在 windows 下怎么启动真机运行测试脚本 at January 23, 2014

    #13 楼 @hwm831002 2003 建议你 google 下?

  • 【已解决】请问哪位大神解答下在 windows 下怎么启动真机运行测试脚本 at January 23, 2014

    #11 楼 @hwm831002 手机的驱动要装呀。 你装个百度手机助手试试看。现在这些手机助手都能认出你的手机来

  • 【已解决】请问哪位大神解答下在 windows 下怎么启动真机运行测试脚本 at January 23, 2014

    #9 楼 @hwm831002 没有啊。。。

    这种算。

  • 【已解决】请问哪位大神解答下在 windows 下怎么启动真机运行测试脚本 at January 23, 2014

    #7 楼 @hwm831002 被 adb 认出来就可以了

  • 【已解决】请问哪位大神解答下在 windows 下怎么启动真机运行测试脚本 at January 22, 2014

    那是驱动的问题了。。。

  • UiAutomator 中文输入实现 at January 22, 2014

    #11 楼 @guris_xie http://testerhome.com/topics/419 试试看这个

  • 【已解决】请问哪位大神解答下在 windows 下怎么启动真机运行测试脚本 at January 22, 2014

    和系统无关啊,这个论坛里都有解答的。 关键只有两点:

    1. 确保你的真机连上并被认出来了。 这个用 adb devices 就可以确认
    2. 确保你的 appium 连接的是你的真机, 这个的话,如果你不开模拟器的话,基本找的是你的真机。
  • 工作的点点滴滴。(保持更新) at January 22, 2014

    第一个例子,我也遇到过。。

  • 有没有人写过“测试产品遇见网络中断时应该怎么处理”的用例? at January 21, 2014

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

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

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

    #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 January 20, 2014

    #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 January 20, 2014

    @twh_eastasia

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

    可以试试看这个么?

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

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

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

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

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

    直接传 UIAutomation 的脚本过去。

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

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

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

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

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

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

    首先 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 January 20, 2014

    贴代码呗,别截图。

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

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

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

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

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

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

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

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