BPT - Check if a component has failed
As we all know in BPT a test case comprises of many components put together.
Now the best practice would be when a component fails we stop the entire BPT test rather than continue testing, so here is a simple code that will do just that:
If Reporter.RunStatus = micFail Then ExitTest
Can it get easier than this? :P