TC uses the mouse and keyboard events native to the operating system in order to interact with the UI of the application under test. Because of this, when a test case is running on a machine, you should not use that machine for any other tasks as, doing so, would cause the keyboard and mouse events to fail. This is a fundamental technological design for most UI based testing tools and it would require a MAJOR rework to do so. This is why the general recommendation is to use a VM for executing your test cases if you need to use your main machine for additional work.
This goes the same for any VM technology that uses your local machines resources for interacting with the VM. The solution is well documented in the help that you can start your tests on a VM from a console session OR, after starting the tests, redirect the output to the console before disconnecting. A locked desktop, whether a VM or a local machine, cannot interact with the UI.
Here is the documentation for the recommended method of working with a VM that you need to disconnect from after starting your tests. Try this.
https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/keeping-computer-unlocked.html
Related Content
- 2 years ago
- 13 years ago
- 4 years ago