Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run Error on Function call
12-06-2011, 02:42 AM
Post: #1
Run Error on Function call

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 File(s)
.pdf  Run Error on Function.pdf (Size: 101.11 KB / Downloads: 9)

thx for your time

Lorena
Find all posts by this user
Quote this message in a reply
12-06-2011, 12:13 PM
Post: #2
RE: Run Error on Function call
Could you please post the library...Looks like if statement is not properly closee
Find all posts by this user
Quote this message in a reply
12-06-2011, 08:21 PM
Post: #3
RE: Run Error on Function call
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 File(s)
.pdf  Main Fiunction Library.pdf (Size: 52.19 KB / Downloads: 5)

thx for your time

Lorena
Find all posts by this user
Quote this message in a reply
12-07-2011, 12:46 AM
Post: #4
RE: Run Error on Function call
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

thx for your time

Lorena
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Error in Calling function Libraries Anum Saleem 5 603 02-28-2012 03:50 PM
Last Post: Anum Saleem
  Run Time Error Sathiya 1 481 10-29-2011 04:42 PM
Last Post: Arul
  How to call Action sudhirzpatil 5 1,162 08-27-2011 11:50 PM
Last Post: Forrest Gump
  Generate Run time error on Allchkboxes(i).GetROProperty("all items") Langxii 1 1,077 07-06-2011 09:34 AM
Last Post: rajpes
  unable to create run result folder error dialog while running the script chanda Hemke 2 1,654 07-05-2011 08:48 PM
Last Post: rajpes

Forum Jump:


User(s) browsing this thread: 1 Guest(s)