I found several blog posts about how to execute code UI tests using mstest utility, but I need to execute them from my C# application. I tried the simplest thing: I created
I had a similar problem when running with MSTest in C#. I'm using Selenium, so I marked my base class with the [TestClass] attribute. I need CodedUI to test file uploading. When I changed it to [CodedUITest] it worked.