Forum Discussion
6 Replies
- tristaanogreEsteemed Contributor
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- krkarthik_infoFrequent Contributor
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
- tristaanogreEsteemed 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?
Related Content
- 6 months agotarttdh
- 5 months agorohita
- 7 months agomengbinhao