I am setting up testing with QuickTest Pro in an automated environment where I call the test from a vbscript. I need these tests to reference libraries, but I don’t want to rely on an absolute path for those libraries (e.g. C:\myLibrary). I can use relative libraries (e.g. ..\myLibrary) but how do I get QTP to recognize these libraries like this? I’m not a QTP expert, but I need to make these tests completely portable including resources, and any other external parts.
I am setting up testing with QuickTest Pro in an automated environment where I
Share
You can add a function library in Resources tab of Settings dialog box. When you add a reference to the script, it will show you a dialog box where in you can choose whether you want the path to be relative or absolute. I remember you have to click Yes for the script to take relative path.