Hi,
We have an generic function library that we use as part of our suite of test scripts.
In globals.h, we are referencing that library via:
#include "Z:\\loadrunner\\lib\\c4_lib.c"
In order for this to work, I physically need Z:\\loadrunner\\lib\\c4_lib.c on each of the injcectors. I take it the library files are not copied with the script like the paramater data files are?
If it doesn't copy, then I'm a bit skeptical about using a UNC path as I don't want to make my scripts susceptible to network issues if I used the likes of \\\\server\\share\\loadrunner\\lib\\c4_lib.c I don't like the idea of copying the lib file and making it as part of the script as it defeats the purpose of sharing one common library.
What is the recommended approach when using external libraries?
Cheers,
J