Forum Discussion
Log.ErrCount returns the number of error messages (that is, messages added via Log.Error) posted to the test log during the current run of the current test item.
In this example, I'm calling Log.Error() method twice, and Log.ErrCount shows 2
If I stop the automation after the first Log.Error() during the 10 seconds, then Log.ErrCount shows 1
Which is normal behaviour.
rraghvani wrote:Log.ErrCount returns the number of error messages (that is, messages added via Log.Error) posted to the test log during the current run of the current test item.
In this example, I'm calling Log.Error() method twice, and Log.ErrCount shows 2
If I stop the automation after the first Log.Error() during the 10 seconds, then Log.ErrCount shows 1
Which is normal behaviour.
Yes i undestand that and thats the problem.
Which is normal behaviour.
Normal behaviour doesnt mean its good.
Related Content
- 3 years ago
- 4 years ago
- 2 years ago
- 8 months ago
Recent Discussions
- 9 hours ago
- 14 hours ago