Forum Discussion
Hi iaryan ,
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.
Hi,
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.
Thanks,
Ivan
- Reshail5 years agoContributor
What error do you encounter then exactly? If you could tell us the error that comes up for the UI test cases. Because the plugin does not create a connection it only uses the active one.
Thanks
- iaryan5 years agoNew Contributor
Hi,
The error is "The operation cannot be performed, because the user session is disconnected" so assuming because the non UI tests (rest services) are executed successfully then the connection is active?
- sonya_m5 years agoSmartBear Alumni (Retired)
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
And a help article - Message - The operation cannot be performed, because the user session is disconnected
Let us know if you find useful insights there.
Related Content
- 2 years ago
- 11 months ago
Recent Discussions
- 7 hours ago