Search code examples
qtphp-uft

How to check if loadfunctionlibrary have loaded libraries successfully in UFT during run time.


I am using loadfunctionlibrary to load few libraries. I notice that the functions in the library which i intend to load, failed to get called when i try to call them in my driver script. How do i check if the library is really loaded or not. What could be the possible issue for this behavior ?


Solution

  • It could be due to some syntax error in those files. Open the file in QTP and press ctrl+F7 to check the syntax.

    If there is no syntax error, check the filename and file path etc. Include a print "fileA is loaded successfully" in each file - so that you can check if every gets loaded successfully at run time.