How to not stop execution after assertion fails? [duplicate]
问题 This question already has answers here : How to continue execution when Assertion is failed (5 answers) Closed 4 years ago . I'm using Selenium WebDriver + Java + TestNG for automation. In my test methods, sometimes there are more than one assertions. Suppose, there are four assertions and second assertion fails, then rest of the execution is terminated. What I want is - even after second assertion fails, code after it should be executed. And at the end(after test method is executed), it