| || |
loading order of Test->Resources libs
QTP 9.2 online help states
[ QUOTE ]
The Associated function libraries pane of the Resources tab indicates the list of function libraries associated with your test. QuickTest searches these files for the VBScript functions, subroutines, and so forth that are specified in the test.
The order of the function libraries in the list determines the order in which QuickTest searches for a function or subroutine that is called from a step in your test. If there are two functions or subroutines with the same name, QuickTest uses the first one it finds.
[/ QUOTE ]
But the order in which the libs are <u>loaded</u> is not specified and therefore ambiguous. I assumed that they were loaded from top to bottom (which is the order in which they are searched as stated above). But that is not the case.
The libs are <u>loaded</u> from the bottom to the top (which I guess makes sense given the searching algorithm).
So if you have runtime loading/initializing dependencies, keep this in mind.
-fyi, Terry Horwath
Re: loading order of Test->Resources libs
I noticed that when i was trying to access a variable from the 1st on in the last library. And i made a loading module instead of changing the order. Thanks for informing this [img]/images/graemlins/smile.gif[/img]