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 Jenkins agent running on the remote server to allow control. The remote windows server has been configured as per the instructions here https://support.smartbear.com/testcomplete/docs/working-with/integration/jenkins/requirements-and-limitations.html
The Jenkins plug-in uses the Run interactive user session checked and uses a valid username and password.
With the remote server open via a RDC the TC test suite executes successfully when triggered from the Jenkins application, when I lock or close the remote server TC successfully executes test cases that use API/Service interfaces but the Tests that use the actual AUT (application under test) UI return the error "The operation cannot be performed, because the user session is disconnected"
Does anybody have any further debug/config changes that is required to resolve my issue? Thanks
iaryan I've found a couple of articles that might be of help to you, please take a look:
A 'solved' community thread - The operation cannot be performed, because the user session is disconnected
Let us know if you find useful insights there.