I created a Coded UI Test from a Microsoft Test Manager recording. The exe it runs is the one the tester recorded against.
I want this to be a test I run with my build. How do I change the exe that the coded UI test uses to be the output of:
- The TFS Build when a TFS Build is being run
- The local build when the test is being run on my machine.
I do NOT need help adding my Coded UI test to my TFS Build. There are several great posts on that already.
I don't have ApplicationUnderTest.Launch
. I have this.UIMap.StartApplication();
which then runs generated code (in CodedUI.Designer.cs). Best Practices for Coded UI tests says "Do not edit the UIMap.designer.cs file directly. If you do so, the changes to the file will be overwritten."