I have the following issue while try-catch is executed. The “continue” on execution I get the following output . Any ideas why?
My code below:
try{
//my steps here
}
catch (Exception ex) {
String reason = ex.getMessage()
CustomKeywords.'excel.Excel_IO.WriteData'(exceptionMessageCell, row, reason)
CustomKeywords.'excel.Excel_IO.WriteData'(status, row, 'Error')
if (retrying == false){
row = row - 1
System.out.println(">>> Failed during Execution. Retrying...");
retrying = true
//CustomKeywords.'getTestingEnviroment.Session.CreateSession'()
}else if (retrying == true){
System.out.println(">>> Failed during Execution. Moving on to next row...");
retrying = false
//CustomKeywords.'getTestingEnviroment.Session.CreateSession'()
}
continue
}