编码的UI:如何从列表中选择当我们单击“测试"构建器上的十字线工具时会关闭的元素 [英] Coded UI :How to select element from list which get closed when we click crosshair tool on Test builder

查看:74
本文介绍了编码的UI:如何从列表中选择当我们单击“测试"构建器上的十字线工具时会关闭的元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<表> <身体>

在使我的应用程序自动化时,我遇到了某些按钮/下拉列表列表,当我单击该列表时 显示列表项.

我正在尝试使用编码的Ui测试生成器捕获这些列表项,但是如果我单击十字线图标,则列表将关闭.

我也尝试使用WindowsLogo + i进行捕获,如工具提示所示,但它将打开设置窗口. (Windows 10)

那么,有什么我可以捕获这些类型的元素的原因吗?

或可以建议使用Name属性选择项目的代码.

解决方案

朋友

我在自己的身边进行了测试,在使用vs2010时,我在Windows 10中遇到了与您相同的问题.

但是它在我也测试过的Windows 7中可以正常工作.

我已帮助您提交了有关Microsoft连接的反馈,您可以对其进行评论和投票.我认为Microsoft的工程师会认真评估它.

https://connect.microsoft.com/VisualStudio/feedback/details/3118638

请将此回复标记为答案,这将对其他与您遇到相同问题的人有所帮助,他们会注意到该问题,并投票对该反馈进行评论.提前致谢.

最诚挚的问候

弗莱彻


While automating my application i came across certain button/ drop-down list,When i click on that list items get displayed.

I'm trying to capture these list items using coded Ui test builder , but if i click crosshair icon then list will be closed.

I also tried to capture using WindowsLogo+i as it show on tool tip, but it will open setting window. (Windows 10)

so, Is there any why i can capture these type of elements ?

or can suggest code to select Item using Name property.

解决方案

Hi friend,

I tested it in my side, and I encountered the same issue as yours in windows 10 while I am using vs2010.

But it works fine in windows 7 which I also tested.

I've helped you submit a feedback to Microsoft connect, you could comment on and vote it. I think the engineers of Microsoft will evaluate it seriously.

https://connect.microsoft.com/VisualStudio/feedback/details/3118638

Please mark this reply as answer which will be helpful to others who get the same issue as yours, they'll notice it and go to vote this feedback and comment on it. Thanks in advance.

Best regards,

Fletcher


这篇关于编码的UI:如何从列表中选择当我们单击“测试"构建器上的十字线工具时会关闭的元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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