Forum Discussion
Any machine running TestComplete tests that interact with the UI must have an interactive user desktop session available. This does not require a physical monitor but some means, at least, of having such a session. We use a vSphere environment where our VM's have the user sessions redirected to the console so that they can execute. Please see the following article.
https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/keeping-computer-unlocked.html
Hi Robert,
Thanks for the reply.
I tried the steps mentioned in the article, but still i get the error as '[TestComplete] Test runner exit code: -10 (Unable to create a user session).'
Any other suggestions?
Thanks,
Karthik K R
- tristaanogre7 years agoEsteemed Contributor
I don't know vmware slice so I can't necessarily say why it doesn't work for you. The assumption of the article is that there IS some sort of "console" capabilities in your VM environment... that's what the redirect code does. There are other articles involved in remote desktop stuff... go through and see what you can find.
Now... your error... that seems to indicate that you're running your tests using some sort of test management tool or CI tool like Jenkins? What tool are you using?- krkarthik_info7 years agoFrequent Contributor
I am using Jenkins CI tool to trigger test in my slice machine. I will have to figure out if my slice machine is having console capabilities.
Thanks,
Karthik K R
- baxatob7 years agoCommunity Hero
Hi,
How do you connect to your slice? If it's a Windows machine (otherwise you can't run TestComplete there) it should have both console and remote desktop.