51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2498|回复: 5
打印 上一主题 下一主题

[原创] 【急救】QTP 11.5新建GUItest,提示发生意外错误,怎么解决?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2017-3-10 08:58:23 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
本帖最后由 matt_3g 于 2017-3-10 12:16 编辑

【急救】QTP 11.5新建GUItest,提示发生意外错误,怎么解决?
F:\1.jsp

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

6#
发表于 2017-4-15 23:59:11 | 只看该作者
用HP Unified Functional Testing创建GUItest,同样是报这个错误。请问解决了吗?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
回复 支持 反对

使用道具 举报

该用户从未签到

5#
 楼主| 发表于 2017-3-10 12:31:47 | 只看该作者
测试菜鸟梦 发表于 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)
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2017-3-10 12:30:49 | 只看该作者
测试菜鸟梦 发表于 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:

回复 支持 反对

使用道具 举报

  • TA的每日心情
    奋斗
    2021-12-15 15:17
  • 签到天数: 138 天

    连续签到: 2 天

    [LV.7]测试师长

    3#
    发表于 2017-3-10 09:51:31 | 只看该作者

    楼主应该点击【详细信息】,查看具体报什么错呢
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-8 16:57 , Processed in 0.068086 second(s), 24 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表