我想从局域网中的另一台机器运行驻留在我机器中的 QTP 脚本。
已尝试执行以下操作:
DCOM 配置已完成(在必须运行脚本的计算机上)
脚本驻留在脚本启动器计算机中:
dim qapp
set qapp = createobject("QuickTest.Application","<IP Address")
qapp.launch
qapp.visible = true
请帮忙..
1)我首先要确保以下脚本在机器中正常工作(没有IP地址。只需直接尝试在远程计算机中运行即可。它应该启动 QTP/UFT)
dim qapp
set qapp = createobject("QuickTest.Application")
qapp.launch
qapp.visible = true
2) DCOM 设置:
- 快速测试专业自动化
- 惠普统一功能测试
在上述应用程序的 DCOM 属性中,在"安全"选项卡下,授予所需的权限。我已为所有用户授予了完全权限。在"标识"选项卡下,选择"交互式用户"。
3) 用户权限:
您必须具有以下文件系统权限:
➤ 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
您必须具有以下注册表项权限:
➤ Full read and write permissions to all the keys under HKEY_CURRENT_USERSoftwareMercury Interactive
➤ Read and Query Value permissions to all the HKEY_LOCAL_MACHINE and HKEY_CLASSES_ROOT keys