测试之家
  • 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
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • appium+python 如何判断 app 开关的状态 at November 09, 2018

    find_element_by_id(‘xxxx’).get_attribute("checked")

  • appium 1.8.0 中的 deviceName 为什么不起作用了 at November 07, 2018

    指定 udid 才有用,Android 上面 deviceName 貌似没啥用,udid 也是 adb devices 里的 id 就行了

  • appium、appium-python-client 有什么不同作用?另外 appium-python-client 安装的时候会把我旧版本的 selenium 卸载然后装很新版本的 selenium,原理又是什么呢? at October 30, 2018

    1.appium 像是一个服务,appium-python-client 是让 python 连接 appium 服务的一个驱动,也就是一个 python 语言封装和 appium api 通讯的一个库(python,java,js 等)
    2.appium 又继承了 selenium 的 webdriver,因此 appium-python-client 安装可能会更新 selenium。

    自己见解哈~~

  • 配置 pytest.ini 配置文件后,运行报错 UnicodeDecodeError: 'gbk' codec can't decode byte 0x93 in position 21: illegal multibyte sequence at October 30, 2018

    pytest.ini 的文件编码格式有问题吧,改成 utf-8

  • python+locust 做性能测试,引入 TaskSequence 类 @seq_task () 报错,请教。。。 at October 24, 2018

    引入啊 from locust import seq_task

  • 运行 Appium 时遇到了 An unknown server-side error occurred while processing the command 问题 at October 15, 2018

    或者检查一下启动 appActivity 是不是不对, 系统计算器 启动 appActivity 应该是 “.Calculator”,更换一下试试
    adb shell monkey -p com.android.calculator2 -v -v -v 1

  • 运行 Appium 时遇到了 An unknown server-side error occurred while processing the command 问题 at October 15, 2018

    日志不是说了,并没有找到 com.android.calculator2 这个包名么

  • appium,启动 APP 的时候报了下面的错误,求解决。 at September 12, 2018

    手机里手动卸载 settings_apk-debug.apk 应用,可能包名重复了。

  • 下面的问题要怎么解决呢,希望大家推荐下思路 at August 29, 2018
    self.commonTools._driver.contexts
    

    前提你已经初始化了

  • 压力测试遇上了一个奇怪的问题,请有经验的兄弟们帮忙看下。 at August 27, 2018

    有可能是服务器的连接数瓶颈,加了 200ms 等待。导致请求连接无法快速释放,出现服务器大量等待线程。

  • 看技术贴看得太多,无意中看到这么个观点,还是 1996年 时的。 at August 23, 2018

    测试发现了开发的局限、思路中的狭隘和技能方面的不足,但是开发自己感受不到啊~~😂

  • appium 如何针对指定区域进行滑动操作 at August 22, 2018

    Python

    IOS :

    def swipeElementLeft(self, element):
           """
           IOS专用 在元素内部滑动
           """
           scrolldict = {'direction': 'left', 'element': element.id}
           self.driver.execute_script('mobile: swipe', scrolldict)
    

    element 是已经查找到的元素
    Android:

    没有发现其他方法,只能通过楼上 layasa 说的自己封装方法了

  • app 页面元素,要执行删除操作,但是 CheckBox 的 id 和 class 均相同,比如我要删除红磨坊,如何通过房间名,以相对定位方式,定位到红磨坊的 CheckBox? at July 10, 2018
    find_element_by_xpath('//android.widget.TextView[contains(@text, "红磨坊")] ')
    
  • app 页面元素,要执行删除操作,但是 CheckBox 的 id 和 class 均相同,比如我要删除红磨坊,如何通过房间名,以相对定位方式,定位到红磨坊的 CheckBox? at July 10, 2018

    可以取 ID 数组,然后根据数组下标位置定位

  • 开启两个 appium 端口为何同时使用会报 http.client.RemoteDisconnected: Remote end closed connection without response? at June 04, 2018

    你还得启两个不同端口的 appium 服务,webdriver 端口要和 appium 服务端口一致才行。

  • appium Android 使用 UiAutomator2 ,做循环点击的时候,每次总是重复点击第一个,求解 at May 28, 2018

    手误,打错了。

  • [求助] 接口测试要怎么传递加密后的数据 at September 11, 2017
    import execjs
    
    ctx = execjs.compile("""
         var data = {};
         function adddata(x, y) {
             data['x']=x
             data['y']=y
             return data;
         }
    
         function subtraction(data) {
             return data['x'] - data['y'];
         }
     """)
    print(ctx.call("adddata", 1, 2))
    print(ctx.call("subtraction",{'x':10,'y':5}))
    

    1.JS 中的 function 要 return 值给 Python
    2.call 方法中第一个为执行发方法名称,后面均为参数。
    3.至于要传什么参数,什么情况下执行哪种方法,去问你们开发吧。

  • [已解决] 怎么用 appium 测试首页中的轮播图,需对轮播图中的每个图片遍历一次,看起跳转是否成功 at August 29, 2017

    截图,选取对比范围,进行图片对比,根据对比度判断,是否切换,需要 PIL 库之类的。

  • [已解决] 根据 raymond 大神的 python 爬虫写的作业,有两个问题请教! at August 03, 2017

    问题 1:

    print("这篇文章的标题是:",response.find('a',{"class":"topic-title pull-left"}).get('title'))#文章标题
    
  • 请教!移动端 https connect 请求 (ssl 隧道) 有什么拦截或者抓包的办法么? at August 01, 2017

    拦截 https 要给你的 app 装代理工具的证书,装好之后一般就行了。

  • appium 如何获取短信内容 at June 21, 2017

    试了下 mi3 是可以的,应该 Android 都是这个路径,要么是你目录没有权限,或者 sqlite3 没有。

  • appium 如何获取短信内容 at June 15, 2017

    root 权限下:
    1.db shell su
    2.sqlite3 /data/data/com.android.providers.telephony/databases/mmssms.db 'select * from words;'

  • python 3.5.1,生成 HTMLTestRunner 报告后,无法显示用例中的 print 字符串 at February 27, 2017

    网上下的 python 3+HTMLTestRunner 吧?
    python 3+ 的 HTMLTestRunner 源码中找到:

    if isinstance(o,str):
             *******
    else:
             *******
    

    删掉 if else 直接改成 uo=o

  • [已解决 20170214] appium+python+HTMLTestRunner 生成的测试报告内容为空 at February 14, 2017

    @xiguamaomaoqiu 没有问题的,都能执行用例 runner.run(suite) 就可以了
    1.unittest.TextTestRunner(verbosity = 2).run(suite) 实际上又执行了一遍用例但是会有冲突 (如果想看的话,这行替换成 unittest.main())

  • [已解决 20170214] appium+python+HTMLTestRunner 生成的测试报告内容为空 at February 13, 2017

    需要加 runner.run(suite)

    runner = HTMLTestRunner.HTMLTestRunner(
            stream = fp, 
            title = u"TestReport", 
            description = u"Result"
        ).run(suite)
    
  • 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号    版权所有 © 重庆年云聚力信息技术有限公司