title: Scheduled execution of Testcomplete fails
body: <p>With TestComplete 8 we have a script that is scheduled to start 06:00 every morning by this line:</p>
  
  <p>"C:\Program Files\Automated QA\TestComplete 8\Bin\TestComplete.exe" "C:\Attracs\TestComplete\Attracs\AttracsTEST\AttracsTESTProject.mds" /r /e /SilentMode</p>
  
  <p>The problem is that this often fails. The log remark says:
  An error occurred while calling the "Keys" method or property of the "TcxCustomInnerTextEdit" object.
  The object or one of its parent objects does not exist.</p>
  
  <p>If I connect to the computer with Remote Desktop and manually run the script it works fine.
  There is no screensaver active and the power scheme is set to never sleep.</p>
  
  <p>I have noticed that Testcomplete needs a handle to GUI (the screen is visible) or the script got this kind of errors. Could it be that when it starts it have no handle to the GUI components because they aren't visible ?</p>
  
  <p>From the helps <strong>Running Tests via Remote desktop</strong>:</p>
  
  <p><strong>However, if you minimize the Remote Desktop window (the window that display the remote computer’s desktop), the operating system switches the remote session to the GUI-less mode and does not display windows and controls. As a result, TestComplete (or TestExecute) is unable to interact with the tested application’s GUI, as the GUI does not actually exist in this case and your automated GUI test fails.</strong></p>
  
  <p><strong>To avoid this issue, you can keep the Remote Desktop window visible during the test run, but this may be inconvenient as it occupies some part or even your entire screen and leaves less space for you to run your local applications.</strong></p>
  
  <p>Any solution for this?</p>