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

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

10 Answers 606 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sandeep
Top achievements
Rank 1
Sandeep asked on 04 May 2011, 02:35 PM

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.

10 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 04 May 2011, 07:56 PM
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!
0
Sandeep
Top achievements
Rank 1
answered on 05 May 2011, 03:33 PM
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.
0
Stoich
Telerik team
answered on 12 May 2011, 11:43 AM
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!
0
Madhu
Top achievements
Rank 1
answered on 12 May 2011, 03:04 PM
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.
0
Cody
Telerik team
answered on 13 May 2011, 08:15 PM
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!
0
Mark
Top achievements
Rank 1
answered on 28 Jul 2011, 02:21 AM
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.
0
Anthony
Telerik team
answered on 28 Jul 2011, 03:32 PM
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?
0
ngoc cuong
Top achievements
Rank 1
answered on 03 Dec 2013, 02:39 AM
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.
0
Rodney
Telerik team
answered on 05 Dec 2013, 11:42 PM
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
0
Nguyen
Top achievements
Rank 1
answered on 10 Dec 2013, 04:10 AM
Dear Rodney,
 Thanks so much for your support, for now i can debug step by step..... thank you

Regard,
Ngoc Cuong
Tags
General Discussions
Asked by
Sandeep
Top achievements
Rank 1
Answers by
Cody
Telerik team
Sandeep
Top achievements
Rank 1
Stoich
Telerik team
Madhu
Top achievements
Rank 1
Mark
Top achievements
Rank 1
Anthony
Telerik team
ngoc cuong
Top achievements
Rank 1
Rodney
Telerik team
Nguyen
Top achievements
Rank 1
Share this question
or