测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
高级会员
xiaomayi0323 (唐僧之妈)
第 191 位会员 / 2013-11-14
西安纽扣软件有限公司 @ 西安
10 篇帖子 • 307 条回帖
13 关注者
5 正在关注
175 收藏
GitHub Public Repos
  • musically-tiktok-api-p... 3

    Musically ( Tiktok ) api python open source free...

  • auto-ssl 1

  • aimoneyhunter 1

    ai副业赚钱大集合,教你如何利用ai做一些副业项目,赚取更多额外收益。The Ultimate Guide to Making Money with AI Side Hustles: Learn...

  • moyu 1

    100个摸鱼小游戏、小工具源码集合及在线演示

  • appuploader 1

    Appuploader-iOS APP on the shelves Quickly create an iOS certificate upload IPA to the App Store

  • faceai 1

    一款入门级的人脸、视频、文字检测以及识别的项目.

  • show-me-the-code 1

    Python 练习册,每天一个小程序

  • aigcpanel 0

    AigcPanel 是一个简单易用的一站式AI数字人系统,支持视频合成、声音合成、声音克隆,简化本地模型管理、一键导入和使用AI模型。

  • tap4-ai-webui 0

    One-click to deploy your own ai tools directory with the open source web-ui

  • Stream-Chatbot 0

