How to stop Robot Framework test execution if first testcase FAIL?

后端 未结 3 1608
伪装坚强ぢ
伪装坚强ぢ 2020-12-31 20:47

As shown in below robot file, I have three testcases. I want to stop the test execution, if TESTCASE1 fails. TESTCASE2 should be executed only if TESTCASE1 passes.



        
3条回答
  •  心在旅途
    2020-12-31 21:14

    --pause_on_failure, this will stop the execution, whenever script hit the error. Script execution won't be resumed unless you explicitly start.

提交回复
热议问题