If this is not the right forum, plese move it to the right one, thanks :)
I'm trying to create a Coded UI test for my WPF application. I've never create one, I've always worked only with Unit Tests.
So, for start, I want to launch my application before the test run, so I tried to follow this steps: http://stackoverflow.com/questions/2776774/vs-2010-coded-ui-test-launch-referenced-application
The problem is that the deployment for the test is not working. I've created a settings.runsettings file:
<?xml version="1.0" encoding="utf-8"?><RunSettings><!-- Configurations that affect the Test Framework --><RunConfiguration><!-- Path relative to solution directory --><ResultsDirectory>.\TestResults</ResultsDirectory><!-- [x86] | x64 - You can also change it from menu Test, Test Settings, Default Processor Architecture --><TargetPlatform>x86</TargetPlatform><!-- Framework35 | [Framework40] | Framework45 --><TargetFrameworkVersion>Framework40</TargetFrameworkVersion></RunConfiguration><!-- Configurations for data collectors --><DataCollectionRunSettings><DataCollectors><DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName="Microsoft.VisualStudio.Coverage.DynamicCoverageDataCollector, Microsoft.VisualStudio.TraceCollector, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"><Configuration><CodeCoverage><ModulePaths><Exclude><ModulePath>.*CPPUnitTestFramework.*</ModulePath></Exclude></ModulePaths></CodeCoverage></Configuration></DataCollector></DataCollectors></DataCollectionRunSettings><!-- Adapter Specific sections --><!-- MSTest adapter --><MSTest><MapInconclusiveToFailed>True</MapInconclusiveToFailed><CaptureTraceOutput>false</CaptureTraceOutput><DeleteDeploymentDirectoryAfterTestRunIsComplete>False</DeleteDeploymentDirectoryAfterTestRunIsComplete><DeploymentEnabled>True</DeploymentEnabled></MSTest></RunSettings>
After that, I put this file in the solution folder and selected it as this article describes: http://msdn.microsoft.com/en-us/library/jj635153.aspx
But it did not work, the dlls are not copied to the output folder of the test.
BTW, I'm using Visual Studio 2012.
Take a look at WPF FlashMessage
About.me