Forum Discussion

dcfecker's avatar
dcfecker
Contributor
8 years ago

Jenkins execution--> The requested operation requires elevation

Looking for help with the above error when running my TestExecute tests through jenkins.    I had to jump through a lot of hoops to get the copy artifacts working, and to get access to my gitlabs r...
  • dcfecker's avatar
    8 years ago

    I found this article:

     

    working-with-jenkins/requirements-and-limitations

     

    Had this snippet in it:

     

    Provide Elevated Permissions for TestComplete

    On Windows 8 and later, TestComplete requires elevated permissions for the run. Jenkins that is run through the Java Web Start agent application, cannot start TestComplete with required permissions, and will cause the build step to fail if it tries.

    To run tests under Windows 8 and later, do any of the following:

    • Install the Java Web Start agent as a service. As a service, the agent has the required permissions and can start TestComplete. Make sure the "Run interactive user session" test step option is selected.

    – or –

    • Connect to the slave by using the "Let Jenkins control this Windows slave as a Windows service" launch method. Make sure the "Run interactive user session" test step option is selected.

    – or –

    The only thing I was able to do was the last item, Disable Support for Widows Store apps:

    Tools/Options/Engines/General - uncheck "Enable support for Windows Store applications"

     

    But once I did that the jenkins job stopped erroring with elevation error.