Forum Discussion
Have you tried selection with keyboard, Sometimes it may get failure when you select with mouse in large number of lines.
Thank you but that does not work. If I have a line of code "var PropNames = new Array" and I but the course between the 'am' in name and hold shift and arrow right it application starts to highlight and then the highlighted text becomes un-highlighted and then the highlighting starts again. Once I stop all highlighted text changes to be un-highlighted. I have never seen this behavior in any software application before.
- BMD8 years agoContributor
Could this be a memory/resources issue and unrelated to Test Complete? This strangeness does not happen in other scripts currently only the globalfunctions that is about 2200 lines with about 150 functions.
- tristaanogre8 years agoEsteemed Contributor
It's possible. That's an AWEFULLY large file of code for script code. Have you considered breaking up your code into more manageable units?
- BMD8 years agoContributor
Thanks for the reply,
I'm thinking of doing just that but.... I have another project within the same suite that has 52 scripts but the largest is only 1350 lines. However a co-worker wrote one that is 5423 lines and has 95 different functions and that works fine. I'm leaning to creating a functions for the 'gets' one for the 'enters' and so on. This will take some time as these functions in the global are used in many other scripts and I'm not 100% sure this is the problem. Do you know is there a limit?
Related Content
- 5 years ago
Recent Discussions
- 18 hours ago
- 18 hours ago
- 5 days ago