Forum Discussion
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?
I don't know if there is any limit built in to TC itself... however, there maybe a limit due to hardware performance of the machine on which you're doing your work. What that is, I can't say, but that is a possibility.
- Marsha_R7 years agoChampion Level 3
To narrow this down, use Task Manager to close every app you can on your computer except TestComplete and your app under test. Free up all the memory you can and try the text selection again. Chrome and Firefox and MSWord and a few other tools are memory hogs and maybe you just need to keep a few things closed when you are working in TC.
- BMD7 years agoContributor
Thanks,
I have moved about 500 lines out of the globalfunctions script and created a globalfunctionsgets these functions get a value from the web application during the test. After rebooting and ONLY starting test complete the ‘text select’ problem remains for the globalfunctions script. This is not happening in the new script. Test complete is using about 270,000K of memory on startup of the 8G total. Going to request more memory and a fresh install of test complete.
Related Content
Recent Discussions
- 2 days agoGane195