Run Coded UI test from console application
问题 I'm fighting running a coded ui test from a console application. I did the following (As the internet says) Solution with 2 Projects: ColorChanger.app / ColorChanger.test the console application has a reference to the test project and to Microsoft.VisualStudio.TestTools.UITesting I would like to call the test like this: static void Main(string[] args) { Playback.Initialize(); var test = new CodedUITest1(); test.change(); Playback.Cleanup(); } I get the error "System.IO.FileNotFoundException