Pass or Fail a test based on a log file size

Hi

During my tests, I am redirecting the console output of an executable to a txt file. At the end of the test I am verifying how big the log file is and then Pass or Fail the test if a given size has exceeded. How do I set a custom command up to Pass or Fail the step based on something like this.

Thanks

G

Gareth,

One of solution we could use is throwing exception if you want to make a test Fail.