Getting a license error trying to execute UFT tests from ALM
Question ID: 105960

When trying to execute a test in ALM I get the following error: 'You cannot use the current test. A Unified Functional Testing license is needed. Load the license and try again.' The machine has UFT installed and we are able to open and run tests from UFT, just not from ALM. Also, ALM seems to function fine on other machines, so I don't believe it is an issue with ALM licensing.

Marked as spam
Posted by (Questions: 227, Answers: 22)
Asked on March 2, 2015 5:42 pm
Answers (1)
Private answer

I have found that most 'license' related error messages that are thrown on the ALM side are caused by the UFT machine's environment variable. Check that there is an **LSFORCEHOST** variable under the **SYSTEM** variables (*Not* **USER** variables) and that it is pointing/set to the license server machine name.

By default, the variables are set per user and this can cause issues when doing things remotely from the ALM side and need to be added as a **SYSTEM** variable and then it is seen 'globally'.

![alt text][1]

[1]: /storage/temp/269-ev.jpg

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on March 2, 2015 5:44 pm

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

Scroll to Top