Host is locked by another test. Waiting…

  • Questions
  • Host is locked by another test. Waiting...
Question ID: 106910

Hello. We are using a batch file along with the scheduler to kick off one of our UFT tests. The frequency is set to run every 10 minutes, and most of the time when the scheduler kicks off the automated Test Set, we keep receiving the "Host is locked by another test. Waiting…" message in the Automatic Runner window for the first test and the remaining tests display "Waiting…". What can we do to prevent this error from occurring?

Marked as spam
Posted by (Questions: 230, Answers: 30)
Asked on June 15, 2016 8:20 pm
Answers (1)
Private answer

The frequency being set to kick off tests every 10 minutes is too frequent. Before the first Test Set has completed, UFT hasn't had time to fully complete the run before starting another, which is causing the test to lock the host. You will need to use the 'Daily' setting if you need the script kicked off on a daily basis. Allow more time in between runs will help you avoid this issue from reoccurring in the future.

Marked as spam
Posted by (Questions: 2, Answers: 292)
Answered on June 15, 2016 8:23 pm