测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
新手
dengwei729
第 504 位会员 / 2014-02-25
5 篇帖子 • 65 条回帖
4 关注者
10 正在关注
4 收藏
GitHub Public Repos
  • uiautomation 2

  • MobileDevice 1

    A python package, and command line tool, which wraps Apple's MobileDevice API - providing access ...

  • springdemo 0

    松鼠状态机学习

  • design 0

    日常学习代码

  • netty_lrn 0

  • PyTrain 0

  • springbootdemo 0

  • mickey 0

    米奇工作室

  • py_algorithm 0

  • gc_py 0

    python垃圾回收机制

More on GitHub
  • 個人信息
  • 個人專欄
  • 帖子
  • 回帖
  • 收藏
  • 正在關注
  • 關注者
  • [提问] 关于 testng 的 beforeMethod 标签化问题 at 2016年11月01日

    #5 楼 @jet 奥,抱歉,改成字符串数组后,依旧木有生效,文章代码已修改
    尝试 dependsOnGroups 也没有生效。

  • [提问] 关于 testng 的 beforeMethod 标签化问题 at 2016年11月01日

    #2 楼 @jet 能说具体一些么?

  • [提问] 关于 testng 的 beforeMethod 标签化问题 at 2016年11月01日

    #1 楼 @yzx200712256 想依照 group 配置,method 太多了

  • App 接口测试工具之 apimock (动态 mock 服务器返回) at 2016年11月01日

    不错的落地方式,可以搞个 mock 平台,平台上直接 hook response 的,展示后端返回数据,用户可以可视化的修改 response,再返回。 更屌啦

  • IOSDriver findEelementByName、findEelementByClassName,findEelementByCssSelector 是否被废弃了? at 2016年10月27日

    #15 楼 @lixmyr 自己查查官方文档去

  • IOSDriver findEelementByName、findEelementByClassName,findEelementByCssSelector 是否被废弃了? at 2016年10月24日

    #13 楼 @lixmyr
    TouchAction
    action.tap(point.x, point.y);

  • IOSDriver findEelementByName、findEelementByClassName,findEelementByCssSelector 是否被废弃了? at 2016年10月24日

    #10 楼 @lixmyr 不能用了? 怎么报的错

  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年10月19日

    #59 楼 @dengwei729

    找到原因了:
    public void swipe(int startx, int starty, int endx, int endy, int duration)

    endx 所传参数应该是增量
    endy 所传参数应该是增量

    [HTTP] --> POST /wd/hub/session/97559adb-a894-40d2-9f87-7341aac8d530/touch/perform {"actions":[{"action":"press","options":{"x":187,"y":517}},{"action":"wait","options":{"ms":300}},{"action":"moveTo","options":{"x":187,"y":50}},{"action":"release","options":{}}]}
    [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","option...
    [debug] [XCUITest] Executing command 'performTouch'
    [JSONWP Proxy] Proxying [POST /uiaTarget/0/dragfromtoforduration] to [POST http://localhost:8100/session/70E712D5-44E1-447B-826F-86A460A555C7/uiaTarget/0/dragfromtoforduration] with body: {"fromX":187,"fromY":517,"toX":374,"toY":567,"duration":0.3}
    
    
  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年10月19日

    #59 楼 @dengwei729
    尝试用 swipe 方法来做:

    /wd/hub/session/a07d8685-4109-48b9-8185-337da0f75c81/touch/perform {"actions":[{"action":"press","options":{"x":192,"y":467}},{"action":"wait","options":{"ms":100}},{"action":"moveTo","options":{"x":182,"y":50}},{"action":"release","options":{}}]}
    

    大家对滑动的操作,有什么见解:

    • 下拉操作可以操作
    • 上拉 UI 反应不正常,可以说没反应
  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年10月19日

    在 ios10 上,使用 scrollTo 方法,结果悲剧了,appium 太贱了

    自己拼的请求,报错

    [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/C4636841-6E75-4181-B828-09972EEB43CC/element] with body: {"using":"class name","value":"XCUIElementTypeTableView"}
    [JSONWP Proxy] Got response with status 200: {"value":"Invalid argument for class used 'XCUIElementTypeTableView'. Did you mean XCUIElementTypeXCUIElementTypeTableView?","sessionId":"C4636841-6E75-4181-B828-09972EEB43CC","status":15}
    
  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年10月14日

    #52 楼 @Lihuazhang 是的,现在 ios10 市场占有率很高了,稳定性测试需要兼容它了

  • CrashMonkey4iOS 试用过程总结 at 2016年10月14日

    #98 楼 @chenhengjie123 是想着自动化把 monkey 跑起来,你们 monkey 流程是啥? 模拟器支持多开么?

  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年10月14日

    话说现在升级到 ios10 了,大家稳定性测试怎么做的呢?

  • [提问] UIAutomation deactivateAppForDuration 方法失败 at 2016年10月14日

    #8 楼 @heyyuyu OK,谢谢

  • CrashMonkey4iOS 试用过程总结 at 2016年10月14日

    模拟器如何安装包呢?

  • [提问] UIAutomation deactivateAppForDuration 方法失败 at 2016年10月14日

    #6 楼 @heyyuyu 不理解,在 UIAutomation 里头不支持多线程吧

  • [提问] UIAutomation deactivateAppForDuration 方法失败 at 2016年10月14日

    #4 楼 @holysor 需要做这个测试,9+ 偶尔可以,偶尔不可以,奇怪的很

  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年10月12日

    #44 楼 @rogergan 赞,你是保存了一份么,哈哈

  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年09月26日

    #39 楼 @Lihuazhang 官网没有找到,帮忙找找呗

  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年09月26日

    @seveniruby @Lihuazhang 出了 xcode8 后,UIAutomation api 查询地址,俩位能找到么?

  • IOSDriver findEelementByName、findEelementByClassName,findEelementByCssSelector 是否被废弃了? at 2016年09月20日

    #6 楼 @jcwhy 其实就是 “我的页面”

  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年09月19日
    dengweideMacBook-Pro:runScripts dengwei$ /usr/bin/instruments -w 00e630def672da63ed0bae762c3d78aebb67ea8d -t /Applications/xcode7/Xcode.app/Contents/Developer/../Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate /Users/dengwei/Documents/ios_auto/test.app -e UIASCRIPT /Users/dengwei/Documents/ios_auto/src/cases/search/aroundSearch/TC_P1_1611007.js -e UIARESULTSPATH /Users/dengwei/Documents/ios_auto/output -v
    2016-09-19 10:05:58.392 instruments[452:3696] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    dengweideMacBook-Pro:runScripts dengwei$ 
    

    xcode7 在 ios10 设备上,command 执行脚本,没有任何报错,大家遇到过么? 有什么法子么

  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年09月18日

    #4 楼 @zuiniao123 我这边自动化是直接用的 UIautomation😢 , appium1.6 直接 xcuitest,我查一下

  • xcode8 和 ios10 升级之后的问题集中讨论帖,请勿再开贴! at 2016年09月18日

    UIAutomation 不能用了,大家公司切走了么, appium 应该也不能用了

  • [提问] UIAutomation deactivateAppForDuration 方法失败 at 2016年08月31日

    #2 楼 @chenhengjie123 问题现象已更新,谢谢提醒

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

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