Can we include files in QTP?
There is no #include, but you can use the 'Resources' tab of the Test Settings to load a vbs library file. You can also use the ExecuteFile <FileName> function.
See 'Working with User-Defined Functions' in the help file.
If you had to identify, in one word, the reason
why the human race has not achieved, and never
will achieve, its full potential that word would be "meetings".
What do you mean?
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **
Stay away from local machine settings (or do them programmatically). Put your code into a .vbs file and call the necessary ExecuteFile("\\location\resources\Utility.vbs") command.