Forum Discussion
AlexeyKolosov
Staff
16 years agoHi Andrei,
That is correct. That is why, you also need to add the following code to each of the problematic routines:
function SomeTestItem() {
var ErrCount = Log.ErrCount;
...
// Your test's code
...
// If the execution log contains errors, save the routine call
if (Log.ErrCount > ErrCount) {
a[totalFailed] = "Test();"
totalFailed++
}
}
Pay attention to the difference between this code and the code for the last test item provided in my previous message.