I have read elsewhere that you can associate function libraries dynamically when creating a new QTP script i.e.

Set oQTPApp = CreateObject("QuickTest.Application")
oQTPApp.Test.Settings.Resources.Libraries.Add("..\ ..\..\..\Library\xxx.qfl")

Is there any way I can do this within QC Workflow? The Test_New function is called whenever you create a new test, but I'm not sure what code to use to ensure my new QTP script already has a named function library associated?

Thanks in advance.