Can't hit breakpoints using the Visual Studio plugin

10 posts, 0 answers
  1. Jeff
    Jeff avatar
    16 posts
    Member since:
    Sep 2013

    Posted 31 Jan 2014 Link to this post

    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
  2. Velin Koychev
    Admin
    Velin Koychev avatar
    88 posts

    Posted 05 Feb 2014 Link to this post

    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
  3. Jeff
    Jeff avatar
    16 posts
    Member since:
    Sep 2013

    Posted 05 Feb 2014 in reply to Velin Koychev Link to this post

    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.
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 10 Feb 2014 Link to this post

    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
  5. Jeff
    Jeff avatar
    16 posts
    Member since:
    Sep 2013

    Posted 11 Feb 2014 in reply to Boyan Boev Link to this post

    I do not have "Test Tools" as an option under View > Tool Bars.
  6. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 14 Feb 2014 Link to this post

    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
  7. Aaron
    Aaron avatar
    31 posts
    Member since:
    May 2016

    Posted 14 Jul Link to this post

    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!

  8. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 19 Jul Link to this post

    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
     
  9. Aaron
    Aaron avatar
    31 posts
    Member since:
    May 2016

    Posted 19 Jul in reply to Boyan Boev Link to this post

    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.

  10. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 22 Jul Link to this post

    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
     
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!