Error: "xxxxx" is not a valid recovery scenario.

Hi There,

it does not metter what I enter as Recovery Scenario I am getting this Error:

"Given Name" is not a valid recovery scenario, in my case now :Closeprocess

Any Ideas ?

Set qtApp = CreateObject("QuickTest.Application")

qtApp.Test.Settings.Recovery.SetActivationMode "OnError" 'Create qtApp object first

qtApp.Test.Settings.Recovery.Add "D:\Apps.....\Closeprocess.qrs""Closeprocess"1

qtApp.Test.Settings.Recovery.Item(1).Enabled = True

Tags: