Performance Issues with objects using "Extended Find" in TC 11.20
I upgraded my TC installation from Version 10.x to TC Version 11.20.
With the new TC 11.20 installation I have to face performance problems with my tests which are using objects mapped via "Extended Find". Test runs consume approximately 30% to 40% more time than before.
I tried to add additional mapping levels in my NameMapping tree but it was not sufficient to speed-up the test execution.
A complete mapping of the affected objects is no option for me because the internal structure of the AUT is changing a lot.
Therefore tests stability across different versions of AUT is of primary importance for me.
My questions are:
- Am I the only one facing this performance problem?
- Is there a solution or workaround?
Regards,
Timo
I got a solution from the smartbear support. With the new TC 11.20 version the namemapping find algorithm was reworked.
In some cases this new algorithm is slower than the old algorithm from TC 10.
TestComplete can be launched with the "/UseOldFindAlgorithm" command-line argument. With this argument TC11.20 uses the old TC10 find algorithm.
You can do this in two ways:
1. Press the "Win" + "R" keyboard keys and execute the following command:
"C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\TestComplete.exe" /UseOldFindAlgorithm
2. Navigate to the Properties of the TestComplete shortcut and add the /UseOldFindAlgorithm command-line argument to the Target field:
"C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\TestComplete.exe" /UseOldFindAlgorithmThis solution also works for TestExecute. I just added the "UseOldFindAlgorithm" parameter to the TestExecute command-line calls in my batch-files.
Regards,
Timo