| || |
custome .net dll locked until qtp restarted
I am using a custom .net dll (c#) for some functions and observed if i create an instance of this dll in qtp script, dll gets locked. It can not be updated. Only option to update, delete this is to restart QTP.
This is little inconvenient, would anyone have an idea how can we overcome this issue.
Set oDotNetFactory = CreateObject("Mercury.DotNetFactory.1")
Create your objects using oDotNetFactory and then later destroy the object
Set oDotNetFactory = Nothing