我已经使用UFT 11.5建立了与ALM的连接,当我从UFT 11.5运行我的脚本时,它的工作非常好,但是当我从ALM测试实验室运行相同的脚本时,我遇到了问题。我不确定是什么时候发生的。
我收到Unspecified Error,我想知道为什么直接在UFT中运行的相同脚本没有从ALM运行。
脚本正在从ALM for QTP 11.0运行,它只为UFT 11.5提供了未指定的错误,我还启用了“允许其他HP产品运行测试和组件”选项
请检查屏幕截图是否有错误。我试着找到它的答案,却找不到任何东西:(
日志
OK: 07/09/14 , 11:46:47:141 :
FinalConstruct CAqtRemoteAgent has been created. CurrentRAObjectIndex = 3 File Line=43 ThreadId=3232
OK: 07/09/14 , 11:46:47:183 : CAqtRemoteAgent::host_lock - m_CurrentRAObjectIndex - 3 File Line=206 ThreadId=3232
OK: 07/09/14 , 11:46:47:183 :
Construct CRemoteAgentThread has been created File Line=37 ThreadId=3232
OK: 07/09/14 , 11:46:47:201 : SetMaxNoCommunicationDuration(120000) File Line=107 ThreadId=3232
OK: 07/09/14 , 11:46:47:201 : host_lock Start File Line=907 ThreadId=3232
OK: 07/09/14 , 11:46:47:226 : Lock Start File Line=34 ThreadId=3232
OK: 07/09/14 , 11:46:47:228 : Refresh File Line=98 ThreadId=3232
OK: 07/09/14 , 11:46:47:229 : Lock accept for '\\velomp2a\QCSHARE\repository\qc\CORPORATE_7\CORPORATE_SYSTEMS\tests\70845\67109-07-2014-11-46-46-830' File Line=47 ThreadId=3232
OK: 07/09/14 , 11:46:47:229 : host_lock End (identifier = '\\velomp2a\QCSHARE\repository\qc\CORPORATE_7\CORPORATE_SYSTEMS\tests\70845\67109-07-2014-11-46-46-830', fRC = 1) File Line=920 ThreadId=3232
OK: 07/09/14 , 11:46:47:229 : CAutoClose::Stop - Timer has stopped File Line=92 ThreadId=3232
OK: 07/09/14 , 11:46:47:230 : CAqtRemoteAgent::get_value - m_CurrentRAObjectIndex - 3 File Line=181 ThreadId=3232
OK: 07/09/14 , 11:46:47:235 : CRemoteAgentThread::get_value - external get_value
name = SUPPORT_TEST_CONFIG,
value = YES
File Line=561 ThreadId=3232
OK: 07/09/14 , 11:46:47:297 : CAqtRemoteAgent::get_value - parameter = SUPPORT_TEST_CONFIG File Line=184 ThreadId=3232
OK: 07/09/14 , 11:46:47:298 : CAqtRemoteAgent::is_host_ready, CurrentRAObjectIndex = 3 File Line=66 ThreadId=3232
OK: 07/09/14 , 11:46:47:298 : CRemoteAgentThread::CreateRunningThread() init File Line=1167 ThreadId=3232
OK: 07/09/14 , 11:46:47:298 : Start CreateQTAutomation File Line=51 ThreadId=1456
OK: 07/09/14 , 11:47:8:783 : Start InitTDPierInTulip File Line=1952 ThreadId=1456
Error: 07/09/14 , 11:47:8:811 : InitTDPierInTulip : pTDPier is null File Line=1967 ThreadId=1456
Error: 07/09/14 , 11:47:8:811 : failed to get pier in QTP File Line=68 ThreadId=1456
Error: 07/09/14 , 11:47:8:811 : Create Automation in QuickTest failed. return value = -2147467259 File Line=670 ThreadId=1456
OK: 07/09/14 , 11:47:8:812 : CRemoteAgentThread::TerminateRunningThread - Destroying running thread bTryToPostQuitMsg =1. File Line=1075 ThreadId=3232
Error: 07/09/14 , 11:47:8:812 : CRemoteAgentThread::is_host_ready - Failed to create running thread! ret = -2147467259 File Line=502 ThreadId=3232
OK: 07/09/14 , 11:47:8:812 : CAqtRemoteAgent::is_host_ready,, value = 0 File Line=69 ThreadId=3232
OK: 07/09/14 , 11:47:8:813 : CAqtRemoteAgent::get_value - m_CurrentRAObjectIndex - 3 File Line=181 ThreadId=3232
OK: 07/09/14 , 11:47:8:814 : CAqtRemoteAgent::get_value - parameter = Test_set_end_supported File Line=184 ThreadId=3232
OK: 07/09/14 , 11:47:8:814 : CAqtRemoteAgent::host_unlock - m_CurrentRAObjectIndex - 3 File Line=219 ThreadId=3232
OK: 07/09/14 , 11:47:8:814 : host_unlock Start File Line=932 ThreadId=3232
OK: 07/09/14 , 11:47:8:815 : Unlock Start File Line=73 ThreadId=3232
OK: 07/09/14 , 11:47:8:815 : Unlock End for '\\velomp2a\QCSHARE\repository\qc\CORPORATE_7\CORPORATE_SYSTEMS\tests\70845\67109-07-2014-11-46-46-830' File Line=89 ThreadId=3232
OK: 07/09/14 , 11:47:8:815 : host_unlock End (identifier = '\\velomp2a\QCSHARE\repository\qc\CORPORATE_7\CORPORATE_SYSTEMS\tests\70845\67109-07-2014-11-46-46-830', fRC = 1) File Line=943 ThreadId=3232
OK: 07/09/14 , 11:47:8:815 : CAutoClose::Start - Started a new timer File Line=67 ThreadId=3232
OK: 07/09/14 , 11:47:8:815 : CAutoClose::Start, AutoClose Timer Identifier is = 9722 File Line=70 ThreadId=3232
OK: 07/09/14 , 11:47:10:815 : CAqtRemoteAgent::SetIsInUse - m_CurrentRAObjectIndex - 3 File Line=166 ThreadId=3232
OK: 07/09/14 , 11:47:10:815 : FinalRelease CAqtRemoteAgent has been destroyed. CurrentRAObjectIndex = 3 File Line=60 ThreadId=3232
OK: 07/09/14 , 11:47:10:816 : CRemoteAgentThread::TerminateRunningThread - Destroying running thread bTryToPostQuitMsg =1. File Line=1075 ThreadId=3232
OK: 07/09/14 , 11:47:10:818 : CRemoteAgentThread has been destroyed. File Line=47 ThreadId=3232
答案 0 :(得分:1)
您必须允许ALM远程使用HP QTP / UFT
在中设置复选框
工具 - >选项 - >运行 - >"允许其他HP产品运行测试和组件"
(在QTP 11路径中看起来像这样)。
请确保您已获得在ALM上启动自动化测试的权限。
补丁也帮助了我 https://hpln.hp.com/page/unified-functional-testing-add
答案 1 :(得分:0)
感谢您发布日志。不幸的是,我没有看到任何提示。
我通过搜索"质量中心未指定的错误"找到了一些建议。在网络上似乎表明重新安装QTP / UFT可以帮助解决问题。你试过重新安装吗?
如果您在测试计划中选择测试,然后选择在UFT中打开它的选项,它会打开吗?如果没有,您是否收到更有意义的错误消息?
同样值得注意的是,UFT 11.50在首次发布时非常错误并且收到了大量关键补丁。我会安装所有可用的补丁,我相信你会把你带到UFT 11.53。您可以从HP的支持网站访问软件补丁。
如果重新安装和/或修补无法解决问题,最好将其转交给HP,以便他们指导您启用有助于诊断问题的不同日志。
答案 2 :(得分:0)
我遇到了同样的问题,可以通过
来解决MUTHU muthuramanc@ymail.com