Ask a Question

TestComplete 12.3 Code editor find string issue

santoshthenge
Occasional Contributor

TestComplete 12.3 Code editor find string issue

Hi TestComplete support,

      We have updated the Testcomplete 12.2 to 12.3. But in the Test complete 12.3 code editor we face issue like searching any string took much time by Alt+F.

 

If we are searching the string in the script file of code line is more than 25k.

 

You can reproduce the issue by follow steps

  • Create project
  • Create unit with line of code more 25k
  • Search any string in code script and see that for searching any testcomplete took more than 45 sec’s which is too much

Please help me testcomplete support team and as early as possible debug issue and come up with solution.

 

 

 

Thanks & Regards

Santosh Thenge

3 REPLIES 3
tristaanogre
Community Hero

Re: TestComplete 12.3 Code editor find string issue

This sounds like a request to be sent directly to the SmartBear support team.  You can do so by going to https://support.smartbear.com/message/?prod=TestComplete

 

In the meantime, something you can try is to go to Tools -> Options -> Panels -> Code Editor -> Display and turn off the Outlining features and Word wrap as these impact how the text of the code is formatted on screen. No guarentees that will work, but it's worth a try.

 

As a side note...  I'm leary of any code project, whether it is automation testing or application development, where a single unit of code has that many lines in it. 25,000 lines of code is a lot for a single code unit.  Have you considered modularizing your code more, breaking things out into shared libraries to reduce the length of your code units?  This would be easier to maintain, easier to manage when working with other team members to modify code, and generally a best practice overall.


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
santoshthenge
Occasional Contributor

Re: TestComplete 12.3 Code editor find string issue

Hi 

   This issue this TestComplete 12.3 only. In the old version of TestComplete 12.2 or 11 it is work fine. Search any string in the code editor with in sec's.

 If customer face issue like this than what is the of upgrading TC Version.

 

Regards

Santosh

 

  

tristaanogre
Community Hero

Re: TestComplete 12.3 Code editor find string issue

As mentioned, open a support case because it is an adverse change of behavior.  The link is in my previous message.  My other suggestions of turning off options were intended to keep you functional until a better resolution can be found.  And my final note is my observation based upon my experience, industry best practices, and common sense.  


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
cancel
Showing results for 
Search instead for 
Did you mean: