Running test from jenkins to ALM/UFT fails

  • Questions
  • Running test from jenkins to ALM/UFT fails
Question ID: 107013
1
0

on our CI build box, we have UFT and ALM configured in Jenkins. I get the error: Execution status: Error, Message: You do not have permissions to run tests on this machine. You can change this option in your testing tool’s Options dialog box.

If I log into the server (Remote Desk Top) the test runs fine. but we are not going to be physically logged into these servers remote desktop every time we do a Jenkins build and deployment. how can we ‘wake the box up’?

Marked as spam
Posted by (Questions: 359, Answers: 26)
Asked on July 29, 2016 3:10 pm
19 views
Answers (1)
2
Private answer

The UFT host machine needs to not be logged off or locked when initiating the test (either via ALM or Jenkins). Make sure the UFT host machine is logged in, then try to run via Jenkins, and let me know the results.

Because UFT cannot replay scripts on a locked or logged off machine (whether initiated from Jenkins, ALM, etc.), HPE doesn't have any ''official'' workaround, but here's a link that might help:

http://community.hpe.com/t5/Unified-Functional-Testing/Unified-Functional-Testing-run-from-Jenkins/m-p/6587862/highlight/true#M8028

Marked as spam
Posted by (Questions: 0, Answers: 707)
Answered on July 29, 2016 3:10 pm
Thanks, I will give this workaround a try.
( at July 29, 2016 3:11 pm)