I\'m attempting to automate Coded UI tests.
My test controller launches the tests on a remote test server, which I normally access via a Remote Desktop connection.
You can use VMware to run your coded ui tests. if you minimize the VM , test will still continue.
See this link for more details. http://www.binaryclips.com/2016/03/coded-ui-tests-executing-test-case.html