I have a script which has two action. one for login and other for insert record. now i want to create a recovery scenario for second action so that when any error come in that action it process next iteration for that action so any one tell me how can i do this?
You can associate function library to a recovery scenario from the Recovery Scenario wizard available in QTP. Once the trigger event is set we can add corresponding recovery scenario operation to be executed upon the trigger event (Add respective Function in .qfl file – in Recovery Operation – Function call wizard)
You can set the recovery operation either to re run the same action or skip and proceed to next action.