An error has occurred in UFT when attempt to run action batch. It point to wrong location in ALM. There is no problem when run the same action from ALM. The following exception has occurred: System.Runtime.InteropServices.COMException. See below more details:
Exception of type: System.Runtime.InteropServices.COMException. Source: HP.QTP.Integrations.QC.QCConnectionsManager. Occured in Void ThrowComExceptionForGeneralError(System.Exception) method Exception message is: HP.QTP.Integrations.QC.OTAWrapperExtension.Exceptions.ActionFailedException: Failed to locate TSTest, testSetPath = Unattached\Members, testId = 1934 ---> HP.QTP.Integrations.QC.OTAWrapperExtension.EntityNotFoundException: Failed to locate TestSet by path. Entity not found for path = Unattached\Members ---> System.Runtime.InteropServices.COMException: Node not found. < at Mercury.TD.Client.Ota.QC9.ITestSetTreeManager.get_NodeByPath(String Path) at HP.QTP.Integrations.QC.OTAWrapperExtension.TestSetTools.GetTestSetId(String testSetData, Int32& tscId, ITestSet2& testSetItself) --- End of inner exception stack trace --- at HP.QTP.Integrations.QC.OTAWrapperExtension.TestSetTools.GetTestSetId(String testSetData, Int32& tscId, ITestSet2& testSetItself) at HP.QTP.Integrations.QC.OTAWrapperExtension.TestSetTools.GetTestInstanceList(String testSetData, Int32 testId) at HP.QTP.Integrations.QC.OTAWrapperExtension.TestSetTools.GetListOfTestInstancesInTestSet(String testSetData, Int32 testId) --- End of inner exception stack trace --- at HP.QTP.Integrations.QC.OTAWrapperExtension.TestSetTools.GetListOfTestInstancesInTestSet(String testSetData, Int32 testId) at HP.QTP.Integrations.QC.QCConnectionsManager.TDExtended.TDExtendedImpl.GetInstOfTestInCycle(String cycleData, Int32 testKey, String& instanceList) Exception trace is: at HP.QTP.Integrations.QC.QCConnectionsManager.TDExtended.ErrorHandler.ThrowComExceptionForGeneralError(Exception ex) at HP.QTP.Integrations.
Answer by bubblehead712 · Feb 14 at 07:21 PM
Check to see if there is a test in the ALM "unattach" folder which had the same name as the test that was trying to run. This was causing conflict and when the test was renamed in the unattached folder the other test would run.
Debug from Step is not working 1 Answer
Unable to execute UFT test from ALM 1 Answer