03-15-2012, 09:52 PM
(This post was last modified: 03-15-2012, 10:06 PM by
I am getting the following Error when i run the script..
I installed qtp11 on windows 7
Failed to run script.
Description: ClassFactory cannot supply requested class
Function file: (null)
Line (0): "(null)".
Can any body help me on the same
03-16-2012, 09:56 AM
Could u please elaborate the error u r getting..it will be nice if u come up with a screen shot.
03-18-2012, 10:04 PM
I had recoded a sample script in QTP and when i am trying to play back i am facing the above error.....
I mean when i click on run it is throwing the error...
03-19-2012, 10:17 AM
have you tried to dubug the script using F11, to find the line resulting to the error?
are you using any external MS-Excel files?
03-21-2012, 12:14 AM
Please refer to the attached screensho....
QTPError.doc (Size: 273.5 KB / Downloads: 6)
03-21-2012, 10:59 AM
According to the screen shot u have attached, code writtent to login into application is in action 1.
Now did u made a call to this action or ur script is directly running from action1.
The error u r getting is related to calling an action. So please check if u r calling an action or not.