How to unit test the value of a control once a wpf form has loaded in Visual Studio?
Currently I'm testing visually by running the开发者_JS百科 app and looking at the form. How can I automate this with Visual Studio ?
If you have Visual Studio 2010 Ultimate you can use the Coded UI feature:
- Creating Automated Tests
and here's a walk through with WPF:
- Walkthrough: Creating, Editing and Maintaining a Coded UI Test
精彩评论