QTP Tests Locked when no user has test open or Highlighted in QC
Tags:
Question ID: 104636
1
0

Over the past serveral weeks users have been reporting that their QTP scripts have been getting locked. What is the method/procedure (as an admin), to unlock QTP scripts?

Marked as spam
Posted by (Questions: 22, Answers: 1)
Asked on October 4, 2012 3:46 pm
55 views
Answers (2)
0
Private answer

As well as Michael 1's answer above, sometimes when I've had a VM or remote machine crash where I was running QTP and the script I had open was locked when I tried to pull it back up, I can go into QC as site admin and bring up the Site Connections tab. Usually I'll see that there's still an open connection in QC to that machine. I highlight all rows that list a connection to the machine and then click Disconnect. This has always worked with no problem and unlocks the test.

Be sure to save early and save often!

Marked as spam
Posted by (Questions: 16, Answers: 807)
Answered on October 5, 2012 12:13 pm
6
Private answer

Good Morning Wormy,
I have a document listed at the link below that should help. There are a few ways these locks are not released,

1. QTP Crashes and closes
2. QTP's connection to the QC server is interrupted (VPN timeout, Server connection time out, etc)
3. Closing QTP through the task manager

Basically if QTP isn't closed correctly this can happen.

[Manual Release of QC locked QTP Tests][1]

[1]:http://www.ftporasi.com/EyeOnTesting/QC/TestsLocked/QTP%20Test%20Object%20is%20Locked%20by%20the%20Same%20User%20Trying%20to%20Access%20the%20Test.pdf

Marked as spam
Posted by (Questions: 1, Answers: 69)
Answered on October 5, 2012 11:17 am
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top