RE: How to ignore a tastcase which fails and start executing further on a same TESTSUIT
I have a Test-suit contain 100 testcases.
Now if suppose my 5 testcase fail then it jump to exception block and my testsuit stop executing for further testcases of same testsuit.
Is there is any way that even if any testcase fails and jump to exception block then TestNG ignore that testcase and start executing further Test cases of respective Testsuit.
But I have already use these statement and its only help me to log the errors.
Suppose some element is not found out in testcase5 from my TESTSUIT1 . Now How I can handle this Exception. In this case the my Entire TestSuit stop and it will start executing my TESTSUIT2 testcases.
My requirement is that I want to skip that testcase5 at runtime only(Because we cant predict which element and on which testcase the error going to come ) and it should start executing testcase6 from my TESTSUIT1 again(While if framework store the error of testcase5 in log as well).