测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
会员
a379611523 (wtnhz)
第 28683 位会员 / 2018-05-25
15 篇帖子 • 203 条回帖
1 关注者
0 正在关注
35 收藏
这家伙很懒,但是他修改他的个性签名
未设置 GitHub 信息.
  • 個人信息
  • 個人專欄
  • 帖子
  • 回帖
  • 收藏
  • 正在關注
  • 關注者
  • appium+python,获取元素的文本值,仅能获取到数字,中文字符却获取不到,还有什么办法可获取到元素中文值,希望各位指点 at 2018年07月23日

    看起来像个 bug

  • Appium context 切换的问题 at 2018年07月20日

    试过了~ 我把 com.tencent.mm:appbrand0 ;com.tencent.mm;com.tencent.mm:appbrand1 ;com.tencent.mm:tools 这四个进程都试了

  • 20 元求助,金额不高只求好心人解决。appiun 切换 content 切不过去,过几分钟报错 error: chrome not reachable at 2018年07月20日

    兄弟 我越来越感觉 应该是手机的问题

  • appium 1.8.0+java 同时运行多个 case 时,怎么实现一个 case 运行失败其他 case 继续运行? at 2018年07月20日

    😂

  • 20 元求助,金额不高只求好心人解决。appiun 切换 content 切不过去,过几分钟报错 error: chrome not reachable at 2018年07月20日
    'chromeOptions': {
            'androidProcess': 'com.android.chrome:sandboxed_process0'
        }
    

    兄弟这个 androidProcess 你是怎么获取的?

  • 使用 appnium 做自动化,我是基于 java 的,一个控件,使用名字的方式找不见,该如何解决 at 2018年07月19日

    把代码,和 log 贴出来 大兄弟

  • 20 元求助,金额不高只求好心人解决。appiun 切换 content 切不过去,过几分钟报错 error: chrome not reachable at 2018年07月19日

    哥们 你也发帖了~

  • [已解决] appium 在安卓手机执行小程序自动化,在切换 context 会卡住,过几分钟后就报错,说设备不在线,或者远程关闭连接 at 2018年07月18日
    Traceback (most recent call last):
      File "E:\pyworkspace\demos\webview_test\webview_tests.py", line 70, in <module>
        switch_context(driver)
      File "E:\pyworkspace\demos\webview_test\webview_tests.py", line 23, in switch_context
        driver.switch_to.context(context)
      File "D:\Program Files\Python\Python36\lib\site-packages\appium\webdriver\switch_to.py", line 31, in context
        self._driver.execute(MobileCommand.SWITCH_TO_CONTEXT, {'name': context_name})
      File "D:\Program Files\Python\Python36\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 314, in execute
        self.error_handler.check_response(response)
      File "D:\Program Files\Python\Python36\lib\site-packages\appium\webdriver\errorhandler.py", line 29, in check_response
        raise wde
      File "D:\Program Files\Python\Python36\lib\site-packages\appium\webdriver\errorhandler.py", line 24, in check_response
        super(MobileErrorHandler, self).check_response(response)
      File "D:\Program Files\Python\Python36\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
        raise exception_class(message, screen, stacktrace)
    selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Failed to start Chromedriver session: An error occurred (Original error: chrome not reachable
      (Driver info: chromedriver=2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41),platform=Windows NT 6.1.7601 SP1 x86_64))
    
    
  • [已解决] appium 在安卓手机执行小程序自动化,在切换 context 会卡住,过几分钟后就报错,说设备不在线,或者远程关闭连接 at 2018年07月18日

    怎么解决的? 我就是小米的手机 不过刷的是别的 rom

  • Appium+Python3+iOS 真机环境搭建 at 2018年07月13日

    我 window 用 appium 1.46 那个版本 想往上升级 怎么都是失败。。我都怀疑人生了 现在只好用 appium desktop

  • [已解决] Appium + android + 多设备, 提示 error: more than one device and emulator at 2018年07月13日

    同样的问题解决了,确实是有地方调了 adb 命令 没有加 -s

  • 如何实现滑动或者滚动,以选择到楼层?楼层元素应如何定位? at 2018年07月10日
    def swipe(self, start_x, start_y, end_x, end_y, count=1):
        """
        滑动
        :param start_x: 起始x
        :param start_y: 起始y
        :param end_x:   结束x
        :param end_y:   结束y
        :param count:   次数
        """
        # self.driver.swipe(start_x, start_y, end_x, end_y)
        for i in range(count):
            AdbUtils.exe_adb(" shell input swipe %s %s %s %s 300" % (start_x, start_y, end_x, end_y))
            time.sleep(2)
    

    我是用的 adb 命令滑动 自带的 swipe 不知道为什么 反正是没用~

  • [杭州] 阿里巴巴-闲鱼 招聘测试开发专家 at 2018年07月04日

    无人化 有群吗? 能进去吗?

  • vivo、坚果手机出现查找元素出错 at 2018年07月04日

    带上 log 和截图

  • 转转 App UI 自动化进化史 at 2018年07月03日

    想请教下,你们有没有做失败重测这块的工作,如果做了 是怎么做的 给点思路

  • uiautomator2 sever apk 在每次执行脚本时都会重新安装,还需要手动点击才能继续往下进行,大家都是怎么解决的 at 2018年07月02日

    我也遇到了这个问题

    兄弟 你解决了么?

  • Appium V1.8.0 重复安装 appium-uiautomator2-server-debug-androidTest.apk 和 appium-uiautomator2-server-v1.10.0.apk 的问题 at 2018年07月01日

    没有解决 很蛋疼

  • 愿你被世界温柔对待 at 2018年06月29日

    逝者安息

  • *************************** at 2018年06月26日

    是这个 API : driver.find_element_by_android_uiautomator('new UiSelector().text("Custom View")').click()
    我真的是蠢死了 多谢老哥

  • *************************** at 2018年06月26日

    python 呢?python 里面怎么拿啊?

  • Appium V1.8.0 重复安装 appium-uiautomator2-server-debug-androidTest.apk 和 appium-uiautomator2-server-v1.10.0.apk 的问题 at 2018年06月25日

    每次都去装 ui2 的两个 apk,源码注释 但我找不到源码。。 - -

  • 修改 Bootstrap 源码,添加自定义监听代码实现 at 2018年06月22日

    楼主 能帮忙解决这个问题吗? https://testerhome.com/topics/14775

  • Appium V1.8.0 重复安装 appium-uiautomator2-server-debug-androidTest.apk 和 appium-uiautomator2-server-v1.10.0.apk 的问题 at 2018年06月22日

    国产的四大厂 哪能说放弃就放弃啊~ 还是找找原因吧 应该可以解决

  • appium 1.7.0 安装与疑问记 at 2018年06月22日

    楼主 我是 W7 得系统也出现了那种情况

    C:\Users\DELL\AppData\Roaming\npm\node_modules\appium\node_modules\heapdump>if not defined npm_confi
    g_node_gyp (node "D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\
    ....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "D:\Program Files\nodejs\node_mod
    ules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
    在此解决方案中一次生成一个项目。若要启用并行生成,请添加 “/m” 开关。
    MSBUILD : error MSB3428: 未能加载 Visual C++ 组件 “VCBuild.exe”。要解决此问题,1) 安装 .NET Framewo
    rk 2.0 SDK;2) 安装
    Microsoft Visual Studio 2005;或 3) 如果将该组件安装到了其他位置,请将其位置添加到系统路径中。 [C:\U
    sers\DELL\AppData\Roaming\npm\
    node_modules\appium\node_modules\heapdump\build\binding.sln]
    gyp ERR! build error
    gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit c
    ode: 1
    gyp ERR! stack at ChildProcess.onExit (D:\Program Files\nodejs\node_modules\npm\node_modules\nod
    e-gyp\lib\build.js:258:23)
    gyp ERR! stack at emitTwo (events.js:126:13)
    gyp ERR! stack at ChildProcess.emit (events.js:214:7)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
    gyp ERR! System Windows_NT 6.1.7601
    gyp ERR! command "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm
    \node_modules\node-gyp\bin\node-gyp.js" "rebuild"
    gyp ERR! cwd C:\Users\DELL\AppData\Roaming\npm\node_modules\appium\node_modules\heapdump
    gyp ERR! node -v v8.11.3
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\appium\node_modules\fse
    vents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":
    "darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: heapdump@0.3.9 (node_modules\appium\node_modules\hea
    pdump):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: heapdump@0.3.9 install: node-gyp rebuild
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

    • appium@1.8.1 added 466 packages in 236.206s
  • appium 1.7.0 安装与疑问记 at 2018年06月21日

    求解答~

    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.x (node_modules\appiu
    m\node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
    1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
    )
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: heapdump@0.3.9 (node_modules\app
    ium\node_modules\heapdump):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: heapdump@0.3.9 install: node-gy
    p rebuild

    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

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

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