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

Test Studio Integrated Code Editor - Commenting out large blocks of code

4 Answers 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 2
Daniel asked on 04 Sep 2013, 08:22 PM
I'm relatively new to Test Studio, but have been using the script test functionality along with a Utility Class since I started.

Is there any key combination I am missing that will comment out a line of code or a highlighted block of code?  I've tried all I can think of, and none seem to be getting the job done.

Generally I develop the functionality in a coded step and them move it into the Utility Class to reuse, however a lot of the time I need to comment out sections as I make sure other parts work.

Manually commenting out 10-30 lines at a time can be bit monotonous.  The only other option I can use is to just cut the code blocks out into a temporary file, which is also inconvenient.

4 Answers, 1 is accepted

Sort by
0
Accepted
Cody
Telerik team
answered on 04 Sep 2013, 10:29 PM
Hello Daniel,

I'm am sorry but the code editor built in to Test Studio standalone is not as feature rich as Visual Studio. I know the key combination you're thinking of that works very well in Visual Studio, but there's no equivalent in Test Studio. We have many things like this on our TODO list, but don't have target dates set for them (yet).

If you have Visual Studio, and you need to do a lot of code changes, I recommend using Visual Studio and our plug-in. You get all the record and playback and test maintenance features that you get with Test Studio. Plus you get all the code editing features that come with Visual Studio. You can even open the same project on disk in both products (just not concurrently), so you can switch back and forth as needed.

All you're missing by using our VS plug-in is:

  • Performance testing
  • Load testing
  • Test Studio test lists
  • Scheduling tests to a Test Studio scheduling server

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Daniel
Top achievements
Rank 2
answered on 05 Sep 2013, 11:51 AM
Cody,

Thank you.  I was falsely under the impression that once a project was opened in Test Studio that is could not be opened again in Visual Studio, or vice-versa.  This is good news to hear.

Thanks,

Dan Clark
0
Nithya
Top achievements
Rank 1
Veteran
answered on 09 Jul 2019, 09:13 AM

Hi Cody, 

I have a similar question for commenting the multiple lines of code in the code editor.. I got this post when searching for the answers.

As you mentioned, there is no feature to comment out multiple blocks of code.. But this post was few years back.. i want to know, is this feature now added in Test studio now ? or still not ? Please provide your answers..

 

Regards, 

Nithya A.

 

0
Plamen Mitrev
Telerik team
answered on 09 Jul 2019, 01:05 PM
Hello Nithya,

Daniel actually logged a public feature request that we are planning to include in our future releases. I can not promise, when it will be implemented, but you can vote for it to increase its importance. This way it will have higher priority, when we evaluate the feature requests. You can also follow the feature request to get notifications for its progress.

Thank you for sharing your feedback.

Regards,
Plamen Mitrev
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 2
Answers by
Cody
Telerik team
Daniel
Top achievements
Rank 2
Nithya
Top achievements
Rank 1
Veteran
Plamen Mitrev
Telerik team
Share this question
or