测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
新手
Mio4kon (Mio4kon)
第 14924 位会员 / 2017-02-10
2 篇帖子 • 27 条回帖
11 关注者
0 正在关注
1 收藏
未设置 GitHub 信息.
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年06月20日

    空白问题见我上面的回复

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年06月20日

    看下有没有保存信息.然后 yaml 文件有没有写错.空格什么的是否对齐.

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年06月20日

    Allure1 有很多方式可以装.比如 npm 可以用下面这种,改下版本号.
    现在框架已经改成 Allure2 了.不过代码还没有提交.
    npm install -g allure-commandline@2.0.1 --save-dev

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年06月20日

    我用的是 python3. 我建议没有历史包袱的话就用 python3 吧

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年06月20日

    空白页的原因是因为报告用到了 ajax 本地请求,不支持 file 协议.建议报告集成到 Jenkins 或者使用 chrome 的插件 web server. 还有一种方法就是利用 pychram IDE 右键 html 文件 open in browser

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年06月20日

    空白页的原因是因为报告用到了 ajax 本地请求,不支持 file 协议.建议报告集成到 Jenkins 或者使用 chrome 的插件web server. 还有一种方法就是利用pychram IDE 右键 html 文件open in browser

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年06月20日

    截图有的.代码很多还没推.过几天可能会版本更新上去.

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年05月12日

    ide 报错红线信息是什么
    https://mozillazg.github.io/2016/01/python-function-argument-type-check-base-on-function-annotations.html

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年05月12日

    不能直接运行 test_home.py ,要运行 run.py

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月18日

    应该是国内连不上亚马逊的服务器,换一下 homebrew 的镜像源吧

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月18日

    现在最新代码支持拆分pages.yaml了.
    你那个找不到 text 的问题估计是selenium版本的问题.建议装3.0.2版本.具体见我的博客里提到:

    移动端自动化测试系列之一——Appium 环境搭建

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    click 报什么错? 我试了下 4.3 版本 click 没问题,只是 Toast 不能用这种方式验证了.
    Toast 是在 Appium 1.6.3 Releases 中加入的

    Android - Uiautomator2
    
    Add ability to verify TOAST messages (these can't be interacted with, only
    text retrieval allowed)
    

    分多个 page.yaml 有在做考虑

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    1.和成功失败没关系.我写的例子用的是 action,域是"module".所有同一"module"下不会释放,如果希望每个 method 都释放可以用 action2
    2.不会

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    额..是的.4.3 的要删掉这个配置.有空我把他变成根据系统版本来配置吧

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    如果检查点 A,检查点 B 放在一个 test_method 的话很简单.A ERROR 的话本身就不会执行 B.
    如果放在两个 test_method 的话要用到 pytest 的 xfail.
    文档可以看
    https://docs.pytest.org/en/latest/skipping.html
    例子:
    http://stackoverflow.com/questions/12411431/pytest-how-to-skip-the-rest-of-tests-in-the-class-if-one-has-failed
    并行关系的话我都放在两个 test_method 处理的.或者你可举一个具体的例子.

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    并不是通用的才会定义 step.我会把一些常用的操作例如登录,注册,进入主页等会重复使用的放到一个单独的 Step 文件里.方便写用例. 而且测试报告也会很清楚.不会重复使用的也可以用 step 注释,只不过不会放到单独的文件了.目的只是看报告清楚.
    还有比如一个功能可能有多个场景,可以用 features 和 stories 配合使用.

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    可以看下用例执行完后生成的 xml 文件有没有内容.

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    不知道符不符合论坛规矩啊哈哈哈,有啥问题论坛问也行.我都会回答的

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    这个就是相当于执行命令行:pytest

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    管理元素还是用例?
    用例多的话可以写多个 test 文件,把一些重复的过程封装到 Steps 中.还可以使用 Allure 的 severity, features 等注释将用例归类.

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    看下你生成的 xml,最好试下<要生成的 html 路径>设置在一个子文件夹里.防止覆盖源文件

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    是的.具体见下面链接:
    http://mio4kon.com/2017/04/13/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B5%8B%E8%AF%95%E7%B3%BB%E5%88%97%E4%B9%8B%E5%9B%9B%E2%80%94%E2%80%94%E7%94%9F%E6%88%90%E5%AE%9A%E4%BD%8D%E5%85%83%E7%B4%A0/

  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    appium 服务器开了吗?

    appium --address 127.0.0.1 --port 4723 --log "log_path" --log-timestamp --local-timezone --session-override
    
  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月17日

    要进入所在的目录文件夹,或者把全路径都写了 .
    命令格式是:

    allure generate <生成的xml路径>/ -o <要生成的html路径>
    
  • [开源分享] 基于 Appium-python3 的移动自动化测试框架 AppiumLich,附相关系列教程 at 2017年04月14日

    这个是显式告诉返回值是 EnvironmentInfo 类型.可以方便 ide 提示

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

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