测试之家
  • Topics
  • QA
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • Sign Up
  • Sign In
会员
neyo (songz)
第 4365 位Users / 2015-07-10
2 篇帖子 • 359 条回帖
16 关注者
48 正在关注
539 收藏
to be a qualified tester
GitHub Public Repos
  • appium 0

    :iphone: Automation for iOS and Android Apps.

  • pipelineTest 0

  • simple-maven-project-w... 0

    A Maven project that just has some test failures (and skips) at random, to demonstrate result rep...

  • Python-100-Days 0

    Python - 100天从新手到大师

  • SJTU-Courses 0

    上海交通大学课程资料分享

  • json-server 0

    Get a full fake REST API with zero coding in less than 30 seconds (seriously)

  • cypress 0

    Fast, easy and reliable testing for anything that runs in a browser.

  • traefik 0

    The Cloud Native Edge Router

  • zero 0

    Zero is a web server to simplify web development.

  • Micro8 0

    Gitbook

More on GitHub
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • 有没有人用 robotframework 和 appium 做 iOS10 的 UI 自动化的? at February 08, 2017

    可以,appium 用 1.6 就行了,python client 没啥更新

  • appium1.6.3 发布支持 toast 识别 at February 08, 2017

    #28 楼 @xiaoan_2131 👏 不客气,那是我用来写 demo 的 app 啦

  • appium1.6.3 发布支持 toast 识别 at February 08, 2017

    #25 楼 @oscar
    #26 楼 @xiaoan_2131 是 UIAutomator2 的支持,我贴个我写 selendroid testapp 的 demo 好了

    #coding=utf-8
    from appium import webdriver
    import time
    import unittest
    from selenium.webdriver.common.by import By
    from selenium.webdriver.support.ui import WebDriverWait
    from selenium.webdriver.support import expected_conditions
    
    
    class ToastTests(unittest.TestCase):
        def setUp(self):
            desired_caps = {}
            desired_caps['automationName'] = 'Uiautomator2'
            desired_caps['platformName'] = 'Android'
            desired_caps['platformVersion'] = '5.1.1'
            desired_caps['deviceName'] = 'Android Emulator'
            desired_caps['appPackage'] = 'io.selendroid.testapp'
            desired_caps['appActivity'] = 'io.selendroid.testapp.HomeScreenActivity'
            desired_caps['resetKeyboard'] = 'true'
            desired_caps['unicodeKeyboard'] = 'true'
            self.driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)
    
        def tearDown(self):
            self.driver.quit()
    
        def _find_toast(self,message,timeout,poll_frequency,driver):
            message = '//*[@text=\'{}\']'.format(message)
            element = WebDriverWait(driver,timeout,poll_frequency).until(expected_conditions.presence_of_element_located((By.XPATH,message)))
            print element
    
        def test_toast(self):
            print self.driver.get_window_size()
            self.driver.find_element_by_id('showToastButton').click()
            # time.sleep(2)
            print self.driver.page_source
            self._find_toast('Hello selendroid toast!',10,0.5,self.driver)
            time.sleep(10)
            self.driver.find_element_by_id('showToastButton').click()
            self._find_toast('Hello selendroid toast!',10,0.5,self.driver)
    
    if __name__ == '__main__':
        suite = unittest.TestLoader().loadTestsFromTestCase(ToastTests)
        unittest.TextTestRunner(verbosity=2).run(suite)
    
    
  • 2016年TesterHome 全员感恩红包发放 at January 25, 2017

    楼上怎么像是口令红包啊😳 社区加油,继续成长

  • Linkedin 的蓝色药丸 at January 24, 2017

    那么晚了还在翻译,点个赞👍

  • appium1.6.3 发布支持 toast 识别 at January 20, 2017

    #22 楼 @lazyman page_source 没有的,

    def _find_toast(self,message,timeout,poll_frequency,driver):
        message = '//*[@text=\'{}\']'.format(message)
        element = WebDriverWait(driver,timeout,poll_frequency).until(expected_conditions.presence_of_element_located((By.XPATH,message)))
        print element
    
  • [腾讯 TMQ] 零基础学习 Fiddler 抓包改包 at January 20, 2017

    好文先马~

  • 求助~ 运行 appium 测试安卓真机时,应用不停的重启 at January 17, 2017

    指定下真机的 udid

  • appium1.6.3 发布支持 toast 识别 at January 16, 2017

    #18 楼 @oscar client 不用更新的,可以拿到 toast

  • 关于 appium 的原生控件的 xpath 定位问题及常用方法 at January 16, 2017

    看起来有点乱

  • [分享] 同一台机器,同时支持 iOS9.3 及以上和 iOS9.3 以下设备测试的方法 at January 12, 2017

    不错的尝试

  • 求助:winxp 系统下安装完 appium 后,运行提示不是有效的 win32 程序,是我下的版本不对还是不支持 XP 系统 at January 12, 2017

    xp 可以在终端跑

  • 在 MAC 上搭建 appium1.6.3 过程 at January 11, 2017

    #85 楼 @appium_test 是呀,不断在优化。1.6.0 的时候还要手动去指定 realldevicelog 的路径,指定 xcodeConfigFile,比较麻烦

  • 在 MAC 上搭建 appium1.6.3 过程 at January 11, 2017

    #79 楼 @appium_test 今天验证了下,bundleid 不用改,重签名下就可以了,可以试一下~./Scripts/bootstrap.sh -d appium 自己会去做啊,觉得没必要去手动做一遍

  • Appium 1.6.3 [XCUITest] Unable to start WebDriverAgent: Error at January 10, 2017

    #12 楼 @y693055797 npm uninstall -g appium && npm install -g appium --no-shrinkwrap

  • 我的 2016 年终总结 at January 04, 2017

    。。。走上人生巅峰了

  • 微信 webview 的自动化技术 at January 03, 2017

    👍 赞,学习了

  • 我的 2016 年终总结 at January 03, 2017

    #5 楼 @mads 你的关注点。。总在这个地方😂

  • 在 MAC 上搭建 appium1.6.3 过程 at January 03, 2017

    #12 楼 @appium_test 有几点疑问

    1. 是否需要手动运行 sh ./Scripts/bootstrap.sh -d
    2. 记得不用修改 bundleid 也可以跑
    3. 真机现在不用指定 realDeviceLogger 路径了吗
  • 在 MAC 上搭建 appium1.6.3 过程 at January 03, 2017

    #8 楼 @mrlijiayi 手机端 wdarunner 删了试试

  • appium 自动化初始化时 ios 系统弹窗 “时而” 关不掉的情况,会提示 instruments crash at January 03, 2017

    加参数 WaitForAppScript:True 试试

  • 分享一个常用 Adb 命令 at December 30, 2016

    👍

  • [卡斯] 你好 2017,总结过去,展望未来 at December 27, 2016

    #15 楼 @kasi 💪 💪 💪 健身搞起~

  • [卡斯] 你好 2017,总结过去,展望未来 at December 27, 2016

    瘦了 20 斤表示好赞~~

  • appium 如何开启多个应用? at December 20, 2016

    backgroundapp 一段时间,然后通过系统桌面打开新的 app

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

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