Micro Focus QTP (UFT) Forums
Removing Resuable Actions - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Removing Resuable Actions (/Thread-Removing-Resuable-Actions)



Removing Resuable Actions - Raj20091 - 12-23-2009

Please see the attachment.
I have removed the actions that appear in the dropdown. I do not see them in the keyword view or in the expert view. But they still appear in the drop down. Now I cannot remove them as I don't see them in the script. I don't see messages in the missing resources. How to remove them?


Thanks,
Raj


RE: Removing Resuable Actions - nil - 12-23-2009

Hi Raj,

Add a call to the action in Expert view again.
then go to keyword view and try to remove it again.
i guess u have added this reusable with option " At the end of the test"

Thanks


RE: Removing Resuable Actions - Raj20091 - 12-23-2009

Thanks Nil.
I thik this is what happend --> If the currently selected step is a reusable action from another test, the call to the action is added automatically to the end of the test (the After the current step is disabled).

Your suggestion worked to some extent. I was able to remove two out of four. Do you know where the references are stored, so I can remove from there?

Thanks,
Raj


RE: Removing Resuable Actions - nil - 12-24-2009

Hi Raj,

pls check the call in Action0 folder Scripts.mts file

Thanks


RE: Removing Resuable Actions - Raj20091 - 01-03-2010

Scripts.mts is empty. And I still see the reusable actions


RE: Removing Resuable Actions - XeNoMoRpH - 01-04-2010

I wonder if you add
Code:
RunAction "ERL_Loan_Approval", oneIteration
if you could then delete it. That might have been what nil suggested, just in the keyword view.


RE: Removing Resuable Actions - Raj20091 - 01-04-2010

I am able to delete it now. Thanks all.