Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
net 4.0 C# QTP
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
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
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
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
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Tried this, but getting an error message "Cannot create ActiveX component."

Thanks,
Pawan
Reply
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
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


Attached Files
.txt   DOM settings.txt (Size: 2.15 KB / Downloads: 95)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP takes long time to click on asp.net forms arpan 0 1,914 10-16-2013, 09:30 PM
Last Post: arpan
  QTP is not identifying the objects in .net application. qtpexpert 0 2,675 03-12-2013, 12:59 PM
Last Post: qtpexpert
Exclamation .Net Addin for QTP 9.1(Urgent) shaam 1 3,175 07-15-2011, 07:28 PM
Last Post: Ankur
  Dot Net Factory Button click to run action in QTP nutsndips 1 4,441 06-21-2011, 08:37 PM
Last Post: nutsndips
  How QTP records context menu in .net GUI applications vanibandla 1 4,528 02-25-2011, 06:32 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 3 Guest(s)