for (def rowNum = 1; rowNum <= 2; rowNum++) {
try {
KeywordLogger log = new KeywordLogger()
log.logInfo(“Execution strats”)
WebUI.callTestCase(findTestCase(‘CP/Dummy Case’), [:], FailureHandling.OPTIONAL)
log.logInfo("in try")
}
catch (Exception ex) {
KeywordLogger log = new KeywordLogger()
log.logInfo("testmsg")
WebUI.closeBrowser()
continue
}
WebUI.closeBrowser()
}
catch block code is not working i am not getting any log from catch block please refer above code…
I having issue for data driven, i want to execute 1k rows with 15 test cases in the in a loop,
e.g. when Tc5 from out of 15 test cases is getting failed then it is still getting execute the TC6 i want to continue it from TC1 from next excel row…