I want the for loop to keep executing even after the error occur in Selenium java using negative test cases in an if else statement. Some examples would really be helpful.