visual studio 2015 Coded UI not finding controld

0

I am getting a COM exception when running Coded Ui tests on windows 10. Is there a specific dependency I need to provide for windows 10 in order to run coded UI?

Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException: The control is not available or not valid. ---> System.Windows.Automation.ElementNotAvailableException: Element not available ---> System.Runtime.InteropServices.COMException: Operation timed out. (Exception from HRESULT: 0x80131505)

c#
visual-studio-2015
windows-10
microsoft-test-manager

1 Answer

1

The reference for the namespace Microsoft.VisualStudio.TestTools is a little bit hidden.

You need to reference the DLL Microsoft.VisualStudio.QualityTools

answered on Stack Overflow Feb 23, 2017 by Jeremy Thompson

User contributions licensed under CC BY-SA 3.0