Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remote QTP launch
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Code:
dim qapp
set qapp = createobject("QuickTest.Application","<IP Address")
qapp.launch
qapp.visible = true


I am using the above script to launch QTP on a remote machine
However it is not working
I am getting the below mentioned error:

Error: The remote server machine does not exist or is unavailable: 'createobject'
Code: 800A01CE

Can anyone help?
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
CAN ANYONE HELP ON THIS ISSUE PLEASE ITS VERY URGENT
THANKS
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
try this
Code:
set qapp = createobject("QuickTest.Application","<IP Address or Name")
Reply
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
HI there are couple of things that we should consider while trying to work on remore machine qtp.
1) Set the option to allow external tools to run QTP.
2) You need to configure DCOM setting. Below is from QTP help file
'***********************************************************************************************
Setting DCOM Configuration Properties on the Remote Computer
QuickTest automation enables QuickTest to act as a COM automation server. Therefore, to run a QuickTest automation script on a remote computer, you must ensure that the DCOM configuration properties for that computer give you the proper permissions to launch and configure the QuickTest COM server.

The procedure below describes the steps you need to perform on the remote computer to enable your automation script to run on that computer. Note that the DCOM Configuration Property the appearance and names of the dialog boxes and options mentioned here may vary depending on the computer's operating system.

To enable automation scripts to access a QuickTest computer remotely:

On the computer where you want to run the automation script, choose Start > Run. The Run dialog box opens.
Enter dcomcnfg and click OK. The Distributed COM Configuration Properties dialog box or the Component Services window opens (depending on your operating system) and displays the list of COM applications available on the computer.
Select QuickTest Professional Automation from the list and open the Properties dialog box for the application. (Click the Properties button or right-click and choose Properties, depending on your operating system.)
In the QuickTest Professional Automation Properties dialog box, click the Security tab.
In the launch permissions section, choose the custom option and click Edit.
Use the Add and Remove options to select the network users or groups for which you want to allow or deny permission to launch QuickTest Professional via an automation script. When you are finished, click OK to save your settings.
Repeat steps 5 and 6 for the configuration permissions section to select the users or groups who can modify QuickTest Professional configuration options via an automation script.
In the QuickTest Professional Automation Properties dialog box, click the Identity tab and select the interactive user option.
Click OK to save the QuickTest Professional Automation Properties settings.
Click OK to close the Distributed COM Configuration Properties dialog box or the Component Services window.
'********************************************************************************************

Please let me know if you need any further information.
Thanks,
SUpputuri
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Remote Commuter License pin001 0 1,521 01-08-2019, 07:52 AM
Last Post: pin001
  how to access the remote connection ?? navyasatish 3 7,100 10-14-2013, 06:26 PM
Last Post: anil2u
  "qtp.launch" throwing "class not registered" error auto_tester 0 3,159 08-13-2013, 10:52 PM
Last Post: auto_tester
  How to run QTP from QC on a remote citrix instance? sreekanth 1 4,873 07-29-2013, 12:24 AM
Last Post: ravi.gajul
  Remote Desk Top bistritapcv 2 3,185 11-29-2012, 11:37 PM
Last Post: bistritapcv

Forum Jump:


Users browsing this thread: 1 Guest(s)