【问题标题】:Not able to click on element in android mobile automation无法单击 android 移动自动化中的元素
【发布时间】:2022-01-12 10:52:22
【问题描述】:

Uiautomator 无法识别元素。我需要单击以蓝色突出显示的按钮(如图所示)。有人可以帮助我如何单击突出显示的按钮。当我使用 Uiautomator.. 捕获 XMl 时,应用程序没有为该按钮提取 xml 源

【问题讨论】:

  • 请附上xml

标签: mobile automation appium appium-android


【解决方案1】:

如果您无法使用 uiautomator 查看器获取 xml 层次结构,您可以使用appium inspector 获取被测应用程序的 xml 布局。

【讨论】:

    猜你喜欢
    • 2023-03-19
    • 2020-04-09
    • 1970-01-01
    • 1970-01-01
    • 2020-08-15
    • 2018-12-18
    • 2018-11-19
    • 2020-01-04
    • 1970-01-01
    相关资源
    最近更新 更多