I'm working on an automated test suite for a large WPF application. I've created a wrapper library for Microsoft Windows Automation API (previously known as UI Automation Framework), and I use it in order to implement various sanity tests. My team would like to do Continuous Integration with these tests by running them every check-in. We're working with TFS (2012 I believe) and MSTest.
The problem with these tests is that they require the UI to be up and running to actually run the tests. I guess the idea is to copy the built binaries to a remote VM and run the tests with the Remote Agent, but I'm not entirely sure on where to begin.
Has anyone ever done this before and has any code / build workflow XAML examples for achieving something like this?