51Testing软件测试论坛

标题: 【急救】QTP 11.5新建GUItest,提示发生意外错误,怎么解决? [打印本页]

作者: matt_3g    时间: 2017-3-10 08:58
标题: 【急救】QTP 11.5新建GUItest,提示发生意外错误,怎么解决?
本帖最后由 matt_3g 于 2017-3-10 12:16 编辑

【急救】QTP 11.5新建GUItest,提示发生意外错误,怎么解决?
F:\1.jsp
作者: matt_3g    时间: 2017-3-10 09:00
如图:
作者: 测试菜鸟梦    时间: 2017-3-10 09:51
matt_3g 发表于 2017-3-10 09:00
如图:

楼主应该点击【详细信息】,查看具体报什么错呢
作者: matt_3g    时间: 2017-3-10 12:30
测试菜鸟梦 发表于 2017-3-10 09:51
楼主应该点击【详细信息】,查看具体报什么错呢

SharpDevelop Version : 4.1.1.0-00000000
.NET Version         : 4.0.30319.42000
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : Chinese (Simplified, PRC) (zh-CN)
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 219992kb
GC Heap Memory       : 17103kb

发生意外错误。
单击 ‘确定’ 关闭此消息。您可以继续工作,
但请注意,此工作流可能会导致此错误再次出现。
单击 ‘详细信息’ 显示有关此错误的详细技术信息,
这些信息可以帮助您解决问题,也可能会在联系客户支持时用到。
---- Post-error application state information:
Installed 3rd party AddIns: [${res:Addin.UFT.File.Dialog.UFT.Only} 11.50.0.0], [ActiveScreenPane 0.0.0.0], [QTP DataTable Addin], [QTP Debugger addin based on UT Debugger 0.0.0.0], [QTP FileDialog 0.0.0.0], [HP QTP Property Tabs 0.0.0.0], [ALM Storage 11.50.0.0], [HP Basic Extensibility 11.50.0.0], [HP Designer UI Extensibility 11.50.0.0], [HP SOAReplayAPI Extensibility 11.50.0.0], [${res:HP_Async} 11.50.0.0], [${res:HP_Checkpoints} 11.50.0.0], [${res:STDataProvider_HP_Data_Providers} 11.50.0.0], [${res:BasicActivity_HP_Basic_Activities} 11.50.0.0], [${res:HP_BPT_Integration} 11.50.0.0], [HP CSharp Translation Layer 11.50.0.0], [${res:HP_Database_Activities} 11.50.0.0], [${res:HP_Standard_Import_Technologies} 11.50.0.0], [HP Framework Upgraders 11.50.0.0], [${res:HP_FTP_Activities} 11.50.0.0], [ST Debugger addin based on UT Debugger 11.50.0.0], [${res:HTTP_Activity} 11.50.0.0], [${res:HP_Receiver_Activity} 11.50.0.0], [Run Step Pad 11.50.0.0], [${res:HP_Java_Call_Addin} 11.50.0.0], [${res:HP_JMS_Technology} 11.50.0.0], [${res:HP_LoadRunner_Integration} 11.50.0.0], [${res:HP_MQ_Activities} 11.50.0.0], [${resropertySheet_HP_Basic_Property_Sheet} 11.50.0.0], [${res:HP_Rest_Technology} 11.50.0.0], [${res:HP_UFT_STM} 11.50.0.0], [${res:HP_Service_Test_runner} 11.50.0.0], [HP Basic Framework 11.50.0.0], [Toolbox Default Presenter 11.50.0.0], [HP Toolbox UI Extensibility 11.50.0.0], [${res:HP_Transform_JSON_Addin} 11.50.0.0], [${res:HP_Transform_Xml_Addin} 11.50.0.0], [${res:HP_QTP_test_runner} 11.50.0.0], [${res:HP_Validate_Xml_Addin} 11.50.0.0], [VTD Extensibility 11.50.0.0], [${res:HP_Run_Vugen_Addin} 11.50.0.0], [${res:Wait_Activity} 11.50.0.0], [${res:WSImportTechnology_HP_Standard_Import_Technologies} 11.50.0.0], [HP Shell Services 11.50.0.0], [${res:Addin.UFT.Data.Explorer} 11.50.0.0], [UTT Configuration UI 11.50.0.0], [Debug Pad Wrapper Extension addin for UTT 11.50.0.0], [UTT Debug Basic implementation addin for UTT 11.50.0.0], [UTT File Dialog 11.50.0.0], [${res:Addin.UFT.File.System} 11.50.0.0], [${res:Addin.UFT.ALM} 11.50.0.0], [UTT Connection Addin 11.50.0.0], [HPUttIdeCommands 11.50.0.0], [UttBookmarkPad 11.50.0.0], [UttErrorListPad 11.50.0.0], [UttOutputPad 11.50.0.0], [UttTaskListPad 11.50.0.0]
Workbench.ActiveContent: HP.UFT.StartPage.StartPageViewContent
ProjectService.OpenSolution: <null>
ProjectService.CurrentProject: <null>
---- Recent SharpDevelop log messages:
---- Recent Utt log messages:


