Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"qtp.launch" throwing "class not registered" error
#1
Not Solved
Hello,

I have an external VB script which opens qtp and run a test.
Below is my external script.

Code:
Set App = CreateObject("QuickTest.Application")
App.Launch
App.Visible = True
App.WindowState = "Maximized"' Maximize the QuickTest window
App.ActivateView "ExpertView"' Display the Expert View
App.open "C:\Users\My_Name\Documents\UFT\My Projects\Framework Project\Driver_Script", False
App.Test.Run
App.Test.Close
App.quit
Set App = Nothing

I am getting below error while running the script.

Script : Desktop\qtp.vbs
Line : 2
Char : 1
Error : Class not registered(Exception from HRESULT : 0x80040154 (REGDB_E_CLASSNOTREG))
Code : 80040154
Source : mscorlib

I am confused how to proceed on this.
Please help.

Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT 12.50 unable to recognize child objects from a Dialog Class in Firefox jesusisaac 1 3,563 08-20-2015, 11:39 PM
Last Post: ADITI1992
  Drop down list class is a link thotamurali 2 3,956 08-22-2014, 05:48 PM
Last Post: thotamurali
  Remote QTP launch tester_rahul 3 10,112 07-26-2012, 12:19 PM
Last Post: supputuri
  Changing QTP Class praveendasika 1 2,795 07-13-2012, 07:35 AM
Last Post: ravi.gajul
  qtp launch application siri786 3 4,684 04-26-2012, 12:27 AM
Last Post: siri786

Forum Jump:


Users browsing this thread: 1 Guest(s)