Message - The operation cannot be performed, because the user session is disconnected.

Applies to TestComplete 15.63, last modified on April 23, 2024

You get this message if you are trying to run the test via Remote Desktop and the Desktop Connection session is disconnected. Typically, this message appears for the following reasons:

  • The Switch User command-line command was called. So, the session for the specified user was disconnected intentionally, and TestComplete will not be able to proceed with the test run.

  • The Remote Desktop Connection window was closed. You must not close this window while running the test. If you need, you can resize the window (make it smaller) or minimize it. However, if you close the window, the Remote Desktop session is disconnected, and TestComplete will not be able to proceed with the test run.

For more information on running tests via Remote Desktop, see About Running Tests via Remote Desktop.

See Also

Running Tests via Remote Desktop
About Running Tests via Remote Desktop
Smart Resizing of Remote Desktop Windows
Running Tests in Minimized Remote Desktop Windows

Highlight search results