User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    New Member
    Join Date
    Jun 2009
    Post Thanks / Like
    0 Post(s)
    0 Thread(s)
    Total Downloaded

    UFT throws an exception after batch run is completed


    We are using UFT 11.50 which we recently uploaded to 11.51 after installing some patches from HP. But whenever we try to batch run our scripts from solution explorer we get an exception that doesn't go away until we retart UFT. We need to resolve this issue ASAP since our company is planning to buy more licenses. Your help is much appreciated.

    Code executed:
    AbsolutePath = PathFinder.Locate ("Scripts")
    testPath = AbsolutePath & "\RegressionScenario1\abc"
    LoadAndRunAction testPath,"ActionName1"
    testPath = AbsolutePath & "\RegressionScenario1\xyz"
    LoadAndRunAction testPath,"ActionName2"
    testPath = AbsolutePath & "\RegressionScenario1\xcx"
    LoadAndRunAction testPath,"ActionName3"

    Exception details:

    Exception of type: HP.QTP.Backend.Features.FeaturesManagement.UnderDe finedFeatureRequestException. Source: HP.QTP.Backend.Features.FeaturesManagement. Occured in T GetFeature[T]() method
    Exception message is: Request type : IActionDocumentInformationFeature
    Exception trace is: at HP.QTP.Backend.Features.FeaturesManagement.Feature Manager.GetFeature[T]()
    at HP.QTP.Backend.Entities.EntityBase`1.GetFeature[TF]()
    at HP.QTP.Backend.Entities.ActionDocument.get_ActionI nformationFeature()
    at HP.QTP.Backend.Entities.ActionDocument.get_ObjectM anager()
    at HP.QTP.Backend.Features.ActionManagementFeature.Ac tionManagementFeature.SyncObjectManagers()
    at HP.QTP.Backend.Entities.TestDocumentBase`1.SyncObj ectManagers()
    at HP.QTP.Backend.Entities.MDIActivator.MdiActivator. SetActiveTestInApplication(IMdiAssetEntity entity, IObjectRack testRack, IScriptSetting perTestSetting)
    at HP.QTP.Backend.Entities.MDIActivator.MdiActivator. ActivateItem(IObjectRack applicationRack, IMdiAssetEntity entityToActivate, IScriptSetting settings)
    at HP.QTP.Backend.Entities.TestDocumentBase`1.set_IsA ctive(Int32 value)
    at HP.QTP.BackEndServices.QtpItems.QtpItemBase.set_Is Active(Boolean value)
    at HP.QTP.BackEndServices.ActiveProjectManager.set_Ac tiveProject(IProject value)
    at HP.QTP.BackEndServices.ActiveProjectManager.SetAct iveProject(IProject project)
    at HP.QTP.ProjectSystem.DataObjects.QtpTestBase.SetAs ActiveTest()
    at HP.QTP.ProjectSystem.DataObjects.QtpTestBase.Close (Boolean isBatch)
    at HP.Utt.ProjectSystem.UttProjectService.CloseOpenSo lution()
    at HP.UFT.ProjectSystem.UftProjectService.CloseOpenSo lution()
    at HP.UFT.ProjectSystem.UftProjectService.OpenSolutio n(LocationInfo locationInfo)
    at HP.UFT.ProjectSystem.Commands.Open.OpenSolutionCom mand.ExecuteAction(LocationInfo locationInfo)
    at HP.UFT.ProjectSystem.Commands.Base.BrowseForTestin gProjectCommand.InternalRun()
    at HP.Utt.UttCore.UttWrappedCommand.Run()
    at ICSharpCode.Core.Presentation.CommandWrapper.Execu te(Object parameter)
    at MS.Internal.Commands.CommandHelpers.CriticalExecut eCommandSource(ICommandSource commandSource, Boolean userInitiated)
    at System.Windows.Controls.MenuItem.InvokeClickAfterR ender(Object arg)
    at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    SharpDevelop Version :
    .NET Version : 4.0.30319.296
    OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
    Current culture : English (United Kingdom) (en-GB)
    Running under WOW6432, processor architecture: x86-64
    Working Set Memory : 212628kb
    GC Heap Memory : 57385kb

    An unexpected error occurred.
    Click ‘OK’ to close this message. You may be able to continue working,
    but note that this workflow may cause the error to occur again.
    Click ‘Details’ to display technical details on this error which may help
    you solve the problem, or can be used when contacting customer support.
    ---- Post-error application state information:
    Installed 3rd party AddIns: [${res:Addin.UFT.File.Dialog.UFT.Only}], [ActiveScreenPane], [QTP DataTable Addin], [QTP Debugger addin based on UT Debugger], [QTP FileDialog], [HP QTP Property Tabs], [ALM Storage], [HP Basic Extensibility], [HP Designer UI Extensibility], [HP SOAReplayAPI Extensibility], [${res:HP_Async}], [${res:HP_Checkpoints}], [${res:STDataProvider_HP_Data_Providers}], [${res:BasicActivity_HP_Basic_Activities}], [${res:HP_BPT_Integration}], [HP CSharp Translation Layer], [${res:HP_Database_Activities}], [${res:HP_Standard_Import_Technologies}], [HP Framework Upgraders], [${res:HP_FTP_Activities}], [ST Debugger addin based on UT Debugger], [${res:HTTP_Activity}], [${res:HP_Receiver_Activity}], [Run Step Pad], [${res:HP_Java_Call_Addin}], [${res:HP_JMS_Technology}], [${res:HP_LoadRunner_Integration}], [${res:HP_MQ_Activities}], [${res:PropertySheet_HP_Basic_Property_Sheet}], [${res:HP_Rest_Technology}], [${res:HP_UFT_STM}], [${res:HP_Service_Test_runner}], [HP Basic Framework], [Toolbox Default Presenter], [HP Toolbox UI Extensibility], [${res:HP_Transform_JSON_Addin}], [${res:HP_Transform_Xml_Addin}], [${res:HP_QTP_test_runner}], [${res:HP_Validate_Xml_Addin}], [VTD Extensibility], [${res:HP_Run_Vugen_Addin}], [${res:Wait_Activity}], [${res:WSImportTechnology_HP_Standard_Import_Techno logies}], [HP Shell Services], [${res:Addin.UFT.Data.Explorer}], [UTT Configuration UI], [Debug Pad Wrapper Extension addin for UTT], [UTT Debug Basic implementation addin for UTT], [UTT File Dialog], [${res:Addin.UFT.File.System}], [${res:Addin.UFT.ALM}], [UTT Connection Addin], [HPUttIdeCommands], [UttBookmarkPad], [UttErrorListPad], [UttOutputPad], [UttTaskListPad]
    Workbench.ActiveContent: HP.QTP.Editors.SwitchViewContent
    ProjectService.OpenSolution: [Solution: FileName=C:\testing\functional\PacificAutomation\S cripts\RegressionScenario1\RegressionScenario1.fts ln, HasProjects=True, ReadOnly=False]
    ProjectService.CurrentProject: [QtpTestProject: Pacific]
    ---- Recent SharpDevelop log messages:
    ---- Recent Utt log messages:


  2. #2
    Join Date
    Jul 2005
    Post Thanks / Like
    0 Post(s)
    7 Thread(s)
    Total Downloaded
    You should first upgrade to UFT 11.53 and see if that helps. If doesn't then open a ticket with HP as this could be a bug



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:28 AM.

Copyright BetaSoft Inc.