How to data bind a Visual Studio 2013 Coded UI Test 05 January 2015 Donovan-Brown Work (0) Problem I need to run the same Coded UI Test with different data. Solution Data bind your Coded UI Test. To data bind a test in Visual Studio you just need access to the data source and add attributes to the test. For this example we are going to use a simply CSV file. So add a new t... [More]
How to change your default language in Visual Studio 12 December 2014 Donovan-Brown Work (0) Problem: I want to change my default languge in Visual Studio. Solution: Select Tools / Import and Export Settings... Select Reset all settings Click Next > I suggest backing up your current settings just in case you want them back. Select the default Language setup you want to use Cl... [More]
How do I remove test projects from code coverage in Visual Studio 2012 15 September 2013 Donovan-Brown Work (0) Problem: My code coverage results include my test project classes. Solution: Apply the ExcludeFromCodeCoverage attribute to your unit test classes.
KB2870699 breaks Coded UI Test 14 September 2013 Donovan-Brown Work (0) Problem: All my Coded UI Test start failing because they can't find the controls. Solution: Uninstall KB2870699 - MS13-069: Cumulative security update for Internet Explorer: September 10, 2013. Explanation: After my machine applied several windows updates all my Coded UI Test that were wo... [More]
How to set the “default” configuration for a project. 25 June 2013 Donovan-Brown Work (0) Being a Process Consultant specializing in TFS I teach many companies how to use Team Build. When you create a new build definition you have the option to set “Configurations to Build”. However, if you leave that value blank the build will build the “default” configurat... [More]
I can't access app.config from my web test plug in 26 April 2013 Donovan-Brown Work (0) Problem: I want to read the connection strings from my app.config of my Web Test Project but it never loads. Solution: Use the Configuration Manager OpenMappedExeConfiguration call to load the app.config file. Code: // Map the new configuration file.ExeConfiguratio... [More]
I don't trust 2012 Auto merge but it does it automatically. 31 January 2013 Donovan-Brown Work (0) Problem: I would like a chance to review the changes before having Visual Studio 2012 automerge my files. Solution: Disable the "Attempt to automatically resolve conflicts when they are generated. Explanation: When Visual Studio 2012 is installed it defaults with this option set. If you unche... [More]