Open topic with navigation
By default, when you create an Application object in your automation script, it is created on your local computer (using your local copy of UFT). You can also run automation scripts on a remote UFT computer. To do so, you must:
UFT automation enables UFT to act as a COM automation server. Therefore, to run a UFT 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 UFT 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 Unified Functional Testing computer remotely:
After you set the necessary DCOM Configuration settings for a remote computer, you can specify that computer in the application creation script line in your automation script, for example, using the optional location argument in the VBScript CreateObject function.
In VBScript, you do this by specifying the computer name as the optional location argument of the CreateObject function. The computer name should be the same as the computer name portion of a share name. For example, to run an automation script on a computer called MyServer, you could write:
For details on the syntax for specifying the remote computer in another language you are using, see the documentation included with your development environment or the general documentation for the programming language.