为什么我得到异常“属性ControlName不是有效的搜索属性”? [英] Why am I getting the exception “The property ControlName is not a valid search property”?

查看:55
本文介绍了为什么我得到异常“属性ControlName不是有效的搜索属性”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在尝试构建一个用于测试遗留.NET应用程序的框架。我正在尝试构建对没有唯一
标识符的文本编辑字段的引用。编辑字段包含在一个具有可用ControlName属性的窗口中。

推荐答案

您好Peetunia,

Hi Peetunia,

抱歉延迟回复。

根据您的描述,controlname属性不足以找到控件。您需要其他独特属性才能找到它。 

According to your desription, the controlname property is not enough to locate the control. You need other unique property to find it. 

提示:请拖动十字准线以通过编码的UI测试构建器识别控件。

Tips: Please drag the crosshair to identify the control by the coded UI test builder.

我发现了类似的问题  此处。希望它可以帮到你。

And I found a similar issue here. Hope it can help you.

最好的问候,

Dylan


这篇关于为什么我得到异常“属性ControlName不是有效的搜索属性”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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