【问题标题】:Appium shows only a skeleton source with XCUIElementTypeOther for a ReactNative appAppium 仅显示带有 XCUIElementTypeOther 的 ReactNative 应用程序的骨架源
【发布时间】:2019-06-24 19:47:45
【问题描述】:

有没有人遇到过 appium 的问题,当你想让它打印你的 iOS (ReactNative) 应用程序的源代码时,它只会向你显示一个带有许多 XCUIElementTypeOther 但没有标签/名称/ID 的骨架?

【问题讨论】:

    标签: react-native appium react-native-ios webdriver-io appium-ios


    【解决方案1】:

    您可以使用 testID 属性为 iOS 添加测试 ID

    <View testID="your-test-id-here" />
    

    【讨论】:

      猜你喜欢
      • 2013-08-06
      • 2017-05-22
      • 1970-01-01
      • 2014-08-17
      • 1970-01-01
      • 2019-11-13
      • 2013-12-01
      • 1970-01-01
      • 2014-01-15
      相关资源
      最近更新 更多