More on GitHub
  • 個人信息
  • 個人專欄
  • 帖子
  • 回帖
  • 收藏
  • 正在關注
  • 關注者
  • andriod 系统,appium 模拟手势滑动操作问题 at 2014年10月13日

    你先看看你的代码,都是 Start

  • andriod 系统,appium 模拟手势滑动操作问题 at 2014年10月13日

    错误信息是?

  • 【求助问题】appium 安装自动通讯录 apk 失败,困扰好久未解决,请各位帮忙,谢谢 at 2014年10月11日

    查查 Java 环境变量配置的是否正确

  • 请问 IOS 8.0 的可以用 appium 测试么 at 2014年10月09日

    至于模拟器的地址,GUI 中如何设置不清楚(找了一圈没找到),在 Command Line 下可以使用 --app 参数来指定

  • 请问 IOS 8.0 的可以用 appium 测试么 at 2014年10月09日

    最新的版本也不支持 iOS8,等 1.3 吧

  • send_keys 时 Sending plain text to element 中的数据就会累加一次 at 2014年09月30日

    没有 cleartext 成功?

  • [北京] 知乎招聘测试开发工程师 at 2014年09月30日

    知乎是个好去处

  • Appium 老是断开怎么回事 at 2014年09月23日

    又是不看日志

  • [已解决]ios 中文输入 at 2014年09月19日

    传个头像,亲

  • ios 7.x 中的 appium 封装的的锁屏以及网络连接方法根本无用啊 at 2014年09月19日

    不写环境,不写版本,不写平台,不看日志,不看提示,这种问题无法回答

  • appium 在 IOS7.0 怎么做锁屏中断和断网测试啊 at 2014年09月18日

    #4 楼 @wangcityboy 解锁是有问题,apple 的 bug

  • 图片部分匹配技术之 openCV 与 javaCV at 2014年09月16日

    不错,学习了

  • [Share]如何在真机上运行 Inspector(iOS) at 2014年09月15日

    #8 楼 @seveniruby 恩。这样更好

  • 通过无线连接的方式来做 Appium 自动化 at 2014年09月13日

    #16 楼 @seasoncool2011
    真心不错,我现在也可以跑起来,以后做演示就方便啊

  • 通过无线连接的方式来做 Appium 自动化 at 2014年09月13日

    豌豆荚,应用宝等手机管理工具的无线连接,也应该和这是一个道理吧

  • [Share]如何在真机上运行 Inspector(iOS) at 2014年09月05日

    #5 楼 @wangcityboy 你这样问,神仙也没办法帮你,需要将你的代码信息和报错信息才能帮你看啊

  • appium 中判断结果时,如何从本地数据库读取来判断某条操作是否成功? at 2014年09月02日

    #2 楼 @rabbit 没有读取权限,那就不能读取数据了,找开发或运维给你开权限,要不然就没法测试了,或者找个测试库,把数据写到测试库,再从测试数据库拿数据

  • 【小公司必看】国内 app 云测服务对比 at 2014年08月30日

    #3 楼 @seveniruby 哦,看岔了

  • [已解决] 请问如何 实现长按的 持续时间?( long_press duration python) at 2014年08月30日

    经过实践,发现不可行
    不管 duration 传多少,在 UIAutomation 中 time 总是 0.2,依然是普通 Tap 的效果
    Code:

    self.driver.tap([(176, 86)], duration=5000)
    

    附 Log:

    info: --> POST /wd/hub/session/75108063-b03d-42f1-9922-0b31b641cf3e/touch/perform {"sessionId":"75108063-b03d-42f1-9922-0b31b641cf3e","actions":[{"action":"longPress","options":{"y":86,"x":176}},{"action":"release","options":{}}]}
    
    debug: Appium request initiated at /wd/hub/session/75108063-b03d-42f1-9922-0b31b641cf3e/touch/perform
    
    debug: Request received with params: {"sessionId":"75108063-b03d-42f1-9922-0b31b641cf3e","actions":[{"action":"longPress","options":{"y":86,"x":176}},{"action":"release","options":{}}]}
    
    debug: Pushing command to appium work queue: "target.touch([{\"touch\":[{\"x\":176,\"y\":86}],\"time\":0.2}])"
    debug: Sending command to instruments: target.touch([{"touch":[{"x":176,"y":86}],"time":0.2}])
    debug: Sending command to instruments: target.touch([{"touch":[{"x":176,"y":86}],"time":0.2}])
    debug: [INST] 2014-08-30 02:51:33 +0000 Debug: evaluation finished
    
    debug: [INST] 2014-08-30 02:51:33 +0000 Debug: Running system command #12: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":null}...
    
    
    debug: [INST] 2014-08-30 02:51:38 +0000 Debug: Got new command 12 from instruments: target.touch([{"touch":[{"x":176,"y":86}],"time":0.2}])
    
    
    debug: [INST] 2014-08-30 02:51:38 +0000 Debug: evaluating target.touch([{"touch":[{"x":176,"y":86}],"time":0.2}])
    
    
    debug: [INST] 2014-08-30 02:51:38 +0000 Debug: target.touch(__NSCFArray)
    
    

    用 UIAutomation 自己的 tapWithOptions({tapOffset:{x:2.02, y:3.41}, duration:10});就可以

  • [已解决] 请问如何 实现长按的 持续时间?( long_press duration python) at 2014年08月30日

    tap 方法可以试一下

    def tap(self, positions, duration=None):
            """Taps on an particular place with up to five fingers, holding for a
            certain time
    
            :Args:
             - positions - an array of tuples representing the x/y coordinates of
             the fingers to tap. Length can be up to five.
             - duration - (optional) length of time to tap, in ms
    
            :Usage:
                driver.tap([(100, 20), (100, 60), (100, 100)], 500)
            """
            if len(positions) == 1:
                action = TouchAction(self)
                x = positions[0][0]
                y = positions[0][1]
                if duration:
                    duration = duration
                    action.long_press(x=x, y=y, duration=duration).release()
                else:
                    action.tap(x=x, y=y).release()
                action.perform()
            else:
                ma = MultiAction(self)
                for position in positions:
                    x = position[0]
                    y = position[1]
                    action = TouchAction(self)
                    if duration:
                        duration *= 1000  # we take seconds, but send milliseconds
                        action.long_press(x=x, y=y, duration=duration).release()
                    else:
                        action.press(x=x, y=y).release()
                    ma.add(action)
    
                ma.perform()
            return self
    
  • 【小公司必看】国内 app 云测服务对比 at 2014年08月30日

    iOS 测试和游戏测试只有 Testin 有啊

  • [Share]如何在真机上运行 Inspector(iOS) at 2014年08月29日

    #3 楼 @wangcityboy 如何连接真机?
    三部分,第一,需要将手机和 Mac 连接起来,第二,将被测应用(需要 development 证书)安装到真机上 第三,在 Appium 上配置真机的 UDID 以及被测应用的 BundleID

  • 【已解决】请问,应用安装到真机中 desired_caps['app']的值怎么写? at 2014年08月27日

    #7 楼 @test_skp 先试,再看报什么问题

  • 【已解决】请问,应用安装到真机中 desired_caps['app']的值怎么写? at 2014年08月27日

    是啊,Appium 会把包装到你的真机上

  • appium 在 IOS7.0 怎么做锁屏中断和断网测试啊 at 2014年08月27日

    锁屏用 lock 方法

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

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