08-16-2013 07:37 AM
OK...I'm feeling like a dummy here.
I'm using a FireFox TruClient script developed in Vugen 11.51 on a BPM 9.22 probe for BSM 9.22. I moved my login function to a function in a function library, because of the fact that this login sequence is used for multiple applications. Everything runs fine from Vugen.
When I deploy it to BPM 9.22 via BSM 9.22, I get the following error: "Call function xxx.login failed - library named 'xxx' could not be located..."
My assumption would have been that when I export 'runtime files' to the zip, a copy of the function library would have been included, but obviously not. So how do I either:
- Force the library to be included with the script, or
- Load the required library (-ies) onto the BPM?
Here's a copy of the log from the BPM:
I'm sure there's a simple answer to this, but I haven't been able to find it. If you're able to provide an answer, a link or pointer to the reference would be much appreciated.
Solved! Go to Solution.
08-16-2013 10:37 PM
Did you try to add your external files to the script through File > Add Files to Script... menu in VuGen before exporting the script files into .zip?
08-19-2013 09:34 AM
I did not, but that did the trick. However: when I imported a shared library, the shared library could not be accessed (did not have necessary permissions - the user that the BPM is running as does not have access to the location where the shared library is stored). I assume that either I must use a local function library or let the user ID have access to the shared library location?
08-20-2013 06:03 AM
So...when you use a shared Function Library, does it grab a local copy? The reason I'm asking is that one or two of my probes are remote from the repository over slow connections. I want to make sure that I'm not introducing that dependency into my script.
08-20-2013 09:48 AM
When you add a file to your script in VuGen it's zipped up with the rest of the script files. That .zip file gets uploaded into BSM, and BPM will download and unzip it on the BPM machine in specific folder. So your file will be located with all the other script files in the same script folder.