Micro Focus QTP (UFT) Forums
Remote QTP launch - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Remote QTP launch (/Thread-Remote-QTP-launch)



Remote QTP launch - tester_rahul - 06-20-2011

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?


RE: Remote QTP launch - vanibandla - 07-25-2012

CAN ANYONE HELP ON THIS ISSUE PLEASE ITS VERY URGENT
THANKS


RE: Remote QTP launch - jegansurya - 07-25-2012

try this
Code:
set qapp = createobject("QuickTest.Application","<IP Address or Name")



RE: Remote QTP launch - supputuri - 07-26-2012

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.