Forum Discussion
Hi,
One precaution based on real experience before you went too far this way:
a) TestComplete does not provide any intellisense or navigational means that display those internal functions;
b) Internal functions cannot be 'included' from another file and all their body must be provided inline.
The result of the two points from above will be that you will get a long file with no hints as for what internal functions it contains and the means to quickly navigate to them.
So you will have to remember the internal contents of the top-level functions (or manage this content some other way) and code debugging will be less convenient as well.
In the inherited progect that I mentioned as real experience we refused from internal functions as it was too inconvenient.
There are a few feature requests to allow the intellisense to include these internal methods and better support classes when using JavaScript, the day that is implemented will make me sooooo happy.
Related Content
Recent Discussions
- 6 hours agoSvetaG