Try with class. Class myclass
Private sub class_terminate 'Use this method for clean up End sub End class Regards, Asiq Ahamed Sent on my BlackBerry® from Vodafone -----Original Message----- From: Gajendra Jain <[email protected]> Sender: [email protected] Date: Tue, 17 Jul 2012 11:42:40 To: <[email protected]> Reply-To: [email protected] Subject: run a function at end even if the error exist Hi, I need to run a function which acts as clean up data at the end of each script, even though my script fails for any reasons(Could be logical problem or object identification problem), Just like Try Catch finally block in java scripts. Is there any way I can achieve this? Regards, Gajendra -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
