Forum Discussion
tristaanogre
Esteemed Contributor
So, before you disconnect your VM, you need to transfer the session to the console. The way I do that is with a batch file so that when I run it, it redirects the session and then kicks off my tests.
for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do ( %windir%\System32\tscon.exe %%s /dest:console ) "C:\Program Files (x86)\SmartBear\TestExecute 12\Bin\TestExecute.exe" "my.PJS" /r /e /SilentMode
anjalirai13
7 years agoNew Contributor
As i said earlier I tried this way but it is not working. I referred this solution from the article already mentioned in my question.
- tristaanogre7 years agoEsteemed Contributor
Then something else is going on. The errors you are encountering are due, specifically, to the lack of a UI interface due to the VM workstation being locked after disconnecting from the RDP session. That is the direction to look. If you don't disconnect, do your tests run without error?
Related Content
Recent Discussions
- 3 days agoMW_Didata