3 Jul 2013

Run the Automation Script from machine 2, data present in machine 1 (Libraries, OR and Script)

Run the Automation Script from machine 2, data present in machine 1 (Libraries, OR and Script)

Use the following approach:

Set qtApp = CreateObject(“QuickTest.Application”, “Remote Machine Name”)

  Before using this statement ensure that the Distributed COM (DCOM) Configuration 

Properties of the remote computer are set to allow you to run QuickTest Professional 

Automation from your computer.

Steps to Set the DCOM Configuration Properties on Remote Machine

On the computer where you want to run the automation script, choose

Start–> Run. The Run dialog box opens.

1.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.

2.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.)

3.In the QuickTest Professional Automation Properties dialog box, click the Security tab.

4.In the launch permissions section, choose the custom option and click Edit.

5.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.

6.Repeat steps 4and 5 for the configuration permissions section to select the users or 

groups who can modify QuickTest Professional configuration options via an 

automation script.

7.In the QuickTest Professional Automation Properties dialog box, click the Identity tab 

and select the interactive user option.

8.Click OK to save the QuickTest Professional Automation Properties settings.

9.Click OK to close the Distributed COM Configuration Properties dialog box or the 

Component Services window.

No comments:

Post a Comment