谢谢楼上的回答~~
QTP上的TDPlugin和QC插件页中的所有插件已经安装,并打开“Allow other Mercury products to run tests and components”选项
第三种情况依然
第二种情况在网上查了一下,是由于在A机和B机上远程调用QTP时的用户权限不一样,需要设置DCOM权限,现在我把QTP所在机器A的所有用户和用户组的权限都完全开放(远程访问、远程启动、远程激活、完全控制),已经不提示“拒绝访问”了,但提示为“Unable to connect the testing tool to the requested Quality Center server”。
查看RemoteLog,日志记录如下:
OK: 09/10/09 , 18:56:18:640 : run Start File Line=652 ThreadId=2944
--------------------------------------------------------------------------------
OK: 09/10/09 , 18:56:18:640 : Begin InitiateQTP File Line=81 ThreadId=2944
--------------------------------------------------------------------------------
OK: 09/10/09 , 18:56:18:640 : Begin ConnectTulipToCorrectServer File Line=524 ThreadId=2944
--------------------------------------------------------------------------------
OK: 09/10/09 , 18:56:18:640 : Connected server details: Server = http://129.168.250.18:8080/qcbin, Domain = CMS File Line=558 ThreadId=2944
--------------------------------------------------------------------------------
OK: 09/10/09 , 18:56:18:640 : Connected server details: Project = CMSTest, UserName = h90002191 File Line=559 ThreadId=2944
--------------------------------------------------------------------------------
OK: 09/10/09 , 18:56:18:640 : ConnectTulipToCorrectServer - need to disconnect we are connected to the wrong QC File Line=567 ThreadId=2944
--------------------------------------------------------------------------------
Error: 09/10/09 , 18:56:18:921 : Exception caught! Hr=0x80020009. Msg=Connection is not available File Line=589 ThreadId=2944
--------------------------------------------------------------------------------
Error: 09/10/09 , 18:56:18:921 : ConnectTulipToCorrectServer : Failed to connect to QT to TD File Line=592 ThreadId=2944
--------------------------------------------------------------------------------
Error: 09/10/09 , 18:56:18:921 : InitiateQTP : Failed to ConnectTulipToCorrectServer File Line=121 ThreadId=2944
--------------------------------------------------------------------------------
OK: 09/10/09 , 18:56:18:921 : Begin CloseQTP : bForce = 0 File Line=1459 ThreadId=2944
--------------------------------------------------------------------------------
OK: 09/10/09 , 18:56:18:921 : End CloseQTP File Line=1540 ThreadId=2944
--------------------------------------------------------------------------------
Error: 09/10/09 , 18:56:18:921 : run : InitiateQTP failed File Line=675 ThreadId=2944
实在是不知道怎么回事~~ 快崩溃了~~作者: heavy200t 时间: 2009-9-15 23:01
OK: 09/10/09 , 18:56:18:640 : ConnectTulipToCorrectServer - need to disconnect we are connected to the wrong QC File Line=567 ThreadId=2944
--------------------------------------------------------------------------------
Error: 09/10/09 , 18:56:18:921 : Exception caught! Hr=0x80020009. Msg=Connection is not available File Line=589 ThreadId=2944