How to debug the code which is written in customized code using C#?

11 posts, 0 answers
  1. Sandeep
    Sandeep avatar
    4 posts
    Member since:
    May 2011

    Posted 04 May 2011 Link to this post


    I have written customized code using C#. I have given breakpoint in customized code step in Data driven test. When i execute the steps, it is waiting in the breakpoint but not able to debug the code. How to debug the code? Can you please suggest me the same.
  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 04 May 2011 Link to this post

    Hi Sandeep,

    You are using the QA edition, correct? The QA edition does not have any source code debugging features. You can only do source code debugging within Visual Studio using our Visual Studio plug-in version.

    Best wishes,
    Cody
    the Telerik team
    Do you think you know all the new features coming out in Test Studio R1 2011? Think again - we have some surprises and will share them with you in the What's New in Test Studio R1 2011 Webinar on May 12th.
    Register Today!
  3. Sandeep
    Sandeep avatar
    4 posts
    Member since:
    May 2011

    Posted 05 May 2011 Link to this post

    Thanks for the reply!!!
    How to add Visual Studio plug-in version in QA edition? How to integrate both? Can you please provide steps for integration and also use Visual Studio plug-in version when execution steps are there in QA edition.
    Also we are trying to validate the tree control (silverlight application) in which child node are dynamically through the application,  we want to test whether child node are added correctly or not to the tree. we are trying to validate with C# Customized code. We have reference for the parent node(ParentLeftmousebuttondowntreeviewitem) for that newly added to child. Parent node(ParentLeftmousebuttondowntreeviewitem) object type is TreeViewItem which is silverlight application object (refer attached file - ParentNodeInfo.jpg). But child node object mentioned as FrameworkElement object. For parent node (ParentLeftmousebuttondowntreeviewitem) property Children had collection of IList<FrameworkElement> (refer attached file - ParentNodeInfo.jpg). Is it possible to type cast child object FrameworkElement as TreeViewItem to get child node name. or can we use "Find Expression builder" which uses XPath expression  to identify dynically added child node, Is there any sample code to help me out.
  4. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 12 May 2011 Link to this post

    Hi Sandeep,
        the Visual Studio Plugin (also referred to as Test Studio Express) is part of Test Studio. You currently seem to be using Test Studio Trial version. If you install it on a machine with Visual Studio 2008 or 2010 the VS plugin will be installed automatically and you can use it. If you don't have VS installed you will need to get it in order to use the plugin. Check out our user guide section on this here:
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/create-your-first-test/web-test.aspx
     
    Regards,
    Stoich
    the Telerik team
    Do you think you know all the new features coming out in Test Studio R1 2011? Think again - we have some surprises and will share them with you in the What's New in Test Studio R1 2011 Webinar on May 12th.
    Register Today!
  5. Madhu
    Madhu avatar
    23 posts
    Member since:
    Dec 2010

    Posted 12 May 2011 Link to this post

    Hello Stoich,

    Thanks for support.

    We are also using QA edition, in order to install visual studio plug-in, full version of Visual Studio required or Express edition is enough?

    Thanks,
    Madhu.
  6. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 13 May 2011 Link to this post

    Hi Madhu,

    The system requirements are documented here. We do require VS professional or above. VS Express does not include the test components that we rely on.

    Best wishes,
    Cody
    the Telerik team
    Do you think you know all the new features coming out in Test Studio R1 2011? Think again - we have some surprises and will share them with you in the What's New in Test Studio R1 2011 Webinar on May 12th.
    Register Today!
  7. Mark
    Mark avatar
    22 posts
    Member since:
    May 2011

    Posted 27 Jul 2011 Link to this post

    Hi Telerik Team,

    How can we fully utilize the debug feature for QA Edition?

    And what is the purpose of it for QA edition?

    Thanks.
  8. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 28 Jul 2011 Link to this post

    Hello Mark,

    The QA edition (now referred to as the Standalone version) does not have any source code debugging features. You can only do source code debugging in Visual Studio using our VS Test Studio plug-in.

    Greetings,
    Anthony
    the Telerik team
    Check out the Test Studio roadmap to find out more about the new performance testing functionality coming in our R2 2011 release this September!

    Have you looked at the new Online User Guide for Telerik Test Studio?
  9. ngoc cuong
    ngoc cuong avatar
    1 posts
    Member since:
    Nov 2009

    Posted 02 Dec 2013 Link to this post

    Dear Telerik Team!
    I'm a new member, and i have a problem that need Telerik Team' helping, Can you help me debug Telerik in visual studio in step by step? i setup visual studio 2010 and telerik already, but i don't know how to debug them..... i feel it's different between debugging telerik in visual studio and debugging in visual studio (using C# programming), it reallys necessary for me to understand how to debug delerik in visual studio, thanks in advanced for helping.
  10. Rodney
    Admin
    Rodney avatar
    6 posts

    Posted 05 Dec 2013 Link to this post

    Hi Ngoc Cuong,

    Check out our video on Telerik TV explaining how debugging coded steps works for the Test Studio Plugin in Visual Studio 2010 and 2012. You can find the video here:

    http://tv.telerik.com/watch/automated-testing-tools/debugging-coded-test-steps-in-visual-studio


    Regards,
    Rodney
    Telerik
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  11. Nguyen
    Nguyen avatar
    1 posts
    Member since:
    Nov 2013

    Posted 09 Dec 2013 Link to this post

    Dear Rodney,
     Thanks so much for your support, for now i can debug step by step..... thank you

    Regard,
    Ngoc Cuong
Back to Top