Referring a funtion in the test item tree takes a lot of time
Opening the 'Select test'-Window takes a lot of time to popup. Is it possible to load the units first, then select a unit, and after that choose a funtion from that unit instead of loading all functions of all units in the project?
> only a few dozen are real Testing-routines, the rest are utility-routines.
If those utility routines are not required for test routines execution then move them to the separate project.
If test routines cannot execute without utility routines, then consider your code base optimization, because it is not TestComplete, but underlying scripting language system runtime (JScript, VBScript, ...) which does not support dynamic code modules loading and require all scripting code to be loaded in memory and 'precompile' before execution.
/Alex [Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
thanks for the reply. With Testing-routines I mean those routines that are the start of the test. The Utility-routines are called within the testing-routines, which do the actual work (build testdata, ui-testing, excel-work, destroy testdata etc), so required for the test and therefore in the project.
Routines are Routines in TestComplete. It doesn't distinguish between the two when it comes to running a script routine from someplace else.
Something you can consider is moving your utility routines into Script Extensions. That way they aren't showing up as "test" routines.
[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