Completed
Last Updated: 23 Feb 2015 21:24 by Chad
ADMIN
Cody
Created on: 11 Sep 2014 16:27
Type: Bug Report
0
Running a WPF test in VS Test Explorer does not work with "Use Default Path"
When a WPF test is set to "Use Default Path", when you attempt to run it in VS Test View or VS Test Explorer it will always fail with the following error:

------------------------------------------------------------
'9/11/2014 11:08:34 AM' - Executing test: 'WpfTest1', path: 'WpfTest1.tstest.'
'9/11/2014 11:08:34 AM' - Using .Net Runtime version: '4.0.30319.18444' for test execution. Build version is '2014.3.903.0'.
'9/11/2014 11:08:34 AM' - Starting execution....
'9/11/2014 11:08:34 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'9/11/2014 11:08:34 AM' - System.Exception: Unable to detect an application to launch for test 'WpfTest1'. Make sure you configure an application for this test by clicking on 'Configure' from the 'Record' tab.
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWpf(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'9/11/2014 11:08:34 AM' - Test completed!
3 comments
Chad
Posted on: 23 Feb 2015 21:24
I am facing a similar issue. I created a standalone Test Studio project and then Exported it to Visual Studio. In Visual Studio, I followed all the steps necessary to allow to run the test case from Microsoft Test Manager (I was able to do this successfully with the VS Telerik plugin). I created a .testsettings file and set the location for my default application path but when I run the test case in Microsoft Test Manager, I still get the error below. Any thoughts on this?

'2015-02-23 1:51:39 PM' - System.Exception: Unable to detect an application to launch for test 'telerik_mtm1'. Make sure you configure an application for this test by clicking on 'Configure' from the 'Record' tab.
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWpf(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
C4I Consultants
Posted on: 12 Dec 2014 17:38
Could you add the specific steps to configure this please.
ADMIN
Daniel Djambov
Posted on: 16 Sep 2014 11:12
Telerik: this is expected (not best user friendly) specific behavior and requires additional configuration for Visual Studio - solution must have a .testsettings file added, in which in the Telerik section the WPF application path should be configured in order to properly work WPF execution from Test View