This is a migrated thread and some comments may be shown as answers.

Can't hit breakpoints using the Visual Studio plugin

9 Answers 174 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeff
Top achievements
Rank 1
Jeff asked on 31 Jan 2014, 05:22 PM
I'm using the Visual Studio plugin.  I can not hit any breakpoints and therefore can not debug any of my tests.  Any ideas?

Thanks, Jeff

9 Answers, 1 is accepted

Sort by
0
Velin Koychev
Telerik team
answered on 05 Feb 2014, 01:49 PM
Hello Jeff,

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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Jeff
Top achievements
Rank 1
answered on 05 Feb 2014, 11:26 PM
You are clicking on the "Test View" panel then right clicking on the test and selecting "Debug Selection".  I can't find the "Test View" panel anywhere.
0
Boyan Boev
Telerik team
answered on 10 Feb 2014, 12:31 PM
Hello Jeff,

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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Jeff
Top achievements
Rank 1
answered on 11 Feb 2014, 10:40 PM
I do not have "Test Tools" as an option under View > Tool Bars.
0
Boyan Boev
Telerik team
answered on 14 Feb 2014, 04:13 PM
Hi Jeff,

Which version of Visual Studio do you use exactly?

Hope to hear from you soon.

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Aaron
Top achievements
Rank 1
answered on 14 Jul 2016, 03:47 PM

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!

0
Boyan Boev
Telerik team
answered on 19 Jul 2016, 11:11 AM
Hi Aaron,

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
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Aaron
Top achievements
Rank 1
answered on 19 Jul 2016, 11:17 AM

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.

0
Boyan Boev
Telerik team
answered on 22 Jul 2016, 07:50 AM
Hi Aaron,

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
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Jeff
Top achievements
Rank 1
Answers by
Velin Koychev
Telerik team
Jeff
Top achievements
Rank 1
Boyan Boev
Telerik team
Aaron
Top achievements
Rank 1
Share this question
or