Is it possible to use a script to map a Function Library instead of
mapping every time via
Associate Function Library
yes, using AOM you can do that.
when things gets harder ,the harder gets going
OR if it is QC
LoadFunctionLibrary("[QualityCenter\Resources] Resources\QTP Resources\Myfunctions.vbs")
You can use execute file function as below and use the functions available in the file.
Worked for me
but any other command that can load the F Lib as it is without saving it as a VBS ?
' LoadFunctionLibrary("\\sharedtechinc.com\corporate \operations\QA\QTP\Test Cases\! Functions\Common.Functions.Library.qfl")
executefile ("\\sharedtechinc.com\corporate\operations\QA\QTP\ Test Cases\! Functions\Common.Functions.Library.qfl")
Both did not work !
I was able to load .qfl what error are you getting?
attached a screen shot.
The commented line :=
executefile "\\sharedtechinc\corporate\users\ekamel\Common.Fun ction.Library.vbs"
I also get "Type mismatch"
you can post a new thread along with the snapshot.