unable to highlight objects in the TC script
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
unable to highlight objects in the TC script
Using TC 12.30.1651.7 I'm unable to highlight script text using the mouse. The highlighted text does not remain selected and so I cannot cut and paste script text. The script is the global functions and is about 2300 lines (no sure if there is a limit)
Has anyone experienced this issue. I'm about to request the program be reinstalled but not sure the actual problem.
Thanks, BMD
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried selection with keyboard, Sometimes it may get failure when you select with mouse in large number of lines.
Thanks
Shankar R
LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com
“You must expect great things from you, before you can do them”- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
