one library named 'A.py'
from robot.errors import RemoteError
class A(object):
def fun(self,var):
if int(var)>5:
raise RemoteError('test','test',fatal=True,continuable=True)
one test named ''
*** Test Cases ***
test
Fun 10
Log 111
self.ROBOT_EXIT_ON_FAILURE = fatal
self.ROBOT_CONTINUE_ON_FAILURE = continuable
when fatal is 'True', no matter what continuable is,the test will exit at step 'Fun 10'. But if fatal is 'False' and the continuable is 'True',the test will run finished.