编码的UI - 测试生成器无法识别所有控件属性 [英] Coded UI - Test Builder not identifying all control properties

查看:103
本文介绍了编码的UI - 测试生成器无法识别所有控件属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的测试构建器未在表单属性中设置/声明控件的所有属性。对于少数控件或不正确,它要么是空的。如何更改这些属性的可访问性,以便我的测试构建器可以在表单属性中设置正确的
属性。
My test builder is not identifying all properties of a control as set/declared in form properties. It is either empty for few controls or improper. How to change the accessibility to these, so that my test builder can identify the properties exactly as set in form properties.

推荐答案

Hi Narayan , 

Hi Narayan, 

感谢您的发布。 

Thanks for your posting. 

这是一个WinForm应用程序吗?我使用TabControl创建了一个简单的WinForm应用程序,我可以毫无问题地冷访问它。 

Is it a WinForm application? I created a simple WinForm application with TabControl, and I cold access it with no problem. 

我通过右击控制属性更改了设计名称:

I changed the Design name via right clicking the control property:

我可以使用编码的UI测试来访问它:

And I could access it by using Coded UI testing:

所以请使用你已经像上面显示的那样正确设置了设计名称。 

So please make use you've set the design name properly like mine shown above. 

 

问候, 

Fletcher 

Fletcher 


这篇关于编码的UI - 测试生成器无法识别所有控件属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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