![](https://img-blog.csdnimg.cn/20200925120336779.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
UI自动化
文章平均质量分 66
移动端UI自动化,主要为Appium
青禾tester
感谢点赞/评论/收藏(´▽`ʃ️ƪ)
展开
-
【WebDriverAgent/FastBot_iOS】报错:Command CodeSign failed with a nonzero exit code
Command CodeSign failed with a nonzero exit code原创 2023-08-31 15:20:19 · 830 阅读 · 0 评论 -
【Appium】如何使用 content-desc 定位元素?(4种方法)
目录一、方法1 - 使用 ACCESSIBILITY_ID 定位(和下面的方法2其实一样,但是这里封装了下->推荐这样使用!!!)二、方法2 - 使用 find_element_by_accessibility_id 定位三、方法3 - 使用 find_element_by_android_uiautomator 定位四、方法4 - 使用 xpath 定位五、其他情况文中涉及到定位元素->参考链接:如何定位元素?封装查找元素方法一个具体场景:某个元素属性 content-desc = “原创 2020-09-09 18:32:47 · 3877 阅读 · 0 评论 -
【Appium】如何定位元素?封装查找元素方法
目录一、查找1个元素二、找到多个元素三、目前支持哪些定位方式?1、支持移动端常用定位方式2、不常用的也支持(但还没用过),以下为支持的定位方式四、find_element、find_elements从哪来的?一、查找1个元素def findBy(self, by=By.ID, value=None): try: return self.driver.find_element_by_*(by, value) except: self.exception_ha原创 2020-09-09 18:22:30 · 1434 阅读 · 0 评论 -
【Appium】Appium 启动应用日志分析-iOS
环境:Mac + Appium 1.18 + xcode11 + iOS13.1例子:启动 iOS端 腾讯动漫 APP和 Android 启动流程 对比,iOS简单好多 ̄△ ̄1、启动 Appium server,默认端口47232020-08-11 12:05:01:860 - [Appium] Welcome to Appium v1.18.02020-08-11 12:05:01:864 - [Appium] Non-default server args:2020-08-11 12:05:原创 2020-08-11 20:31:11 · 1980 阅读 · 0 评论 -
【Appium】Appium 启动应用日志分析-Android
解决:Desired Capabilities 里添加:unicodeKeyboard : True # 中文输入resetKeyboard : True官方文档说明unicodeKeyboardresetKeyboardbooleanbooleanEnable Unicode input, default falseReset keyboard to its original state, after running Unicode tests with un原创 2020-08-06 17:40:29 · 2754 阅读 · 0 评论 -
【iOS】WebDriverAgent 配置-Build-Test 全过程
github down WebDriverAgent(https://github.com/facebookarchive/WebDriverAgent)运行 /sss.sh (报错参考->xxx)用 xcode 打开项目修改开发签名、pageing build信息scheme 切换到 xxrunnerproduct -test 开始build原创 2020-11-11 15:25:43 · 4850 阅读 · 11 评论 -
【iOS】全新Mac机搭建Appium环境(需要的各种工具顺便一块装上)
其实还在ubuntu上搭了,当时好多好多问题,全记在小本本上,小本本没了,(黄金神威辣眼图)原创 2020-11-13 13:57:03 · 755 阅读 · 0 评论 -
【Appium】基于 Appium 的 iOS 自动化
Testing failed:Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the project editor. (in target ‘WebDriverAgentRunner’)Testing cancelled because the build failed.–缺少team 和sign配置Failed to create WDA session (An原创 2020-11-11 19:08:40 · 1699 阅读 · 1 评论 -
【自动化报告】如何使用Allure生成测试报告?
allure 测试报告步骤:1、python3 -m pytest /Users/cuifang/PythonProject/kkProject/KK_AndroidPO/src/testcase/login/test_login.py(单个/整个路径都可以) --alluredir /Users/cuifang/PythonProject/kkProject/KK_AndroidPO/report/testdata2、allure generate /Users/cuifang/PythonPro原创 2020-09-24 20:02:18 · 2935 阅读 · 0 评论