Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rcovery Scenario @Runtime Load Showing Error
#1
Not Solved
Hello There , I have created the recovery Scenario. At UFT Setting ,  Setting-->Recovery--> Add recovery Scenario I have add all the Recovery Scenario And  Its working fine when I am Executing Locally. But According to my frame work its not working when I am executing from ALM.     So I am trying to Load Recovery Scenario at Runtime.  I am getting below error    ""TestRetailing" is not a valid recovery Scenario"

Below my  Code:

Function  LoadRecovery()
    
Set qtApp = CreateObject("QuickTest.Application")
Set qtTestRecovery = qtApp.Test.Settings.Recovery
    
qtTestRecovery.Add "C:\TEST\Project\RecoveryScenario\Test Retailing note.qrs""TestRetailing" , 1
qtTestRecovery.Add "C:\TEST\Project\RecoveryScenario\Test Note.qrs""TestNote" , 2


For intIndex = 1 To qtTestRecovery.Count
qtTestRecovery.Item(intIndex).Enabled = True
Next
qtTestRecovery.Enabled = true

qtTestRecovery.SetActivationMode "OnError"
Set qtApp = Nothing 
Set qtTestRecovery = Nothing
    
End Function
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  IE 10 Load status sram3003 0 2,135 01-17-2014, 12:46 PM
Last Post: sram3003
  ALM can not load business component in UFT priyankac18 0 3,535 11-20-2013, 04:03 PM
Last Post: priyankac18
  QTP Error (Visual C++ Runtime Error) riechan 2 3,093 07-27-2012, 06:57 AM
Last Post: riechan
  Showing QC test lab tree folder structure in a form using OTA object guin.anirban 0 3,098 06-03-2012, 12:09 PM
Last Post: guin.anirban
  recovery scenario help qtpuser 1 2,466 01-29-2012, 10:58 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)