Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading QRS files at Run time
#1
Not Solved
Hi,

I have generated script from Test Settings window(QTP 9.2), collected the script specific to Recovery tab and made a VBS function. I have executed the function and observed the Recovery Tab of Test Settings window. Scenario Names are displayed but "Activate recovery Scenarios:" drop down doesn't show the mode("OnEveryStep") that we have given in the Script. Its showing default option 'On error'. Is any thing that I need to include in the script? Please provide work around for this.

And also provide(if there is work around) alternative solution to load QRS file scenarios at run time.

Following is the function that I have executed

Sample Script:
--------------

Code:
Public Function Qrs()

Dim App
Set App = CreateObject("QuickTest.Application")

App.Test.Settings.Recovery.Enabled = True
App.Test.Settings.Recovery.SetActivationMode "OnEveryStep"
App.Test.Settings.Recovery.Add "C:\Automation\Registration\Recovery Scenarios\Security.qrs", "SecurityAlert", 1
App.Test.Settings.Recovery.Item(1).Enabled = True

End Function

Thanks,
Vijay
Reply


Messages In This Thread
Loading QRS files at Run time - by dvkbabu - 03-19-2009, 04:51 PM
RE: Loading QRS files at Run time - by SaiAbhi - 08-19-2010, 03:30 AM
RE: Loading QRS files at Run time - by UrmilaSaha - 03-24-2017, 09:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Web page not loading for EBS application when open UFT satyagadam 1 1,761 09-18-2019, 02:30 AM
Last Post: satyagadam
  Missing Resources, Information Pane, Debug Viewer, Run time Data Table not visible Aurodeepta 3 6,975 05-28-2015, 02:52 PM
Last Post: Aurodeepta
  Object Identification not working on Run Time Ajatshatru 2 3,261 05-06-2015, 07:27 PM
Last Post: Ajatshatru
  Error while adding Object to Object repository at run time SaranKumarV 3 8,644 02-02-2015, 01:40 AM
Last Post: dubeyvin
Rolleyes How can we run QTP on virtual machine at scheduled time through VB script. ritugoyal 13 22,583 11-23-2012, 11:03 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 2 Guest(s)