Posts: 2
Threads: 1
Joined: Oct 2010
Reputation:
0
10-29-2010, 11:34 AM
I have installed QTP in one of the remote server, I am working on a C# program in my local machine where I want to create object for QTP Server that is installed in remote machine and execute the scripts, is this possible? if so, what are the settings do be done? Please help!!!
fyi-I do have admin permissions for both local and remove machnines
Posts: 50
Threads: 0
Joined: Jul 2009
Reputation:
0
10-29-2010, 02:06 PM
Hi Pawan,
Yes it is possible to open QTP on the remote machine, here is the syntax,
HostName = "H23" ' Enter the remote machine name here
Set a = CreateObject("Quicktest.Application",HostName)
Let me know if this doesnt work
Thanks
Vinod
Posts: 2
Threads: 1
Joined: Oct 2010
Reputation:
0
10-29-2010, 04:15 PM
Tried this, but getting an error message "Cannot create ActiveX component."
Thanks,
Pawan