Thursday, June 9, 2016

Faile execute test(s): Error calling Initialization method for test class




Hi.
Today  I want discuss short issue with execute codedUI test on test agent.
If you see this error:

Error calling Initialization method for test class ***: Microsoft.VisualStudio.TestTools.UITest.Extension.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.