| || |
Setting Run Time Options Programtically
I want to run the script fast. i know we can set the option manually
1) Go to Tools and select Options
2) Click on the Run tab
3) Set Run mode to Fast
But I would like to do it at run time.
I have added following statement in my script ---
Dim App 'As Application
Set App = CreateObject("QuickTest.Application")
App.Visible = True
App.Options.Run.RunMode = "Fast"
Now the problem is that the Runmode is set to "Fast" after the current script is executed.
I want to set the Runmode="Fast" before the start of current script
Re: Setting Run Time Options Programtically
QTP Automation object model is supposed to be used when QTP is not running a script. It was not built to change settings at run-time. Though changing some of these settings at run-time works and for some it won't work.
Then one that you want to change will not work.