从Windows任务管理器运行UFT时出错

时间:2019-06-17 20:22:44

标签: hp-uft uft14

当我配置Windows任务管理器以从Vsd运行UFT时,从任务窗口运行时uft关闭,并在日志文件上显示下一个错误。

1。-我从UFT界面运行OK UFT。 2.-从Windows任务管理器执行时发生错误。

2019-06-17 15:10:02,838 LogCatPackMobile [1]错误缺少远程主机连接设置之一 2019-06-17 15:10:03,050 HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature [1]错误对象存储库文件:C:\ Users \ sirhenry \ AppData \ Local \ Temp \ HP {DBDC24CC-3687-4081-找不到BE44-98B3A61E4150} \ Test \ Action0 \ ObjectRepository.bdb System.IO.DirectoryNotFoundException:没有任何限制。 (例外情况HRESULT:0x80030003(STG_E_PATHNOTFOUND))    zh_cn QTP.BackEnd.Core.DocumentIfsLib.IRepositoriesLoader.Open(字符串ObjectRepositoryVirtualPath,Int32&pCookie,Object&ppObjectRepository,Int32 bPerApplication)    zh-cn HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature.GetLocalObjectRepositoryFromBdb(字符串bdbPath,Int32&objectManagerCookie,Object&localObjectManager) 2019-06-17 15:10:03,312 HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature [1]错误对象存储库文件:C:\ Users \ sirhenry \ AppData \ Local \ Temp \ HP {DBDC24CC-3687-4081-找不到BE44-98B3A61E4150} \ Test \ Action1 \ ObjectRepository.bdb System.IO.DirectoryNotFoundException:没有任何限制。 (例外情况HRESULT:0x80030003(STG_E_PATHNOTFOUND))    zh_cn QTP.BackEnd.Core.DocumentIfsLib.IRepositoriesLoader.Open(字符串ObjectRepositoryVirtualPath,Int32&pCookie,Object&ppObjectRepository,Int32 bPerApplication)    zh-cn HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature.GetLocalObjectRepositoryFromBdb(字符串bdbPath,Int32&objectManagerCookie,Object&localObjectManager) 2019-06-17 15:10:06,051 LogCatASSERT [1]错误MIC_LOG_ASSERT。表达式:((((HRESULT] [hr]]> = 0)&& spDispMicParType!= 0 Func = CMicParamTypeMgr :: Init File = e:\ ft \ qtp \ win32_release \ 14.3.3501.0_clean \ qtp \ backend \ core \ parameters \ parammgr \ app \ micparammgr \ micparametertypemgr.cpp Line = 242 ThreadID = 121124 2019-06-17 15:10:09,399 LogCatASSERT [1]错误MIC_LOG_ASSERT。表达式:false Func = CRepoContainer :: ConnectToActionEvents File = RepoContainer.cpp Line = 468 ThreadID = 121124 2019-06-17 15:10:09,421 HP.QTP.Backend.Features.FeaturesManagement.SettingsListener [1]错误无法取消注册。 System.Runtime.InteropServices.COMException(0x80004005):错误HRESULT E_FAIL已从对COM组件的调用返回。    在MicSetObjLib.ISettingsNotifier.UnRegister(字符串entryPath,UInt32 dwCookie)    在HP.QTP.Backend.Features.FeaturesManagement.SettingsListener.Dispose(布尔设置) 2019-06-17 15:10:09,430 LogCatPackMobile [1]错误缺少远程主机连接设置之一 2019-06-17 15:10:09,719 LogCatPackMobile [1]错误缺少远程主机连接设置之一 2019-06-17 15:10:13,466 HP.QTP.InformationPanes [1]错误无法检查项目,e = System.NullReferenceException:对象引用未设置为对象的实例。    在HP.QTP.InformationPanes.MissingResources.SyntaxError.CheckProject(QtpTestBase qtpTestBase,IProject项目)    在HP.QTP.InformationPanes.MissingResources.ErrorHanlderBase.CheckProject(IProject项目) 2019-06-17 15:10:13,468 HP.QTP.InformationPanes [1]错误无法检查项目,e = System.NullReferenceException:对象引用未设置为对象的实例。    在HP.QTP.InformationPanes.MissingResources.MissingFunctionLibrary.CheckProject(QtpTestBase qtpTestBase,IProject项目)    在HP.QTP.InformationPanes.MissingResources.ErrorHanlderBase.CheckProject(IProject项目) 2019-06-17 15:10:13,473 HP.QTP.InformationPanes [1]错误无法检查项目,e = System.NullReferenceException:对象引用未设置为对象的实例。    在HP.QTP.InformationPanes.MissingResources.MissingRecoverySenario.CheckProject(QtpTestBase qtpTestBase,IProject项目)    在HP.QTP.InformationPanes.MissingResources.ErrorHanlderBase.CheckProject(IProject项目) 2019-06-17 15:10:13,474 HP.QTP.InformationPanes [1]错误无法检查项目,e = System.NullReferenceException:对象引用未设置为对象的实例。    在HP.QTP.InformationPanes.MissingResources.MissingEnvVarFile.CheckProject(QtpTestBase qtpTestBase,IProject项目)    在HP.QTP.InformationPanes.MissingResources.ErrorHanlderBase.CheckProject(IProject项目) 2019-06-17 15:10:13,646 LogCatASSERT [1]错误MIC_LOG_ASSERT。表达式:false Func = CRepoContainer :: ConnectToRepoListEvents File = RepoContainer.cpp Line = 406 ThreadID = 121124 2019-06-17 15:10:14,943 HP.QTP.Backend.Entities.ConnectionPointsManager [1]错误操作:System .__ ComObject上的StartReplay失败:System.InvalidCastException:指定的转换无效。    在QTP.BackEnd.Core.DocumentIfsLib._MicFlowReplayEvents.StartReplay(Int16 bDebug)    在HP.QTP.Backend.Entities.ConnectionPointsManager。<> c__DisplayClass43_0.b__0(_MicFlowReplayEvents t)    在HP.QTP.Backend.Common.EventHelperClasses.GenericConnectionPoint 1.FireOnSingleItem(T item, Action 1 actionToPerform,Action 2 performOnOtherExceptions) 2019-06-17 15:10:14,944 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: (((HRESULT)(hr)) >= 0) && vtVal.vt == VT_I4 && vtVal.lVal == 1<br>Not running from SRF Func=CMobileAddInObj::ApplyExternalRnRSettings File=MobileAddinObj.cpp Line=103 ThreadID=121124 2019-06-17 15:10:18,183 HP.QTP.FrontEnd.LegacyCommands [ 1] ERROR Counter Monitor Start Replay event was called 2019-06-17 15:10:18,477 QcIntegration.QtOtaWrapper [ 1] ERROR Mercury.QTP.OTAWrapper.ModuleLogger.LogMessage trace log, HP.QTP.Infra.Exceptions.NotImplSinceNotConnectedException: GetRunID: this method is not impemented for non-connected qc. at HP.QTP.Integrations.QC.QCConnectionsManager.NotConnectedToQc.GetRunID() at Mercury.QTP.TDMReporter.TDMListener.InitializeIterations(), exception message 'GetRunID: this method is not impemented for non-connected qc.', exception source 'HP.QTP.Integrations.QC.QCConnectionsManager', exception stack trace: HP.QTP.Infra.Exceptions.NotImplSinceNotConnectedException: GetRunID: this method is not impemented for non-connected qc. at HP.QTP.Integrations.QC.QCConnectionsManager.NotConnectedToQc.GetRunID() at Mercury.QTP.TDMReporter.TDMListener.InitializeIterations() 2019-06-17 15:10:19,302 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: strHostAddress && strlen(strHostAddress) > 0<br>server parameter must not be null or empty Func=Hp4mRestChannel::SetServer File=RestChannel.cpp Line=211 ThreadID=121124 2019-06-17 15:10:19,302 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: SUCCEEDED(m_hrStatus) hr = 0x80070057 Func=CMobileSessionMgr::StartSession File=MobileSessionManager.cpp Line=295 ThreadID=121124 2019-06-17 15:10:19,302 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: SUCCEEDED(hr) hr = 0x80070057 Func=CMobileSessionMgr::StartSession File=MobileSessionManager.cpp Line=263 ThreadID=121124 2019-06-17 15:11:47,416 HTMLReportLogger.HTMLReportLoggerImp [ 1] ERROR Error occurred when saving snapshot in method 'SaveSnapshot'. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at TestObjectIfsLib.DispTestObject.GetROProperty(String Property, Object& PropertyData) at HTMLReportLogger.HTMLReportLoggerImp.GetROStringProperty(DispTestObject dps, String property) at HTMLReportLogger.HTMLReportLoggerImp.IsMobileDevice(DispTestObject topDispTestObj) at HTMLReportLogger.HTMLReportLoggerImp.SaveSnapshot(EventInfo eventInfo) 2019-06-17 15:11:47,637 HTMLReport [ 16] ERROR Referencia a objeto no establecida como instancia de un objeto. 2019-06-17 15:11:47,866 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: SUCCEEDED(m_hrStatus)<br>called but not connected hr = 0x80070057 Func=CMobileSessionMgr::StopReplay File=MobileSessionManager.cpp Line=983 ThreadID=121124 2019-06-17 15:11:48,833 LogCatPackMobile [ 1] ERROR one of the remote host connection settings is missing 2019-06-17 15:11:48,861 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: false Func=CRepoContainer::ConnectToRepoListEvents File=RepoContainer.cpp Line=425 ThreadID=121124 2019-06-17 15:11:49,005 LogCatPackMobile [ 1] ERROR one of the remote host connection settings is missing 2019-06-17 15:11:49,084 HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature [ 1] ERROR object repository file: C:\Users\sirhenry\AppData\Local\Temp\HP\{DBDC24CC-3687-4081-BE44-98B3A61E4150}\Test\Action0\ObjectRepository.bdb is not found System.IO.DirectoryNotFoundException: No se puede encontrar la ruta . (Exception from HRESULT: 0x80030003 (STG_E_PATHNOTFOUND)) at QTP.BackEnd.Core.DocumentIfsLib.IRepositoriesLoader.Open(String ObjectRepositoryVirtualPath, Int32& pCookie, Object& ppObjectRepository, Int32 bPerApplication) at HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature.GetLocalObjectRepositoryFromBdb(String bdbPath, Int32& objectManagerCookie, Object& localObjectManager) 2019-06-17 15:11:49,229 HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature [ 1] ERROR object repository file: C:\Users\sirhenry\AppData\Local\Temp\HP\{DBDC24CC-3687-4081-BE44-98B3A61E4150}\Test\Action1\ObjectRepository.bdb is not found System.IO.DirectoryNotFoundException: No se puede encontrar la ruta . (Exception from HRESULT: 0x80030003 (STG_E_PATHNOTFOUND)) at QTP.BackEnd.Core.DocumentIfsLib.IRepositoriesLoader.Open(String ObjectRepositoryVirtualPath, Int32& pCookie, Object& ppObjectRepository, Int32 bPerApplication) at HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature.GetLocalObjectRepositoryFromBdb(String bdbPath, Int32& objectManagerCookie, Object& localObjectManager) 2019-06-17 15:11:49,730 LogCatPackMobile [ 1] ERROR one of the remote host connection settings is missing 2019-06-17 15:11:50,541 HP.QTP.InformationPanes [ 1] ERROR failed to check project, e=System.NullReferenceException: Object reference not set to an instance of an object. at HP.QTP.InformationPanes.MissingResources.MissingRecoverySenario.CheckProject(QtpTestBase qtpTestBase, IProject project) at HP.QTP.InformationPanes.MissingResources.ErrorHanlderBase.CheckProject(IProject project) 2019-06-17 15:11:50,605 HP.QTP.InformationPanes [ 9] ERROR failed to check project, e=System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. en ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.SafeThreadFunction[A,R](Func 2方法,arg1)处    zh-cn HP.QTP.InformationPanes.MissingResources.ErrorPaneCheckService.CheckAllErrors(IProject targetProject,列表1 checkType) 2019-06-17 15:11:50,605 HP.QTP.InformationPanes [ 9] ERROR failed to check project, e=System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. en ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.SafeThreadFunction[A,R](Func 2方法,A arg1)    zh-cn HP.QTP.InformationPanes.MissingResources.ErrorPaneCheckService.CheckAllErrors(IProject targetProject,列表1 checkType) 2019-06-17 15:11:50,605 HP.QTP.InformationPanes [ 9] ERROR failed to check project, e=System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. en ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.SafeThreadFunction[A,R](Func 2方法,A arg1)    zh-cn HP.QTP.InformationPanes.MissingResources.ErrorPaneCheckService.CheckAllErrors(IProject targetProject,列表1 checkType) 2019-06-17 15:11:50,605 HP.QTP.InformationPanes [ 9] ERROR failed to check project, e=System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. en ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.SafeThreadFunction[A,R](Func 2方法,A arg1)    zh-cn HP.QTP.InformationPanes.MissingResources.ErrorPaneCheckService.CheckAllErrors(IProject targetProject,List`1 checkType) 2019-06-17 15:11:50,713 LogCatTestOps [1]错误记录重放管理器机架已终止,但是仍然有保存对其引用的对象Func = CRRManagerOwnedRack :: Terminate File = e:\ ft \ qtp \ win32_release \ 14.3.3501.0_clean \ qtp \后端\ recordreplay \ rrinfra \ qtrrmanager \ app \ qtrrmanager \ rrmanagerrack.cpp Line = 131 ThreadID = 121124

0 个答案:

没有答案