TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

UITestException: Automation engine is unable to playback the test because it is not able to interact with the desktop.

August 9th, 2010 · No Comments · 14323, Team Foundation Build (TF Build), Troubleshooting TFS, VS Test Tools

You receive the following message as part of a build process that contains UI automation:

UITestException: Automation engine is unable to playback the test because it is not able to interact with the desktop.  This could happen if the computer running the test is locked or it’s remote session window is minimized."

Solution

  • If you are connected to the build server using Remote Desktop make sure the Windows is not minimized. Do not close or minimize the window. If you close the Remote Desktop window you disconnect from the session and the workstation will be locked, therefore interactive tests cannot be executed anymore.
    (If you enable autologin on the build server you need to restart in ordner to unlock the station once you finished working with Remote Desktop)
  • If you are not connected using Remote Desktop make sure that the session is not locked and the build account is logged on.
    (You can turn on autologin using the Autologon tool)

Tags:

No Comments so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment