Forum Discussion

googleid_104927's avatar
googleid_104927
Contributor
12 years ago

Extreme slow behavior during test execution

I am using testcomplete 9.3. 

I have a script where the first execution of the loop is pretty fast and it almost takes an hour to run the second loop. 

I must run be running 250 such loops. 

If I am doing something wrong here let me know or is this an issue with tescomplete itself? 



Below is my code: 




 for i = 0 to appcount


          NameProperty = Array("RecordClass","WndClass","Bookmark","Col", "Row")


          ValueProperty = Array("TG60.ApexGrid32.20", "TG60.ApexGrid32.20",i+1,"15",i)


         set newProps = aliases.TestObj.find(NameProperty,ValueProperty,10)    ---> this is where my application freezes from second run onwards


            if newProps.exists then


            a = a + newProps.SelText & "    " & i


            log.Message a


            end if             


          next 

3 Replies

  • Hello Tanya,



    Yes, I tried the suggestions given and still no luck in eliminating the performance lag. 



    I even tried launching the ReportGenerator to take a memory dump, but the ReportGenerator is just increasing the CPU Usage to 100% and crashing the server where we have testcomplete installed.



    Note: we use citrix and testcomplete is installed on a remote server. 



    I have reported a similar issue, Reference #:  M0119954



    Cheers