How to Set a ".qry" File as a Default Recovery Scenario
I want to set ".qry" file for a QTP Script as a Default Recovery Scenarion.
Plz Don't say Go to Test>> Setting >> Select Recovery Tab >> Add your ".qry File" and Click on Default button
I am Expecting a Object Model Reference Script to Set any ".qry" as a Default One for QTP
I am able to Add the .qry File But Not able to Set it as a Default one through Script..
Any Sugesstions ????
Re: How to Set a ".qry" File as a Default Recovery Scenario
Set qtTestRecovery = qtApp.Test.Settings.Recovery
qtTestRecovery.Add "some.qrs", "somescenario", 1
This would set the qrs as default for all the scripts that yr object model runs
Hope that helps