Executing next iteration after recory manager runs
I am new to QTP. I am automating a web application with QTP.
I have a master action which calls a reusable action and this reusable action calls many reusable actions based on the logic written in this action. The master action looks like this...
DataTable.ImportSheet sDataDir & sDataFile, "Global", "Global"
RunAction "SmBiz-Checking", 1, "1-5"
I've created recovery scenarios of type "Test Run Error" on "Object State", Recovery Operation as "Function Call" with post-recovery action as "Proceed to next test iteration". In the function call, for my understanding I'm just calling MsgBox.
My problem here is...
When the script fails, the message box is coming up as expected, but the QTP is not going to the next iteration, but it is stopping the run with results file. But I want to run the next iteration(with the next row's data from DataTable).