Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run Error on Function call
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
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?


Attached Files
.pdf   Run Error on Function.pdf (Size: 101.11 KB / Downloads: 133)
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Could you please post the library...Looks like if statement is not properly closee
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
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


Attached Files
.pdf   Main Fiunction Library.pdf (Size: 52.19 KB / Downloads: 163)
Reply
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 592 11-05-2023, 03:55 PM
Last Post: lravi4u
  How to identify an error page occurring in server in between the qtp run. aswini 1 1,795 05-04-2017, 03:52 PM
Last Post: Ankur
  Calling a function in a Test Script from a function library anupam4j 3 6,127 06-26-2015, 12:31 AM
Last Post: babu123
  Not able to call the function kathirvelnagaraj 1 2,613 01-06-2015, 07:24 PM
Last Post: kathirvelnagaraj
  Error while opening test run results vkalyankar 3 4,318 11-12-2014, 09:49 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 4 Guest(s)