Custom Search

To Unlock the QTP Script


Is there any way in which i can unlock the QTP tests which are locked when QTP or QC is closed abruptly.

To unlock the QTP scripts when locked by some other user



Set QCConnection=QCUtil.QCConnection 

Set con=QCConnection.command 
con.CommandText="DELETE FROM LOCKS WHERE LK_USER = 'USERID' " 
Set recset=con.execute 

*Mention your QC or ALM USER ID in above code

No comments: