Kostja
10 years agoContributor
Discard the Performance Counters in the test log
Hey guys,
i used the sample code on this page --> http://support.smartbear.com/viewarticle/55140/?utm_source=site-search&utm_medium=search-results&utm_campaign=site-search-c&utm_term=scripting+access&_ga=1.260708234.621782120.1429251315
and got my logs in a textfile. But the problem is there are also Performce Counters in the list and now i wanted to know if it is possible to discard the Performance Counters from the list.
Hi Kostja,
In the beginning of the ExportLogData function, check the Scheme.Name. If it's "Performance Counters", skip the rest of the function.// JScript
function ExportLogData(ALogData) { var Scheme = ALogData.Scheme; if (Scheme.Name == "Performance Counters") return;
// ...
}