Micro Focus QTP (UFT) Forums
Run Error on Function call - 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: Run Error on Function call (/Thread-Run-Error-on-Function-call)



Run Error on Function call - mv8167 - 12-06-2011

I just upgrade from QTP 9.5 to 10.0. Everything seemed to work Ok last week. After a restart my library function files dont seem to be found. I reattached my Associated Function Files but during my Run, my scripts hang on line #1 indicating Error in library file (see attachment for full Run Error message)

Do I need to configure QTP in some way?


RE: Run Error on Function call - ravi.gajul - 12-06-2011

Could you please post the library...Looks like if statement is not properly closee


RE: Run Error on Function call - mv8167 - 12-06-2011

Ravi,

thx for looking

I have gone through my library as It does mention a mising End If statement, but I dont see one. As requested, I am attaching my library code for you to reveiw. I dont find any missing End If

thx


RE: Run Error on Function call - mv8167 - 12-07-2011

I found my Error.

But the another situation arose. Instead of QTP going to where my error is located, QTP seems to stop on the first line of the first function called. In 9.5, QTP would take me to the general location of the issue. Now QTP stops with very vauge messages at the top of a function where the error dose not even exist.

Is some switch in QTP set incorrectly?

thx