Micro Focus QTP (UFT) Forums
QTP actions Vanishing from Test Flow - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP actions Vanishing from Test Flow (/Thread-QTP-actions-Vanishing-from-Test-Flow)



QTP actions Vanishing from Test Flow - Nick1787 - 02-04-2009

Hello,

I recently began having issues where my re-usuable actions will vanish from my test flow. I have designed my tests to be extremely modular, broken up across multiple actions. Due to the nature of the App I'm testing, I broke these actions into two seperate QTP test. These actions were then called from a third (master) QTP Test which controlled the entire test flow from a spreadsheet (Data Driven).

--Problem 1--
My actions began disappearing from the test flow frame. The files for the action located in the Action# folder still remained and the calls within the QTP script still remained as well. Once more the actions did not report as a missing resource. They just simply did not appear in the test flow. I've found this to be extremely random and hard to repeat. It seems they just fail to be loaded when loading a test. If I closed QTP and re-opened it along with the test sometimes they re-appear.

If I add another action with the same name, Magically the action re-appears in the test flow, however, it is actually just the new action listed twice. The only way to get back the action I've found is to hope QTP re-loads it, or to copy the code out of the MTS File and re-create the action.

--Problem 2--
When linking actions across tests, I've found that not all actions are listed in the Action Drop Down List. All of the actions are re-usuable. I found that if trying to call an action from within the same test works fine, however, when trying to call the action from an external test not all the actions are listed. The attachment contains screenshots which show the action missing from the drop-down list.

If anyone has any insight to what might be causing this any help would be appreciated.