How To: Run Coded UI Tests From Command Line
One of my previous posts about Coded UI I showed how to Run CodedUI Test From Another Application.
In this post I’ll show how to use Mstest to run Coded UI Tests thought command line.
- Open up with Visual Studio 2010 Command Prompt Window.
- Browse to your Test directory.
- Enter the following command prompt to run all tests
Mstest /testcontainer:TestProject.dll /test:CodedUITest1