I currently have aa script that works fine on my local environment and also on a co-workers local environment. The issue I'm having is when i build it and run it on the agent server i'm receiving the error
SearchProperties:
Name: Name Value: Application Manager
Name: ControlType Value: TreeItem
Exception: System.ArgumentException: No search information has been specified. To search for a control, you must specify one or more search properties or filter properties. Parameter name: SearchProperties at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.ValidateSearchProperties() at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.get_UIObject()......
Mouse double click on Wintree item
Mouse.DoubleClick(appManag);
Type of Application; - This is on windows application (MSAA) - The test did run at one point on the server agent but stop working and getting
this error for some unknown reason
What I've tried so far
Well if anyone has experience this and can point me in the right direction i'd greatly appreciate it. Thanks
Will
It looks like you're missing the UI Test Tools Assembly (Microsoft.VisualStudio.TestTools.UITesting.dll) on the agent.
Which version of Visual Studio do you have installed on the agent? According to this question you'll need VS2013 Premium or Ultimate or VS2015 Enterprise.
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.