无法使用 UIAutomatorViewer 检查下拉元素 [英] Not able to inspect element of drop down using UIAutomatorViewer

查看:23
本文介绍了无法使用 UIAutomatorViewer 检查下拉元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从 Android 上的下拉列表中选择选项,但我无法检查下拉元素.此外,这些元素也不存在于层次结构中.

I want to select options from drop down on Android but I am not able to inspect element of drop down. Also these elements are not present in hierarchy as well.

我可以浏览层次结构并检查其他控件,但无法检查下拉列表的元素.UIAutomatorViewer 只是不允许我单击下拉列表.相反,它在下拉列表下的元素周围显示一个蓝色矩形.我尝试过 uiautomatorviewer、hierarchyviewer 以及 Appium Inspector,这三个都有同样的问题.有什么办法可以解决这个问题吗?

I can browse the hierarchy and inspect other controls, I can't inspect the elements of a drop down list. UIAutomatorViewer just doesn't let me to click the drop down list. Instead, it shows a blue rectangle around the element which is under the drop down list. I have tried uiautomatorviewer, hierarchyviewer as well as Appium Inspector and all three have the same problem. Is there any way to work around this?

Dropdown 也不是标签 Select

Dropdown is also not of tag Select

推荐答案

我能够在 Note 上找到该元素,之前我使用的是 Tab问题仍然存在于 Tab 上,但通过使用 Note 我可以点击该元素.

I am able to locate that element on Note previously I was using Tab Issue is still there on Tab but by using Note I am able to click on that element.

谢谢大家的回复

这篇关于无法使用 UIAutomatorViewer 检查下拉元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