net 4.0 C# QTP - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: net 4.0 C# QTP (/Thread-net-4-0-C-QTP) |
net 4.0 C# QTP - pawan.kodakandla - 10-29-2010 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 RE: net 4.0 C# QTP - KVK - 10-29-2010 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 RE: net 4.0 C# QTP - pawan.kodakandla - 10-29-2010 Tried this, but getting an error message "Cannot create ActiveX component." Thanks, Pawan RE: net 4.0 C# QTP - KVK - 10-29-2010 Hi Pawan, You need to do couple of things, 1. Check weather you have administrator access to the remote machine. 2. Do the DOM settings on the remote and your local machine as per the steps mentioned in the attached text file. If the adove 2 steps doesnt work and if you are still getting the same error then plz go through the below link for the solution. http://support.microsoft.com/kb/319844 Thanks Vinod |