Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Handle two Function libraries in QTP 10
#1
Solved: 10 Years, 9 Months, 1 Week ago
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
Reply
#2
Solved: 10 Years, 9 Months, 1 Week ago
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.
Reply
#3
Solved: 10 Years, 9 Months, 1 Week ago
Venkat -
How did you find out one works and the other does not ? Elaborate please...maybe you will find the solution.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#4
Solved: 10 Years, 9 Months, 1 Week ago
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can UFT Handle Detecting Redirects? zunebuggy 0 782 05-28-2020, 06:50 PM
Last Post: zunebuggy
  Calling a function in a Test Script from a function library anupam4j 3 5,908 06-26-2015, 12:31 AM
Last Post: babu123
  How to handle pop up blocker. chetan-24 4 8,373 06-08-2012, 09:10 PM
Last Post: nilanjans
  Error in Calling function Libraries Anum Saleem 5 6,935 02-28-2012, 03:50 PM
Last Post: Anum Saleem
  Handle start and end of tests fafanoulele 0 2,353 09-14-2011, 03:04 PM
Last Post: fafanoulele

Forum Jump:


Users browsing this thread: 1 Guest(s)