Hi,
I have a VBScript file (named call_qtp.vbs)...below you will find the contents of the file.
I am executing this file on a machine named "DLAT". Once executed, this script is supposed to launch an application, known as QuickTest, on a remote machine named "GWXP"; thus the name mentioned within the script.
If I understand correctly (from the documentation the QuickTest people provided), I should be able to launch this application from a remote machine, (in this case "DLAT"), even if I don't have it installed on "DLAT". In fact, their documentation states that I should be able to run the application remotely, but fails to mention if that calling machine (in this case "DLAT") has to have the application installed itself. Probably I have to have it installed...don't know...probably will try this.
-----------------------------------------
--Start of file
-----------------------------------------
Dim qtApp
Set qtApp = CreateObject("QuickTest.Application","GWXP")
qtApp.Launch
qtApp.Visible = True
-----------------------------------------
--End of file
-----------------------------------------
When I execute this file, I get the following error message:
-----------------------------------------
--Error message
-----------------------------------------
...
Error: ActiveX component can't create object: 'QuickTest.Application'
Code: 800A01AD
Source: Microsoft VBScript runtime error
By the way, I have setup the proper DCOM permissions on "GWXP" to allow remote users (within the same domain) to execute the QuickTest application and all of its necessary components. I used the following reference to do most of this work: thread333-1146373
Thanks for your time!