| || |
Recovery Scenario for QTP RunError
While running my scripts, sometimes I am getting RunError Popup Box, that says object not found, but if we click on retry it is working fine after that.
As far as I know this error occurs because QTP is running faster that my web application.
Though I am using Waitproperty for that but sometimes you can not predict when this popup message box will appear again.
Because it is unpredictable so I was thinking to use recovery scenario for that.
Can we use a recovery scenario to click on default button of the popup box?
I have tried to set run setting to click on default, and also tried recovery scenario wizard with popup box name Run Error and trigger event as click on default button.
But it is not working.
Please let me know the best way to avoid QTP RunError popup box. I dont want to stop the test and also dont want to select next iteration. I just want to click on Retry.
Re: Recovery Scenario for QTP RunError
The best way to avoid the RunError popup is to fix the root cause of the error. I don't think that the recovery scenario manager will work on QTP itself.