作者: matt_3g    时间: 2017-3-10 12:31
测试菜鸟梦 发表于 2017-3-10 09:51
楼主应该点击【详细信息】,查看具体报什么错呢

   at QTP.BackEnd.Core.DocumentIfsLib.IScriptSetting.GetValueByName(String Key, String Attr, Object& pVal, PERSISTTYPES& pptPropType, Int32& pbReadOnly)
   at HP.QTP.Backend.Common.Utils.AddinApplicationSettingsHelper.IsActiveAddin(IScriptSetting scriptSetting, String bstrAddIn)
   at HP.QTP.Backend.Features.DocumentInformationFeature.AssociatedAddins.AddinsSettingsInitializer.InitializeAddin(IAddinsMngAdapter addInManager, IScriptSetting appSettings, IScriptSetting testSettings, String addInNameAsKeyInSettings)
   at HP.QTP.Backend.Features.DocumentInformationFeature.AssociatedAddins.AddinsSettingsInitializer.InitializeAimSettingsForLoadedIem(IAddinsMngAdapter addInManager, IScriptSetting appSettings, IScriptSetting testSettings)
   at HP.QTP.Backend.Features.DocumentInformationFeature.AssociatedAddins.AssociatedAddinsManagerFeature.InitializeFeature(AssociatedAddinsManagerFeatureProperties context)
   at HP.QTP.Backend.Features.DocumentInformationFeature.AssociatedAddins.AssociatedAddinsManagerFeature..ctor(AssociatedAddinsManagerFeatureProperties context)
   at HP.QTP.Backend.Features.FeaturesFactory.TestFeatureFactory.CreateAssociatedAddinsManagerFeature(AssociatedAddinsManagerFeatureProperties context)
   at HP.QTP.Backend.Entities.TestDocument.InitDocumentAddins()
   at HP.QTP.Backend.Builders.ItemBuilders.TestBuilderBase`2.New(String path, IQTCollectionItem owner, Boolean performSave)
   at HP.QTP.Backend.Builders.ItemBuilders.TestBuilderBase`2.New(String path, IQTCollectionItem owner)
   at HP.QTP.Backend.Builders.ItemBuilders.ItemBuilderBase`2.HP.QTP.Backend.Common.IQTItemBuilder.New(String path, IQTCollectionItem owner)
   at HP.QTP.Backend.Collections.QTCollectionBase.InternalNew(String path, IQTCollectionItem owner)
   at HP.QTP.Backend.Collections.QTCollectionBase.New(String path, IQTCollectionItem owner)
   at HP.QTP.BackEndServices.BackEndManager.<>c__DisplayClass1d.<NewTest>b__1b(Object dummyCreateInfo)
   at HP.UFT.Common.Cache`2.GetOrCreate[TCreationInfo](TIdentifier identifier, Func`2 objectGenerator, TCreationInfo creationInfo)
   at HP.QTP.BackEndServices.BackEndManager.NewTest(String testname, Boolean isTempTest)
   at HP.QTP.ProjectSystem.QtpProjectService.CreateTestProject(String path)
   at HP.UFT.Common.Cache`2.GetOrCreate[TCreationInfo](TIdentifier identifier, Func`2 objectGenerator, TCreationInfo creationInfo)
   at HP.QTP.ProjectSystem.QtpProjectService.CreateProject(ProjectCreateInformation info)
   at HP.QTP.ProjectSystem.QtpProjectBinding.CreateProject(ProjectCreateInformation info)
   at ICSharpCode.SharpDevelop.Internal.Templates.ProjectDescriptor.CreateProject(ProjectCreateInformation projectCreateInformation, String defaultLanguage)
   at HP.Utt.ProjectSystem.UttProjectTemplate.CreateProject(ProjectCreateInformation projectCreateInformation)
   at HP.QTP.ProjectSystem.Templates.CreateNewQtpProjectCommand.InternalRun()
   at HP.Utt.UttCore.UttWrappedCommand.Run()
   at HP.Utt.ProjectSystem.UttProjectTemplate.<>c__DisplayClass5.<LoadTemplateData>b__4(ProjectCreateInformation projectCreateInformation, Boolean isSolutionVisible, List`1 selectedTemplateItems)
   at HP.Utt.ProjectSystem.UttProjectService.CreateProject(UttProjectCreateInformation cinfo, String newSolutionDirectory)
   at HP.UFT.ProjectSystem.UftProjectService.CreateTestingProject(UftProjectCreateInformation createInformation)
   at HP.UFT.ProjectSystem.Commands.NewTestingProjectCommand.InternalRun()
   at HP.Utt.UttCore.UttWrappedCommand.Run()
   at ICSharpCode.Core.Presentation.CommandWrapper.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
作者: tqg    时间: 2017-4-15 23:59
用HP Unified Functional Testing创建GUItest,同样是报这个错误。请问解决了吗?




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2