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

5 posts, 1 answers
  1. Daniel
    Daniel avatar
    13 posts
    Member since:
    Aug 2013

    Posted 04 Sep 2013 Link to this post

    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.
  2. Answer
    Cody
    Admin
    Cody avatar
    3354 posts

    Posted 04 Sep 2013 Link to this post

    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!
  3. Daniel
    Daniel avatar
    13 posts
    Member since:
    Aug 2013

    Posted 05 Sep 2013 Link to this post

    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
  4. Nithya
    Nithya avatar
    32 posts
    Member since:
    Aug 2016

    Posted 09 Jul in reply to Cody Link to this post

    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.

     

  5. Plamen Mitrev
    Admin
    Plamen Mitrev avatar
    90 posts

    Posted 09 Jul Link to this post

    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!
Back to Top