Which verson are you using?.. Is it demo version, or registered one.?
If am correct, an unregistered object being called. Did you modify or delete some dll under QTP folder? Kind Regards, Boobhathi Raj On Wed, Jun 24, 2009 at 12:28 PM, Jagannath Prasad Padhy <[email protected]>wrote: > > I am not sure which line gives the error.I guess the line - > qtApp.Launch is giving the error. I have double clicked the .vbs file > and a command window has displayed. After some time I got the error. > > On Tue, Jun 23, 2009 at 7:27 PM, Roman Zilber<[email protected]> wrote: > > Which line gives the error? > > > > On Tue, Jun 23, 2009 at 12:31 AM, Jagannath Prasad Padhy < > [email protected]> > > wrote: > >> > >> Hi All, > >> Please find the attached screenshot for the Runtime error that I am > >> getting while launching QTP through .vbs file. The script in the .vbs > >> file is , > >> > >> Dim Test_path > >> Test_path = "D:\QTP\sampletest" > >> Dim qtApp 'As QuickTest.Application ' Declare the Application object > >> variable > >> Dim qtTest 'As QuickTest.Test ' Declare a Test object variable > >> Set qtApp = CreateObject("QuickTest.Application") ' Create the > >> Application object > >> qtApp.Launch ' Start QuickTest > >> qtApp.Visible = True ' Make the QuickTest application visible > >> ' Set QuickTest run options > >> qtApp.Options.Run.RunMode = "Fast" > >> qtApp.Options.Run.ViewResults = False > >> qtApp.Open Test_path, True ' Open the test in read-only mode > >> ' set run settings for the test > >> Set qtTest = qtApp.Test > >> qtTest.Run ' Run the test > >> qtTest.Close ' Close the test > >> qtApp.quit > >> Set qtTest = Nothing ' Release the Test object > >> Set qtApp = Nothing ' Release the Application object > >> > >> I followed the resolution steps given in Microsoft support > >> site(http://support.microsoft.com/kb/240437) but of no use. > >> > >> Please let me know what could be the issue. > >> > >> Regards, > >> Jagannath > >> > >> > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
