Maintain Settings From TD
I have generated three vbs files using the Generate Script Option of
1) Test Settings
3) Object Identification Window's.
Now I want to have the same settings maintained for all the QTP Scripts when they run from Test Director.
I know two ways of doing this. Combine all the three VB Script files to a single one. Make the script a function and call it in the beginning of test. The second way is to make this a reusable action and call it at the beginning of test.
But issue here is the same code gets executed for all the tests. It is waste of time and I feel this is not efficent.
Is there an easier or more efficent way for doing this. For example Winrunner has a Startup Script and also in wrun.ini also we can perform a lot of the above said settings.
Thanks and Regards