Forum Discussion
If you leave the RDP session active, do the tests work properly?
Yeah.
If you are remoted in via RDP, and then kill the remote connection, it tends to break the tests and the session closing causes TC to lose access to the GUI.
Try VNC for remote viewing instead. You can drop in and out as you please without interfering with the user session and upsetting the test run.
- tonydugay10 years agoContributorYou can use this command from a command prompt (you may need to be administrator) when in your RDP session: tscon 0 /dest:console You may need to change 0 to the userID of your RDP session - find this using Task Manager and click the Users tab.
- aflyte10 years agoNew Contributor
If you see the linked article in my post, you can see that I'm performing the same command. The test will run properly for a few steps, but then seems to just operate on different objects which are different from the mapping. Have you tried this and had success?
- aflyte10 years agoNew Contributor
I'll try VNC, but if you see the linked article in my post, I'm actually disconnecting from the RDP session while leaving the server unlocked. This allows TestComplete access to the GUI while I'm disconnected. And, in fact, it is working for several steps of a GUI test when I do this, but then it seems to be clicking on random objects. When I run the tests while logged into RDP session, they run perfectly, so I thought it may be an issue with screen resolution or something like that.
Related Content
- 6 years ago
- 6 years ago
- 13 years ago
- 3 years ago
- 12 months ago
Recent Discussions
- 2 days ago