UFT throws an exception after batch run is completed (502 Views)
Reply
Visitor
Andrew Sharp_1
Posts: 2
Registered: ‎10-09-2004
Message 1 of 2 (502 Views)

UFT throws an exception after batch run is completed

Hi,

 

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"
ExitTest

 

Exception details:

 

Exception of type: HP.QTP.Backend.Features.FeaturesManagement.UnderDefinedFeatureRequestException. 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.FeatureManager.GetFeature[T]()
at HP.QTP.Backend.Entities.EntityBase`1.GetFeature[TF]()
at HP.QTP.Backend.Entities.ActionDocument.get_ActionInformationFeature()
at HP.QTP.Backend.Entities.ActionDocument.get_ObjectManager()
at HP.QTP.Backend.Features.ActionManagementFeature.ActionManagementFeature.SyncObjectManagers()
at HP.QTP.Backend.Entities.TestDocumentBase`1.SyncObjectManagers()
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_IsActive(Int32 value)
at HP.QTP.BackEndServices.QtpItems.QtpItemBase.set_IsActive(Boolean value)
at HP.QTP.BackEndServices.ActiveProjectManager.set_ActiveProject(IProject value)
at HP.QTP.BackEndServices.ActiveProjectManager.SetActiveProject(IProject project)
at HP.QTP.ProjectSystem.DataObjects.QtpTestBase.SetAsActiveTest()
at HP.QTP.ProjectSystem.DataObjects.QtpTestBase.Close(Boolean isBatch)
at HP.Utt.ProjectSystem.UttProjectService.CloseOpenSolution()
at HP.UFT.ProjectSystem.UftProjectService.CloseOpenSolution()
at HP.UFT.ProjectSystem.UftProjectService.OpenSolution(LocationInfo locationInfo)
at HP.UFT.ProjectSystem.Commands.Open.OpenSolutionCommand.ExecuteAction(LocationInfo locationInfo)
at HP.UFT.ProjectSystem.Commands.Base.BrowseForTestingProjectCommand.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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

SharpDevelop Version : 4.1.1.0-00000000
.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} 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], [${res:PropertySheet_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.QTP.Editors.SwitchViewContent
ProjectService.OpenSolution: [Solution: FileName=C:\testing\functional\PacificAutomation\Scripts\RegressionScenario1\RegressionScenario1.ftsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [QtpTestProject: Pacific]

---- Recent SharpDevelop log messages:

---- Recent Utt log messages:

 

 

Thanks

Visitor
Andrew Sharp_1
Posts: 2
Registered: ‎10-09-2004
Message 2 of 2 (453 Views)

Re: UFT throws an exception after batch run is completed

Any replies on this from HP support?????

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.