If you are interested in functional UI testing of your desktop applications, I would suggest you invest 15 min’s of your time to check out this video on Channel 9. A short description of the content:

“Coded UI tests can be created to automatically navigate through your application's UI, which in turn can be used to verify that the paths your users might take through your application are working properly. You can also add validation logic along the way to verify the properties of objects within the UI. Much like unit tests can quickly surface regressions on a method or function level, coded UI tests can bring the same level of rapid automated testing capabilities to the UI layer.”