编码的 UI 测试生成器:验证文本框中的文本属性
我使用 Coded UI Test Builder 在 WPF 应用程序上创建自动手动用户输入测试。
在我的一项测试中,设置对话框的许多文本框必须填充不同的值。最后必须保存设置。
稍后,新保存的设置将再次打开,并且必须验证文本框中的当前设置。
创建自动手动输入设置并保存输入是没有问题的。
但我现在看到了保存新设置后测试文本框值的方法。
有什么建议吗?
I use Coded UI Test Builder to create automated manual user input test on a WPF applcation.
In one of my tests many textboxes of Setting dialog box must filled with different values. At the end the settings must be saved.
Later the newly saved settings have be opened again and the current settings in the textboxes must be verified.
It's no problem to create a automated manual input of the settings and save the input.
But I see now way to test the values of the textboxes after saving the new settings.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
编码 UI 测试生成器提供了在 UI 控件上添加断言的功能。
检查这个:http://msdn.microsoft.com/en-us/library/ dd286671.aspx
The Coded UI Test Builder provides the ability to add assertions on the UI controls.
Check this: http://msdn.microsoft.com/en-us/library/dd286671.aspx