Forum Discussion
To comment out multiple lines at once in TestComplete BDD scenarios!
Try this shortcut key:
Ø Select the lines you want to comment out by holding down the Shift key and clicking on each line.
Ø 2. Right-click on one of the selected lines and choose "Comment Out" (or press Ctrl+Shift+C on Windows or Command+Shift+C on Mac).
All selected lines will now be commented out
This shortcut works for commenting out multiple lines in BDD scenarios, just like it performs in scripts.
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
thanks for your response but unfortunately this does not work.
First of all, I dont have an option to choose "Comment Out" and the ctrl+shift+c does not work. Do I need to activate this option somewhere first?
I am using testcomplete 15.42.9.7 version
- rraghvani9 months agoChampion Level 3
Unfortunately, these buttons only comment out script code and not the scenario.
I don't think it's possible to do this in TC.
- TestCoeUs13379 months agoOccasional Contributor
Thank you.. is there a way to make a suggestion? My team would definitely use this feature.. especially useful for when de-selecting certain test data for example.
- rraghvani9 months agoChampion Level 3
Create a TestComplete Feature Request.
Related Content
- 3 years ago
Recent Discussions
- 13 minutes ago
- 24 hours ago
- 7 days ago
- 11 days ago