Andrew
Andrew

Reputation: 6394

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

I am trying to run Coded UI tests and I get this message. This happens only if I disconnect from the remote session or I have it minimized.
I enabled autologon, the agent is running in interactive mode, disabled screen saver and lock screen but still not working.
What should I try next?

Upvotes: 2

Views: 1414

Answers (1)

You need to not connect visa remote desktop. Connect once and reboot the machine and do not connect.

Every time you RDP to the test box you need to reset it by rebooting.

Reason: The reason for this is that starting a remote desktop session suspends the local desktop session that the agent needs in order to run tests

Upvotes: 2

Related Questions