AdvancedQTP Forums
Sponsored by Solmar Knowlege Networks
Return to advancedqtp
Home
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Advanced search
18120
Posts in
4741
Topics- by
31743
Members
- Latest Member:
suuraj
you are here:
AdvancedQTP Forums
»
AdvancedQTP Forums
»
General QTP Q&A
» (Moderators:
Paul Grossman
,
Stefan Thelenius
,
Asiq Ahamed
)"General run error" when run a vb function from library file
corp-lt Theme designed by
padexx
« previous
next »
Pages: [
1
]
Go Down
0 Members and 1 Guest are viewing this topic.
Author
Topic:
"General run error" when run a vb function from library file
(Read 593 times)
qtptech
User
Offline
Posts: 2
"General run error" when run a vb function from library file
«
on:
October 16, 2008, 09:40:04 AM »
Hi All,
QTP 9.5: I got a "General run error" when run a vb function from library file. It's randomly occuring. I have to press the "retry" button. Anyone has the same issue or any suggestions? I debug and got the err#: "The server thrown exception".
Thanks,
Tech
Logged
Paul Grossman
Moderator
Full User
Offline
Posts: 220
Certified Instructor, Automation Project Lead, Quality Center Installation and Customize, HP Universe and Mercury World Conference Track Speaker.
Re: "General run error" when run a vb function from library file
«
Reply #1 on:
October 16, 2008, 11:20:16 AM »
90% of the time that error means QTP attempted to execute the method of an object that does not currently exist.
If this is the case try preceeding the line with an .exist method, before attempting to determine what property changed.
If oList.Exist then
oList.Select "#4"
else
msgbox "This oList object does not exist"
end if
Logged
Best Regards,
Paul M. Grossman
AdvancedQTP Forums
Moderator
Meir Bar-Tal
Administrator
Advanced User
Offline
Posts: 1283
Re: "General run error" when run a vb function from library file
«
Reply #2 on:
October 16, 2008, 12:44:34 PM »
It also happens that the object exists but QTP loses the reference.
Try to use obj.Init before the actual manipulation to force QTP get the reference.
Logged
Best Regards,
Meir Bar-Tal
AdvancedQTP Chief Editor & Forums
Administrator
Pages: [
1
]
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
AdvancedQTP
-----------------------------
=> Bulletin Board
-----------------------------
AdvancedQTP Load & Performance Forums
-----------------------------
=> Load & Performance Q&A
-----------------------------
AdvancedQTP Forums
-----------------------------
=> General QTP Q&A
=> Web Q&A
=> Web Services Q&A
=> .Net Q&A
=> Java Q&A
=> ActiveX Q&A
=> SAP Q&A
=> TE Q&A
=> Siebel Q&A
=> Quality Center Q&A
-----------------------------
AdvancedQTP Products Support
-----------------------------
=> Reporter Manager Q&A
-----------------------------
AdvancedQTP Free Tools Forums
-----------------------------
=> AutoIt Q&A
-----------------------------
FR Project Forum
-----------------------------
=> FR Project
-----------------------------
AdvancedQTP Forums Support Center
-----------------------------
=> TroubleShooting
Loading...