首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏全栈程序员必看

    iOS自动化之WDA(WebDriverAgent)安装

    carthage 2、下载WDA 安装appiium就带有WebDriverAgent (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver /js/app.js Module parse failed: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver Unexpected token (67:6) at Parser.pp$4.raise (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver /acorn.js:2221:15) at Parser.pp.unexpected (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver node_modules/acorn/dist/acorn.js:603:10) 解决方法:cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver

    6.2K11编辑于 2022-09-07
  • 来自专栏freesan44

    基于Python+appium的ios自动化测试demo(更新中)

    build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver "platformName": "ios", "udid": "601861ce25a7dae4dc3d12e6f43cd42936XXXXXX", "automationName": "XCUITest desktop的wda模块 /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver Use the "XCUITest" automationName capability instead. 解决办法:添加 automationName = XCUITest 出现报错:An unknown server-side error occurred while processing the command

    4.2K20发布于 2018-12-21
  • 来自专栏站长的编程笔记

    实现手机自动化点击,滑动相关技术

    XCUITest(仅限iOS): 对于iOS应用程序,您可以使用Xcode中的XCUITest框架来编写自动化测试脚本。 XCUITest可以与Xcode一起使用,并允许您在iOS设备或模拟器上执行各种测试。

    1.3K10编辑于 2023-12-12
  • 来自专栏Swift社区

    iOS UI 自动化测试原理以及在 Trip.com 的应用实践

    XCUITest 原理详解 iOS UI自动化测试核心技术 2015 年,Apple 发布了 UI 自动化测试框架 XCUITest 并集成在 Xcode7 中,而 iOS/macOS UI 自动化测试依赖两个核心技术 :XCUITest 和 Accessibility。 XCUITest 框架结构 XCUITest 测试框架 API 主要包含:元素查询(UI Element Queries)相关类型,如 XCUIElementQuery,UI 元素(UI Elements 接下来,我们创建一个简单 Demo 项目,来学习如何使用 XCUITest 框架编程,并进行 iOS UI 自动化测试。 而不论 WebDriverAgent 还是 XCTestWD 都是一个基于 XCUITest 的 Xcode project,其技术核心也就是我们前文介绍的以 XCUITest 和 Accessibility

    2.8K40发布于 2021-11-26
  • 来自专栏啄木鸟软件测试

    mac OS 下超详细搭建 Appiumm 自动化测试环境

    iOS 9 之前一直以 instruments 下的 UIAutomation 为驱动底层技术(弊端由于 instruments 的限制,单台 mac 只能对应单台设备); 2、iOS 9.3 时代推出 XCUITest WebDriverAgent所在文件目录下: /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver 11、遇到的问题总结 1)appium版本不支持xcode版本(需要调用XCUITest),重新下载可匹配的Xcode版本。 xcodebuild -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver

    3.3K22发布于 2019-12-11
  • 来自专栏QA一隅

    Appium iOS 元素定位与操作

    同时,苹果推出了一款名为XCUITest 的新型自动化技术,从 iOS 9.3 到 iOS 10 及以上版本,这将是苹果唯一支持的自动化框架。 Appium 从 Appium 1.6 开始支持 XCUITest。因此对于iOS 9.2以下的系统需要使用UIAutomation方式定位,iOS 9.2以上的版本需要使用XCUITest定位。 考虑到目前iOS系统更新到了iOS13(截止到2019.12.19) iOS 9.2以下系统属于比较老旧系统,设备覆盖率相对较低,所以主要讲解基于XCUITest的元素定位方式。 一般在初始化driver时也会指定automationName的值为XCUITest desired_caps['automationName']='XCUITest' 元素定位工具 Android iOS元素类型与属性 元素常用类型 在 XCUITest 中,苹果已经为构成视图层次结构的 UI 元素提供了不同的类名。例如 XCUIElementTypeButton表示按钮类型元素。

    5.2K20发布于 2021-08-09
  • 来自专栏啄木鸟软件测试

    Appium超详细环境搭建for-Mac

    9 之前一直以 instruments 下的 UIAutomation为驱动底层技术(弊端由于 instruments 的限制,单台 mac 只能对应单台设备);   2、iOS 9.3 时代推出 XCUITest WebDriverAgent所在文件目录下:   /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver 11、遇到的问题总结   1、appium版本不支持xcode版本(需要调用XCUITest),重新下载可匹配的Xcode版本   Xcode9.3 + Appium1.6.4时,运行WebDriverAgentRunner xcodebuild -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver

    2.1K42发布于 2019-12-12
  • 来自专栏雷子说测试开发

    appium 实现简易IOS app自动化测试demo

    KnowingLife-algbavbxvxbalpfghgvtdxzyehwr/Build/Products/Debug-iphonesimulator/KnowingLife.app", "automationName": "XCUITest KnowingLife-algbavbxvxbalpfghgvtdxzyehwr/Build/Products/Debug-iphonesimulator/KnowingLife.app", "automationName": "XCUITest KnowingLife-algbavbxvxbalpfghgvtdxzyehwr/Build/Products/Debug-iphonesimulator/KnowingLife.app", "automationName": "XCUITest

    1.7K40发布于 2021-03-15
  • 来自专栏测试开发技术

    推荐7个最强Appium替代工具,移动App自动化测试必备!

    7、XCUITest XCUITest 是苹果官方推出的用于 iOS 应用自动化测试的框架。 其优势体现在以下几个方面: 原生支持:作为苹果原生的测试框架,它对 iOS 系统和应用的特性支持非常全面。 性能优化:在 iOS 设备上运行时,XCUITest 经过了高度的性能优化。它能够高效地利用设备资源,快速执行测试用例,减少测试时间。 适用场景:专门针对 iOS 应用的自动化测试,无论是在开发 iOS 应用的功能测试、UI 测试,还是在持续集成环境中对 iOS 应用进行自动化验证,XCUITest 都是首选工具。

    2.3K10编辑于 2024-12-10
  • 来自专栏Titan笔记

    Appium移动测试入门指南(一)- Appium概述

    支持以下的自动化测试引擎 Android Espresso Selendroid UiAutomator UiAutomator2 [推荐] iOS iOS 9.3 and above: Apple's XCUITest Server设计模式 通过WebDriver的客户端-服务器协议(称为 JSON Wire Protocol)通讯 多语言支持 服务端使用Node.JS开发的HTTP服务 Appium使用Appium-XCUITest-Driver

    6.1K11发布于 2021-10-20
  • 来自专栏QA一隅

    Mac 环境Appium自动化测试环境搭建

    webdriver def appium_iOS_test(): desired_caps = {} desired_caps['automationName']='XCUITest ' #Xcode8.2以上无UIAutomation,需使用XCUITest desired_caps['platformName'] = 'iOS' desired_caps ] [W3C] at WebDriverAgent.createIProxy (/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver @2.129.0@appium-xcuitest-driver/lib/wda/webdriveragent.js:263:13) 解决方案:使用命令kill -9 $(lsof -i:8100 -t error: Error: read ECONNRESET Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver

    3.1K30发布于 2021-08-09
  • 来自专栏从零开始学自动化测试

    Appium+python自动化20-查看iOS上app元素属性

    platforrmVersion、deviceName,在appium上需多加一个参数automationName appium1.6以前的版本是基于uiautomation框架的,1.6以后的版本是基于facebook的XCUITest 包的绝对路径 platforrmName: iOS系统版本号 platforrmVersion: iPhone设备名称 platforrmVersion: iOS系统 automationName: XCUITest

    2K50发布于 2018-04-08
  • 来自专栏大宇笔记

    XCTest iOS Swift单元测试

    现在iOS 11了,从新再看到XCTest和新出的XCUITest,已不是当年的一脸嫌弃和不屑了。 记住一句话存在即合理。 下面就是我从新花了1天时间学习路线(点开是链接地址): WWDC XCTest WWDC XCUITest GITHUB Demo OCMock [iOS单元测试系列]单元测试框架选型 -- -- 认识 XCTest 新建项目的时候,Xcode都会问我们是否新建XCUnitTest和XCUITest。 ---- 异步测试 下面一些情况会用到异步测试: 打开文档 在其他线程工作 和服务或者扩展进行交流 网络活动 动画 UI测试的一些条件 网络请求异步Case 关于UI的异步测试在下篇XCUITest中说

    3.1K30发布于 2019-01-15
  • 来自专栏全栈程序员必看

    关于搭建appium – ios真机环境

    /Scripts/bootstrap.sh 执行成功后 移动到appium安装目录的appium-xcuitest-driver目录下,删除旧WebDriverAgent目录 即: sudo rm -rf WebDriverAgent ln -s ~/WebDriverAgent将编译好的WebDriverAgent移动到appium-xcuitest-driver目录 ####其实此时应已经可以使用appium-desktop

    2.3K10编辑于 2022-06-29
  • 来自专栏测吧测试开发

    iOS自动化真机测试验证环境过程中常见问题解析

    UICatalog-ftyzdbgapjmxxobezrnrxsshpdqh/Build/Products/Debug-iphoneos/UICatalog.app", "automationName": "XCUITest "platformName": "ios", "bundleId": "com.example.apple-samplecode.UICatalog", "automationName": "XCUITest

    95420编辑于 2022-05-06
  • 来自专栏python爱好部落

    appium中ios元素定位

    driver.find_element_by_class_name(‘XCUIElementTypeButton’) 3、xpath 由于 iOS 10开始使用的 XCUITest 框架原生不支持,定位速度很慢 'deviceName': 'iPhone7 test', "automationName": "XCUITest check_shouye() xpath定位方式在 XCUITest 底层原生不支持,由 appium 额外支持的,定位速度很慢,而且有时候定位不到元素的情况存在。 具体使用方法,请见:https://github.com/appium/appium-xcuitest-driver/pull/391 。

    3.7K30发布于 2021-04-23
  • 来自专栏QA一隅

    跨平台iOS自动化测试工具——tidevice

    Win环境运行注意事项 Win环境运行注意需要配置相关参数配置,另外需要安装好iTunes具体如下: automationName:执行引擎,iOS设备需要设置为XCUITest webDriverAgentUrl { "udid": "6dd5e55bf4204cd5ad8042dc4ecb2xxxxxx", "automationName": "XCUITest", "deviceName": "iphone8 usePrebuiltWDA": "true", "useXctestrunFile": "false", "skipLogCapture": "true", "automationName": "XCUITest

    7.2K20发布于 2021-08-09
  • 来自专栏python爱好部落

    如何在iphone真机上自动化测试

    看来是没有装最新的WDA https://github.com/appium/appium/issues/13996 然后找了官方文档来读, http://appium.io/docs/en/drivers/ios-xcuitest-real-devices 然后配置文件可以这么写: "automationName": "XCUITest", "platformName": "ios", "platformVersion": "12.4", 手动Build WDA 手动的配置,就是你要手工去build一个WDA在你的测试机器上, "automationName": "XCUITest", "platformName": "ios", return result.decode("utf-8").strip() desired_caps = {} desired_caps["automationName"] = "XCUITest

    2.3K20发布于 2020-05-22
  • 来自专栏测试人

    app自动化测试(Android)– Capability 使用进阶

    图片 下面这些 Capabilities 仅支持 iOS 驱动,比如 XCUITest Driver 和 deprecated UIAutomation Driver。

    51310编辑于 2022-06-29
  • 来自专栏从零开始学自动化测试

    Appium+python自动化21-DesiredCapabilities详解

    platformName": "iOS", "platformVersion": "11.0", "deviceName": "iPhone 7", "automationName": "XCUITest

    1.4K50发布于 2018-04-08
领券