Jenkins build error "The operation cannot be performed, because the user session is disconnected."
I have a test environment where a remote server (Windows 2019 server) with Test Execute/Complete is controlled using a Jenkins Instance on a Linux server. Jenkins uses the TC plug-in, it uses a Jenki...
Since you close your connection your user is no longer available. The way I have handled this is by having a disconnect file which keeps the user available. I have shared the file, you will need to edit it and run it with administrator rights. This should solve your problem.
P.S this is obviously a text file you will need to change it after editing it to a .exe extension.
Thanks for the suggestion, I am using the Jenkins plug-in for Test Complete which I understand maintains a user account open for the execution, the Test Complete tests that do not use the application under test UI (these use rest services) are successfully executed as part of a CI run daily but its the UI based tests that return the error message. I can see in the log successful user access for the virtual machine I am using.