Need to stop the Execution of the Test suite when we encounter a Test case as Fail or Error

See my solution: