Test shows passed when there is error

I am running Browser Library test on mac.
I have implemented api test but test passed even there is error.
Test only fail for the Browser Library test when there is error.
What should I configure so that python libraries that are not Browser library
to return fail when there is error.

Either:

  1. Your python code should throw an exception in case of error or
  2. it should return something and your rf code should check if the returned value(s) are what they should be and if not, use Fail keyword …
2 Likes

Thanks
Got it working now.
You are right, after debugging I found out that
python exception was not execute.

1 Like