测试之家
  • Topics
  • QA
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • Sign Up
  • Sign In
会员
yuwuhen333 (雨雾恨)
第 3500 位Users / 2015-05-06
2 篇帖子 • 112 条回帖
4 关注者
35 正在关注
19 收藏
未设置 GitHub 信息.
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • [已解决] Android 端 tap 某个坐标出现 error,原来是 Selendroid 模式下不支持 at July 08, 2015

    #15 楼 @galactics 貌似也不支持 swipe 方法

  • Appium 测试 Android 原生态浏览器时无法输入网址 [问题已解决] at July 07, 2015

    #6 楼 @cpfeng0124 具体是怎么解决的呢,是你 driver.get("http://m.baidu.com/baidu.com 然后再点击搜索按钮吗?");改成模拟去网址栏输入

  • [已解决] Android 端 tap 某个坐标出现 error,原来是 Selendroid 模式下不支持 at July 07, 2015

    #4 楼 @galactics 只好能把详细错误给出来,不然没办法帮你分析

  • [已解决] Android 端 tap 某个坐标出现 error,原来是 Selendroid 模式下不支持 at July 07, 2015

    self.driver.tap([(500, 500)]) 这个写的不对吧,应该是 self.driver.tap([(89,109),]) 这种格式吧,我说的是 python 啊

  • Appium 报错求助 at July 03, 2015

    #3 楼 @mads 重新安装的时候进行的重签名吧,你打开应用后能识别到控件吗?我应用打开识别不了控件

  • appium 1.4+python 2.7.9 参考 android_contacts.py 无法输入中文,求举例 at June 25, 2015

    #23 楼 @a63307517 最上方的改成 #coding=utf-8 这个放在第一行,试试。

  • Appium 并发和主从远程控制 at June 25, 2015

    #4 楼 @xdlhy 非常感谢分享这篇文章,看完后我能够实现指定设备同时执行用例,参数和配置文件还需要再研究下。这样配置应该也可以实现多个设备同时执行一个用例吧

  • 移动端自动化测试框架 appium 的公开课视频分享 at June 19, 2015

    刚入门 appium 者的福音,感谢分享

  • appium 接入 robot framework 的问题,纠结了好久~~~ at June 18, 2015

    #6 楼 @seveniruby 现在不是又 appiumlibrary 吗?不能直接调用吗?为什么还要这样写呢

  • RobotFramework 实战经验求交流请教 at June 18, 2015

    #7 楼 @oscar 请问你现在实现了用 Robotframework+appium 运行 apk 测试吗?能不能提供个例子

  • 新手学 Monkeyrunner1-monkeyrunner 的录制以及回放 at June 17, 2015

    #5 楼 @mads 看着你写的这些回想起了以前学习 monkeyrunner 的经历,谢谢分享。

  • Monkeyrunner 新手自学教程策划 at June 17, 2015

    #4 楼 @mads 现在大家工作都这么忙,还能进行分享,真的分享感谢,感谢 @chenhengjie123昨天晚上的分享,感谢分享的每一个人。

  • 自动化测试框架思路简单分享 at June 17, 2015

    @chenhengjie123 谢谢及时的分享,32 个赞。下一步再研究下这三层之间的相互调用实现。

  • eclipse、appium 使用真机测试,每次测试都必须要安装 app 吗? at June 12, 2015

    #4 楼 @chenhengjie123 我在官网看 autoLaunch Whether to have Appium install and launch the app automatically. Default true true, false 默认是 true,但是我发现我两次运行 app 间隔时间较长时间,还是会提示让我安装 appium 的输入法,如果两次运行间隔很短,是不会让我重新安装 appium 的输入法的,还得具体再分析下原因

  • eclipse、appium 使用真机测试,每次测试都必须要安装 app 吗? at June 12, 2015

    #1 楼 @chenhengjie123 unlock.apk 和 appium 的输入法能怎么设置不让他每次都安装吗?

  • 2015 年 3 月 新秀群作业-- Appium+Python+PO 设计模式 入门笔记 at June 10, 2015

    #30 楼 @jennyhui 你 qq 多少,加你问下具体问题

  • [已解决] 运行 hybrid 应用,切换到 webview 格式后报错 at June 04, 2015

    #28 楼 @mads 要不要拷给你,你试试?

  • [已解决] 运行 hybrid 应用,切换到 webview 格式后报错 at June 02, 2015

    #2 楼 @mads
    我这边去掉下面的代码
    a=dr.contexts
    print (a)
    #time.sleep(3)
    dr.switch_to.context("WEBVIEW_com.jiudao.ccare")
    在小米 MI 3W 手机上 Android 版本是 4.4.4 运行是可以输入 username 成功的,现在搞不清楚什么原因

  • [已解决] 运行 hybrid 应用,切换到 webview 格式后报错 at June 02, 2015

    #3 楼 @chenhengjie123 最直接是不是可以把占用 9515 端口的应用关闭点?然后再运行脚本

  • uiautomatorviewer 二次开发之自动生成控件定位符 at May 29, 2015

    #57 楼 @cpfeng0124 好的,我稍后试试,到时候反馈个结果给大家。执行报错:
    Traceback (most recent call last):
    File "zb_rules.py", line 57, in test_rules
    self.driver.find_elements_by_android_uiautomator("new UiSelector().className('android.view.View').getChild(new UiSelector().index(1))").click()
    File "D:\Python27\lib\site-packages\appium\webdriver\webdriver.py", line 123, in find_elements_by_android_uiautomator
    return self.find_elements(by=By.ANDROID_UIAUTOMATOR, value=uia_string)
    File "D:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 679, in find_elements
    {'using': by, 'value': value})['value']
    File "D:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 175, in execute
    self.error_handler.check_response(response)
    File "D:\Python27\lib\site-packages\appium\webdriver\errorhandler.py", line 29, in check_response
    raise wde
    WebDriverException: Message: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource.

    Appium 报错如下
    info: --> POST /wd/hub/session/f34d3f04-3964-4d6c-a0bf-777e4ae40a6e/elements {"using":"-android uiautomator","sessionId":"f34d3f04-3964-4d6c-a0bf-777e4ae40a6e","value":"new UiSelector().className('android.view.View').getChild(new UiSelector().index(1))"}

    info: [debug] Waiting up to 0ms for condition
    info: [debug] Pushing command to appium work queue: ["find",{"strategy":"-android uiautomator","selector":"new UiSelector().className('android.view.View').getChild(new UiSelector().index(1))","context":"","multiple":true}]
    info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().className('android.view.View').getChild(new UiSelector().index(1))","context":"","multiple":true}}
    info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
    info: [debug] [BOOTSTRAP] [debug] Got command action: find
    info: [debug] [BOOTSTRAP] [debug] Finding new UiSelector().className('android.view.View').getChild(new UiSelector().index(1)) using ANDROID_UIAUTOMATOR with the contextId: multiple: true
    info: [debug] [BOOTSTRAP] [debug] Parsing selector: new UiSelector().className('android.view.View').getChild(new UiSelector().index(1))
    info: [debug] [BOOTSTRAP] [debug] UiSelector coerce type: java.lang.Class arg: 'android.view.View'
    info: [debug] [BOOTSTRAP] [debug] UiSelector coerce type: class java.lang.String arg: 'android.view.View'
    info: [debug] Responding to client with error: {"status":9,"value":{"message":"The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource.","origValue":"Could not parse UiSelector argument: 'android.view.View' is not a string"},"sessionId":"f34d3f04-3964-4d6c-a0bf-777e4ae40a6e"}
    info: <-- POST /wd/hub/session/f34d3f04-3964-4d6c-a0bf-777e4ae40a6e/elements 500 11.186 ms - 308
    info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"Could not parse UiSelector argument: 'android.view.View' is not a string","status":9}
    info: --> DELETE /wd/hub/session/f34d3f04-3964-4d6c-a0bf-777e4ae40a6e {}
    info: Shutting down appium session

  • uiautomatorviewer 二次开发之自动生成控件定位符 at May 29, 2015

    #53 楼 @cpfeng0124 self.driver.find_element_by_xpath("//linearlayout//android.view.View[7]").click() 是类似这样的写法吗?//linearlayout//android.view.View[7] 根据实际几层 linearlayout 就写几个?如图这样的该怎么写呢

  • uiautomatorviewer 二次开发之自动生成控件定位符 at May 29, 2015

    #37 楼 @cpfeng0124
    这样的元素,该如何定位?类似你文章中的这个元素,见下图红色框

    这个元素的 xpath 能给一下吗?

  • 【已解决】appium 问题-运行 android native 拨号应用测试脚本报错 at May 29, 2015

    #17 楼 @mads 采用了你说的方式,把要运行的 case 放在一个文件夹中,重新写一个脚本去读取该文件夹中的 py 文件,然后再输出到 html

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

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