<p>My initial tests have shown that Robot won't work without an active, visible desktop. For example, while a scheduled task (or executed command from the continuous integration server) may be able to start robot as a command-line process, Robot will actually fail to execute the recorded script.</p>

<p>Logging into the build machine to allow it an "active desktop" is not an acceptable solution.</p>

<p>Am I missing something? Is it possible to run a pre-recorded Rational Robot script on a continuous integration server in a manner that doesn't require the machine to be physically logged into?</p>

[{'answer_id': 63595, 'author': 'Patrick Cuff', 'author_id': 7903, 'author_profile': 'https://Stackoverflow.com/users/7903', 'pm_score': 0, 'selected': False, 'text': '<p>You can run Rational Robot from the command line, so you should be able to set up a scheduled task to run a .BAT file to do this for you. The command is something like:</p>\n\n<p>[path to Rational Robot]\\rtrobo [script file] /user "user name" /project [project file] /play /build "build name" /nolog /close</p>\n\n<p>The Robot documentation will have other arguments you can pass in, depending on your situation.</p>\n\n<p>If a simple scheduled task doesn\'t work, then you can try setting up a STAF (<a href="http://staf.sourceforge.net/index.php" rel="nofollow noreferrer">http://staf.sourceforge.net/index.php</a>) environment and create a job to run this.</p>\n\n<p>Good luck :)</p>\n'}, {'answer_id': 180508, 'author': 'Tom E', 'author_id': 9267, 'author_profile': 'https://Stackoverflow.com/users/9267', 'pm_score': 1, 'selected': False, 'text': '<p>Unfortunately, Robot does require that you are logged on to the machine and that the desktop is not locked.  </p>\n\n<p>So, no, you are not missing something.</p>\n\n<p>Depending on your situation, though, you may be able to work around the issue.  Can you clarify what type of application you are trying to test?  If it is a web app, or a client app that is easily installed/copied, you might be able to have Robot run on a vmware image, rather than directly on the build server itself.</p>\n'}]
['https://Stackoverflow.com/questions/62859', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/7160/']