Micro Focus QTP (UFT) Forums
How to Handle two Function libraries in QTP 10 - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to Handle two Function libraries in QTP 10 (/Thread-How-to-Handle-two-Function-libraries-in-QTP-10)



How to Handle two Function libraries in QTP 10 - venkatbatchu - 04-28-2010

Hi All,
I have a 2 .qfl i.e two function libraries when i add these two libraries under Resources(File-->Settingss->Resources) which is not working i.e i could not able to use these two libraries at a time when i use these libraries individually i could able to work and which is working as expected. It is observed only in QTP 10

Could you please suggest on this?

Please let me know if i need to add any information apart from the above.

Thanks and Regards,
Venkat.Batchu


RE: How to Handle two Function libraries in QTP 10 - guin.anirban - 04-28-2010

If you use the same function name in two libraries then the desired called function will come from the 1st library although you need the function from the 2nd library.
It will be better if you provide unique function name in each library.


RE: How to Handle two Function libraries in QTP 10 - basanth27 - 04-28-2010

Venkat -
How did you find out one works and the other does not ? Elaborate please...maybe you will find the solution.


RE: How to Handle two Function libraries in QTP 10 - guin.anirban - 05-20-2010

You can check this one with sample scripts.

Another solution is there you can use Class concept in the function library. Different class name but same function name will work.