9 Answers, 1 is accepted
If you are using Visual Studio 2010, on Test View window, right click on the test and select the option Debug Selection. It is very similar with Visual Studio 2012.
I have recorded a short video for demonstration.
If you continue to experience any issues, please record a short video to show us the issue you are experiencing. Jing is great for this.
Looking forward to hearing from you.
Regards,
Velin Koychev
Telerik
Test Studio Trainings
You can pull it out from Test Tools toolbar.
Please see the attached screen shot.
Let me know if this helps.
Regards,
Boyan Boev
Telerik
Test Studio Trainings
Which version of Visual Studio do you use exactly?
Hope to hear from you soon.
Regards,
Boyan Boev
Telerik
Test Studio Trainings
Should this same functionality work with WPF applications in Visual Studio 2015 Enterprise?
Mine fails to launch the application, giving the following error (I do in fact have an application configured for launch):
Test Name: Online Maps - OpenStreetMap Normal
Test FullName: C:\Client\dTIMS v95 Automated Testing\Mapping\Online Maps\Online Maps - OpenStreetMap Normal.tstest
Test Source: C:\Client\dTIMS v95 Automated Testing\Mapping\Online Maps\Online Maps - OpenStreetMap Normal.tstest : line 1
Test Outcome: Failed
Test Duration: 0:00:05.6123466
Result Message:
------------------------------------------------------------
'2016-07-14 11:45:07 AM' - Executing test: 'Online Maps - OpenStreetMap Normal', path: 'Mapping\Online Maps\Online Maps - OpenStreetMap Normal.tstest.'
'2016-07-14 11:45:07 AM' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2016.2.630.0'.
'2016-07-14 11:45:07 AM' - Starting execution....
'2016-07-14 11:45:07 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'2016-07-14 11:45:07 AM' - System.Exception: Unable to detect an application to launch for test 'Online Maps - OpenStreetMap Normal'. 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)
------------------------------------------------------------
'2016-07-14 11:45:07 AM' - Test completed!
How do you launch the test exactly? Do you run it form the Test Explorer selecting Debug Selected Test?
Do you want to debug a WPF test?
Please share with use more detailed information.
Thank you!
Regards,
Boyan Boev
Telerik by Progress
Test Studio Trainings
Hi Boyan,
I'm trying to use this to debug the occasional section of a WPF test (more specifically some code in a code-only file that I use).
Yes I am trying to launch it from the test explorer by selecting Debug Selected Test.
I am not able to reproduce such a behavior. I am able to debug a WPF test.
Could you please send me a sample project so I can study it.
Thank you!
Regards,
Boyan Boev
Telerik by Progress
Test Studio Trainings