Forum Discussion
rraghvani
11 months agoChampion Level 3
You can do code refactoring, but it requires careful thinking. Unfortunately, TestComplete is not Visual Studio, so it won't provide you with function/method statistics of usage.
You'll have to do search/find for functions and see if it's being used anywhere in code. This can be easily done in Notepad++ e.g. searching in all JavaScript files.
I've written my automation from scratch, and I've refactored it a few times. It's been designed in a way, where other testers can write scripts based on existing format/structure etc, and I also perform code review, to ensure they are following the format/structure.
Related Content
- 3 years ago
- 11 months ago
Recent Discussions
- 3 hours ago
- 10 hours ago
Working with Visual Test
Solved2 days ago