Micro Focus QTP (UFT) Forums
QTP Run Error - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP Run Error (/Thread-QTP-Run-Error--6133)



QTP Run Error - MuruganMK - 03-15-2012

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


RE: QTP Run Error - sshukla12 - 03-16-2012

Hi,

Could u please elaborate the error u r getting..it will be nice if u come up with a screen shot.

Regards,
Sankalp


RE: QTP Run Error - MuruganMK - 03-18-2012

Hello,

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...


RE: QTP Run Error - swathi - 03-19-2012

Hi Murugan,
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?







RE: QTP Run Error - MuruganMK - 03-21-2012

Hi,

Please refer to the attached screensho....


RE: QTP Run Error - sshukla12 - 03-21-2012

Hi,

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.

Regards,
Sankalp