Forum Discussion
Do you know for sure that error test count and warning test count are non-zero inside your test? I would look at that first.
Yes, I verified that several of the tests that ran before I dumped the logs have errors. Interestingly, the "error count" field is > 0 but "error test count" = 0.
When the program stops, the log file that is created shows the correct error test count even though no new tests have been run. Unfortunately, I really need to get the error test count while the program is running. I was hoping to get this from the OnStopTest event handler.
- tristaanogre6 years agoEsteemed Contributor
Here's my guess... and I'm not certain about this... but I'd be willing to bet that those counters aren't flushed to disk until the very last steps of a test run. They are probably kept in memory until then to be sure that any last minute errors and/or warnings are tabulated.
I would suggest you contact SmartBear support directly to confirm this.
- TanyaYatskovska6 years agoSmartBear Alumni (Retired)
Hi booradley,
Have you contacted the Support Team? What was their suggestion?
Also, could you please make sure that you export the log after the error? We have tried exporting the log to the XML file, and it contains the correct number of errors.
Related Content
- 9 years ago
- 8 years ago
- 12 years ago
Recent Discussions
- 13 hours ago
- 2 days ago