Running QTP Scripts on a Remote Machine (Windows 7)

混江龙づ霸主 提交于 2019-12-25 06:47:27

问题


I want to run the QTP script that resides in my machine from another Machine in the LAN.

Tried doing the following:

DCOM Configuration is done (on the machine where the script has to be run)

Script resides in the Script Initiator machine:

   dim qapp
   set qapp = createobject("QuickTest.Application","<IP Address")
   qapp.launch
   qapp.visible = true

Please Help..


回答1:


1) I would first ensure that below script works fine in the machine (without IP address. Just directly try to run this in the remote machine. It should launch QTP/UFT)

dim qapp
set qapp = createobject("QuickTest.Application")
qapp.launch
qapp.visible = true

2) DCOM settings:

  • QuickTest Professional Automation
  • HP Unified Functional Testing

In DCOM properties for the above applications, under Security tab, give required permissions. I have given full permissions for all users. Under Identity tab, Select 'Interactive User'.

3) User Permissions:

You must have the following file system permissions:

➤ Full read and write permissions for all the files and folders under the folder in which QuickTest is installed
➤ Full read and write permissions to the Temp folder
➤ Read permissions to the Windows folder and to the System folder

You must have the following registry key permissions:

➤ Full read and write permissions to all the keys under HKEY_CURRENT_USER\Software\Mercury Interactive
➤ Read and Query Value permissions to all the HKEY_LOCAL_MACHINE and HKEY_CLASSES_ROOT keys


来源:https://stackoverflow.com/questions/27441643/running-qtp-scripts-on-a-remote-machine-windows-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!