09-26-2008, 02:00 PM
ok, The concept behind this is if any of the instance(copy) of the created object is LIVE(ie the pointer to the object) then the object would not be destroyed...you need to make sure that while passing ByRef ALL the instances are set to Nothing in the end.
In your case parentnode may be the problem point.
In your case parentnode may be the problem point.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course