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
- 10 months ago
- 4 years ago
Recent Discussions
- 11 hours ago
- 7 days ago
- 10 days ago