g_kucharski
12 years agoOccasional Contributor
Extremly slow Array proccessing (VBS)
Hi,
writting a VBS to test .net app based on Janus GridEx.
I managed to get data from two GridExes into two different Arrays. Now I want to compare the data.
The arrays are about (5,6) filled with decimal numbers. TC fails to proccess them - I get a minute lag when moving to next records and the test timeouts. Does TC has a performance issue with arrays or am I doing sth terribly wrong?
writting a VBS to test .net app based on Janus GridEx.
I managed to get data from two GridExes into two different Arrays. Now I want to compare the data.
For i = Lbound(ArrNew,1) to Ubound(ArrNew,1)
For k = Lbound(ArrNew,2) to Ubound(ArrNew,2)
newV = ArrNew(i,k)
refV = ArrRef(i,k)
log.Message newV
log.Message refV
next
next
The arrays are about (5,6) filled with decimal numbers. TC fails to proccess them - I get a minute lag when moving to next records and the test timeouts. Does TC has a performance issue with arrays or am I doing sth terribly wrong?
42,577185 17:56:13 Normal
42,577185 17:56:13 Normal
29,511006 17:56:14 Normal
29,511006 17:56:14 Normal
VBScript runtime error. 17:57:14 Normal
This operation was canceled because the method invoke timeout has expired.
Error location:
Unit: "VBS_GEN1\VBS_1\Script\Estimate"
Line: 324 Column: 7.
regards