I am running a QTP script. A library file is associated with this script using its absulute path. While running, before executing first line of code, the run pointer is shfting automatically into the associated libary file and the following error pop-up message is displayed 'Error in Library File. Your Function Library May not be valid. Do you want to continue Running the Test'.
I am not able to understand the reason why this error pop-up is appearing?
Note: To test this Library file, I have use ExecuteFile(Filepath) method to test some of the functions from this library file. And it worked fine for me.
Re: \'Error in Library File. \' message is displayed
Create a new empty library file. Cut and paste the code from the old one into the new one and associate that with your test. Un-associate the one giving the error. I would bet your error goes away assuming there really is no syntax error present in your code.