Load recovery scenario runtime
I am trying to add the recovery scenario at runtime for an existing test.
I have created a recovery scenario and trying to add it to test through script.
when i run the test 1st time, the recovery scenario is not able to trigger but if i will run the test again without removing the recovery scenario from test->setting it is working fine.
PLease suggest whether we can add it run time and if so, then the correct method of adding recovery scenario through script.
Re: Load recovery scenario runtime
Please check the following.
1. Are you adding the recovery scenario by wizard, then in the last step there are 2 checkboxes, check both of them.
2. Use this to enable/disable recovery scenarion at runtime.
Recovery.Enabled = True/False
3. Search in QTP > Help > Object Model refrence to add recovery scenario at run time.