title: Automate tests on virtual machine without graphical session
body: <p><strong>Context :</strong> </p>
  
  <p>I execute automated GUI tests on virtual machines (there are few of them) on running on windows and using UFT/Ranorex, executions are piloted by Jenkins.</p>
  
  <p><strong>Problem:</strong> </p>
  
  <p>VM must have an active <strong>graphic</strong> session, otherwise, UFT won't run GUI tests (unable to launch browser) and Ranorex will run but poorly and without screenshots. i mean that in my tests, the VM is configured not to "sleep" or to have any screen saver, vm is connected with jenkins properly.
  The behavior is : i launch via Jenkins the test, one the build done inthe vm, automation tools start running but then finds difficulties to open browser.</p>
  
  <p>I would like to know if there is any workaround to run those tests without being needed to physically open VMware or Remote desktop Connection. 
  Notice that the VM is running all the time and the session is always open (we are using a server to host the VM).</p>
  
  <p>So the problem is: how to simulate in windows active graphical session. I guess it's like simulating that there is actually a screen connected even though there isn't... </p>
  
  <p>Any suggestions will be welcomed.</p>