测试之家
  • Topics
  • QA
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • Sign Up
  • Sign In
会员
xiaoj (YueChen)
第 7758 位Users / 2016-03-07
11 篇帖子 • 239 条回帖
139 关注者
4 正在关注
28 收藏
打赏支持
GitHub Public Repos
  • py-ios-device 736

    IOS Professional Performance Testing Tool . You can get CPU, GPU, Memory , Lifecycle and other m...

  • ios-screen-record 211

    About A python based Apple Quicktime protocol,you can record audio and video from real iOS devices

  • java-ios-device 24

    A Java based Apple instruments protocol,you can get CPU, Memory and other metrics from real iOS d...

  • mobile-gui 15

    使用 pyqt5 编写Android, iOS 手机命令控制工具。

  • goreplay 1

    GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environ...

  • Dopamine2-roothide 0

    Dopamine is a semi-untethered jailbreak for iOS 15 and 16

  • undetected-chromedriver 0

    Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imp...

  • pytest-xdist 0

    pytest plugin for distributed testing and loop-on-failures testing modes.

  • usbmuxd 0

    A socket daemon to multiplex connections from and to iOS devices

  • jacoco 0

    :microscope: Java Code Coverage Library

More on GitHub
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • [求助] 问题一个 pytest 自定义命令的问题 at August 14, 2019

    三个参数放在一行一起定义的话,填写任意一个参数,其他两个都会随之变化的,所以分开写就好了。

  • 大家做安卓多设备并发时并发时,遇到高版本手机用例执行一半时超时的问题 Proxy error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT 怎么解决的 at July 11, 2019

    systemPort 端口不能重复。还有确实有 (锤子,魅族) 等部分版本手机用 uiautomator2 服务,运行一会手机里 uiautomator2 进程就会 crash。具体也可以看下手机 logcat 日志

  • 用 Pytest+Appium+Allure 做 UI 自动化的那些事~(有点干) at July 09, 2019

    什么意思,用这种装饰器这个装饰 class 类么?

  • AppiuimDesktop 启动 真机 app 后,无限重启,看 log 说是启动 wda 的 session 失败,这该怎么解决? at July 08, 2019

    这扩展没有安装, 进入到目录下面 ,运行 Script/bootstrap.sh 如果这个编译出错,貌似要修改 /Inspector/webpack.config.js 里面文件,具体你百度下。 Q 549042238

  • AppiuimDesktop 启动 真机 app 后,无限重启,看 log 说是启动 wda 的 session 失败,这该怎么解决? at July 08, 2019

    对,用 appium 自带的 wda ,去 appium 目录里面找

  • AppiuimDesktop 启动 真机 app 后,无限重启,看 log 说是启动 wda 的 session 失败,这该怎么解决? at July 08, 2019

    用 Appium 自带的 wda 进行编译,Appium 对 wda 进行了二次开发,如果从 Facebook 下载的话可能版本不匹配。

  • pytest 在 pytest.ini 中添加 markers 后,运行提示 deselected,大神们知道这是什么原因吗,代码内附 at July 08, 2019

    pytest.ini markers 应该是你想自定义一个 mark 插件,然后给你注册的插件一个文档说明的作用。
    如果你想批量标记,又不想代码里面加装饰器,就用用例名称区分,然后用 pytest_collection_modifyitems 批量标记
    https://testerhome.com/topics/19327

  • 为什么用 appium 做自动化测试的时候,单个用例可以通过,但是所有用例一起运行会有些用例失败 at July 04, 2019

    用例之间 一个 driver 的 session 冲突或者给覆盖了? driver 要么所有用例继承,要么每个重新初始化一次

  • Windows 环境能使用代码连接苹果手机吗? at July 03, 2019

    开源的
    http://docs.quamotion.mobi/imobiledevice/download/ 打包好的 exe 文件,加到环境变量里直接执行相关命令就好了
    https://github.com/libimobiledevice-win32/libimobiledevice 源码

  • 怎么用 uiautomator2 模拟三指操作? at June 27, 2019

    appium-uiautomator2 多点触控
    http://appium.io/docs/en/commands/interactions/touch/multi-touch-perform/

  • Mac + Appium + python3 无法启动 iOS 真机自动化测试 at June 14, 2019

    这种问题最好有日志

  • 使用 Pytest 运行 yaml 文件来驱动 Appium 自动化测试 at June 11, 2019

    这里的 parent 的作用感觉就像是一个全局的 session ,传递的时候,为了使下面的所有用例都继承这个 session,测试结果也保存在一个 session 里。

    Pytest 有几种作用域 Session ,Module,Package 等等什么的

  • 用 Pytest+Appium+Allure 做 UI 自动化的那些事~(有点干) at May 31, 2019

    这个运行关系应该只能是由前往后,并不能由后去调用前面的,那样容易出现死循环了吧?
    只能是后面的用例,判断前面是否执行通过过某条用例。可能我没理解你的跨文件是什么意思,测试的话直接运行最上层文件夹吧。两个文件都能运行了
    @pytest.mark.dependency(depends=['test_a.py::test_a']) 这种方法不用 ,改成 session 之后跨文件直接 test_a 就行

  • 用 Pytest+Appium+Allure 做 UI 自动化的那些事~(有点干) at May 30, 2019

    哈哈,刚想起来这里忘记说了

    要将 site-packages/pytest_dependency.py 库的 module 更换成 session,就能跨 py 文件了

  • 用 Pytest+Appium+Allure 做 UI 自动化的那些事~(有点干) at May 30, 2019

    可以的呀,筛选的时候需要加上 Class 类名加函名称就行,例如

    @user1cy(depends=["TestExample::test_a","TestExample::test_b"])
    
  • 刚接触 Appium,钉钉,智行火车票这些 APP 都不能连接,有道,百度阅读这些都可以 at May 10, 2019

    可能是启动 appActivity 错的,
    最简单的方式查看下启动 Activity 是什么就行了
    adb shell monkey -p com.alibaba.android.rimet -v 1 打印内容
    cmp=com.alibaba.android.rimet/.biz.SplashActivity
    appium:
    appActivity=.biz.SplashActivity
    应该就行了

  • Yapi 集成 jenkins 问题,求大神指点 at April 10, 2019

    加上你的 token 和参数?

  • 有没有什么技术能把自动化脚本放到手机上执行? at April 10, 2019
    • ATX-uiautomator2 使用 QPython 在 Android 手机内执行自动化
  • 面试京东金融被问到的题目,希望大家求解。 at March 01, 2019

    这是考 shell?

    find  ./A/ -maxdepth 2  -name '*.jpg' -exec cp {} ./B \;
    
  • 烦请问下大神们,python+unittest+uiautomator 框架,如何实现一条用例循环执行多次 at February 25, 2019

    使用参数化咯~

  • python 的集合自动生成,求大神帮忙看看 at February 18, 2019

    Python3 ,系统方法 itertools.product

    def product(*args, repeat=1):
        # product('ABCD', 'xy') --> Ax Ay Bx By Cx Cy Dx Dy
        # product(range(2), repeat=3) --> 000 001 010 011 100 101 110 111
        pools = [tuple(pool) for pool in args] * repeat
        result = [[]]
        for pool in pools:
            result = [x+[y] for x in result for y in pool]
        for prod in result:
            yield tuple(prod)
    
    print(list(product('123456', repeat =6)))
    
  • 滴滴年度账单-用户名的方括号 at January 23, 2019

    长知识了。。。

  • Appium 的 UIAutomator2 模式下使用 sendKeys 出现错误。 at January 16, 2019

    UIAutomator 模式能行的话 UIAutomator2 试试 set_value(element, value) ?

  • python 的 unittest 测试框架中的测试依赖怎么解决呢 at January 10, 2019

    写一个简单的装饰呗

    import unittest
    
    
    def skipTest(value):
        def deco(function):
            def wrapper(self, *args, **kwargs):
                if not getattr(self, value):
                    self.skipTest('未登录跳过用例')
                else:
                    function(self, *args, **kwargs)
            return wrapper
        return deco
    
    
    class DemoTest(unittest.TestCase):
        isOnline = False  # 未登录
    
        def test_1(self):
            self.assertTrue(1 == 1)
            DemoTest.isOnline = True  # 成功登陆
    
        @skipTest('isOnline')
        def test_2(self):
            print("A test")
    
    
    if __name__ == '__main__':
        unittest.main()
    
  • python 的 unittest 测试框架中的测试依赖怎么解决呢 at January 10, 2019

    用 pytest 吧

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

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