简体   繁体   中英

visual studio 2015 Coded UI not finding controld

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)

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

You need to reference the DLL Microsoft.VisualStudio.QualityTools

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM