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

查看:254
本文介绍了无法使用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 is also not of tag Select

推荐答案

我以前在使用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天全站免登陆