Pages

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

1 comment:

Shalini said...

Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your.
Digital Marketing Company in India