googleid_104927
12 years agoContributor
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
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